Migrates all admin-related flash messages to gettext for internationalization: - Admin.UserLive.Index: user deletion messages - Admin.OrgLive.Index: organization deletion messages - UserAuth: impersonation start/stop messages Adds Gettext backend and helpers import to UserAuth module to support translations. All admin and auth tests passing (87 tests).
50 lines
1.3 KiB
Text
50 lines
1.3 KiB
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"
|
|
|
|
#: lib/towerops_web/live/admin/org_live/index.ex:33
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Failed to delete organization"
|
|
msgstr ""
|
|
|
|
#: lib/towerops_web/live/admin/user_live/index.ex:57
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Failed to delete user"
|
|
msgstr ""
|
|
|
|
#: lib/towerops_web/user_auth.ex:859
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Now impersonating %{email}"
|
|
msgstr ""
|
|
|
|
#: lib/towerops_web/live/admin/org_live/index.ex:29
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Organization deleted successfully"
|
|
msgstr ""
|
|
|
|
#: lib/towerops_web/user_auth.ex:899
|
|
#, elixir-autogen, elixir-format
|
|
msgid "Stopped impersonating"
|
|
msgstr ""
|
|
|
|
#: lib/towerops_web/live/admin/user_live/index.ex:53
|
|
#, elixir-autogen, elixir-format
|
|
msgid "User deleted successfully"
|
|
msgstr ""
|
|
|
|
#: lib/towerops_web/user_auth.ex:837
|
|
#, elixir-autogen, elixir-format
|
|
msgid "You cannot impersonate yourself."
|
|
msgstr ""
|