towerops/lib/towerops_web
Graham McIntire 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
..
channels Mikrotik backup and gettext start 2026-02-02 09:11:22 -06:00
components paginate audit logs 2026-02-01 13:27:56 -06:00
controllers Replace single name field with first_name and last_name 2026-02-01 15:00:23 -06:00
helpers Mikrotik backup and gettext start 2026-02-02 09:11:22 -06:00
live Mikrotik backup and gettext start 2026-02-02 09:11:22 -06:00
plugs Add rate limiting to auth and API endpoints using Hammer 2026-02-01 14:59:54 -06:00
endpoint.ex Move CaptureTimezone plug to browser pipeline 2026-02-01 11:15:51 -06:00
gettext.ex init 2025-12-21 11:10:43 -06:00
gettext_helpers.ex feat: implement gettext infrastructure (Phase 1) 2026-02-02 09:40:32 -06:00
router.ex Mikrotik backup and gettext start 2026-02-02 09:11:22 -06:00
telemetry.ex fix: add Oban config to dev.exs and replace Exq telemetry with Oban 2026-01-24 16:39:45 -06:00
user_auth.ex feat: update UserAuth to redirect to sudo verify page 2026-02-01 14:58:07 -06:00