- 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.
15 lines
494 B
Text
15 lines
494 B
Text
## This file is a PO Template file.
|
|
##
|
|
## `msgid`s here are often extracted from source code.
|
|
## Add new translations manually only if they're dynamic
|
|
## translations that can't be statically extracted.
|
|
##
|
|
## Run `mix gettext.extract` to bring this file up to
|
|
## date. Leave `msgstr`s empty as changing them here has no
|
|
## effect: edit them in PO (.po) files instead.
|
|
##
|
|
## Domain: admin
|
|
## Purpose: Admin-specific features, impersonation, GeoIP, audit logs
|
|
msgid ""
|
|
msgstr ""
|
|
"Language: en\n"
|