The code was moved to a separate module, `ArchWindowPresets.py`, in 4f203f8757, but the `translate` function was not imported in this new module.