Text this: Unified treatment of the Krätzel transformation for generalized functions