⚙️ Task
Task Description
What
Migrate the translation status string constants in integreat_cms/cms/constants/translation_status.py to a proper Python enum.
Why
Currently these are plain Final string constants ("stringly typed"). An enum would make states mutually exclusive by type, aid in catching errors when new states are added, and enable exhaustive matching. Raised during review of #4504.
Task Category
♻️ Tech Debt — Addressing accumulated shortcuts
Steps / Implementation Plan
Acceptance Criteria
Parent / Related Issues
⚙️ Task
Task Description
What
Migrate the translation status string constants in
integreat_cms/cms/constants/translation_status.pyto a proper Python enum.Why
Currently these are plain
Finalstring constants ("stringly typed"). An enum would make states mutually exclusive by type, aid in catching errors when new states are added, and enable exhaustive matching. Raised during review of #4504.Task Category
♻️ Tech Debt — Addressing accumulated shortcuts
Steps / Implementation Plan
translation_status.pyto aStrEnumor similarAcceptance Criteria
Parent / Related Issues