|
|
cfb60cd186
|
feat: implement gettext infrastructure (Phase 1)
- Create domain-specific .pot template files (auth, equipment, admin, emails)
- Create corresponding English .po files for all domains
- Add GettextHelpers module with domain-specific helper functions:
* t() for default domain (common UI)
* t_auth() for authentication flows
* t_equipment() for equipment/device management
* t_admin() for admin features
* t_email() for email templates
- Import GettextHelpers in html_helpers() for automatic availability in LiveViews/components
- Add mix populate_english task to auto-fill English translations (msgstr = msgid)
- Task properly handles plural forms and multi-line strings
Phase 1 complete - infrastructure ready for module-by-module migration.
|
2026-02-02 09:40:32 -06:00 |
|