forked from shibao/cannery
update gettext schema and use macros for cannery app
This commit is contained in:
@ -343,7 +343,7 @@ msgstr ""
|
||||
msgid "Self-host your own instance, or use an instance from someone you trust."
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:10
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:9
|
||||
#: lib/cannery_web/controllers/user_settings_html/edit.html.heex:3
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Settings"
|
||||
@ -626,7 +626,7 @@ msgstr ""
|
||||
msgid "Rounds used"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_confirmation_controller.ex:8
|
||||
#: lib/cannery_web/controllers/user_confirmation_controller.ex:6
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Confirm your account"
|
||||
msgstr ""
|
||||
@ -641,7 +641,7 @@ msgstr ""
|
||||
msgid "Log in"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_controller.ex:32
|
||||
#: lib/cannery_web/controllers/user_registration_controller.ex:31
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Register"
|
||||
msgstr ""
|
||||
|
@ -21,7 +21,7 @@ msgstr ""
|
||||
## 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.
|
||||
#: lib/cannery/containers.ex:224
|
||||
#: lib/cannery/containers.ex:222
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Container must be empty before deleting"
|
||||
msgstr ""
|
||||
@ -37,7 +37,7 @@ msgstr ""
|
||||
msgid "Could not find that container"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:84
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:83
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Email change link is invalid or it has expired."
|
||||
msgstr ""
|
||||
@ -78,20 +78,20 @@ msgstr ""
|
||||
msgid "Reset password link is invalid or it has expired."
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_controller.ex:22
|
||||
#: lib/cannery_web/controllers/user_registration_controller.ex:51
|
||||
#: lib/cannery_web/controllers/user_registration_controller.ex:21
|
||||
#: lib/cannery_web/controllers/user_registration_controller.ex:50
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Sorry, public registration is disabled"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_controller.ex:12
|
||||
#: lib/cannery_web/controllers/user_registration_controller.ex:41
|
||||
#: lib/cannery_web/controllers/user_registration_controller.ex:70
|
||||
#: lib/cannery_web/controllers/user_registration_controller.ex:11
|
||||
#: lib/cannery_web/controllers/user_registration_controller.ex:40
|
||||
#: lib/cannery_web/controllers/user_registration_controller.ex:69
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Sorry, this invite was not found or expired"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:99
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:98
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Unable to delete user"
|
||||
msgstr ""
|
||||
@ -102,7 +102,7 @@ msgstr ""
|
||||
msgid "Unauthorized"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_confirmation_controller.ex:53
|
||||
#: lib/cannery_web/controllers/user_confirmation_controller.ex:51
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "User confirmation link is invalid or it has expired."
|
||||
msgstr ""
|
||||
@ -112,22 +112,22 @@ msgstr ""
|
||||
msgid "You are not authorized to view this page."
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/accounts/user.ex:145
|
||||
#: lib/cannery/accounts/user.ex:140
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "did not change"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/accounts/user.ex:166
|
||||
#: lib/cannery/accounts/user.ex:161
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "does not match password"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/accounts/user.ex:203
|
||||
#: lib/cannery/accounts/user.ex:198
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "is not valid"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/accounts/user.ex:100
|
||||
#: lib/cannery/accounts/user.ex:95
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "must have the @ sign and no spaces"
|
||||
msgstr ""
|
||||
@ -158,7 +158,7 @@ msgstr ""
|
||||
msgid "Could not parse number of copies"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/ammo.ex:1028
|
||||
#: lib/cannery/ammo.ex:1026
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Invalid number of copies, must be between 1 and %{max}. Was %{multiplier}"
|
||||
msgstr ""
|
||||
@ -168,27 +168,27 @@ msgstr ""
|
||||
msgid "Your browser does not support the canvas element."
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/activity_log/shot_record.ex:74
|
||||
#: lib/cannery/activity_log/shot_record.ex:71
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Please select a valid user and ammo pack"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/activity_log/shot_record.ex:88
|
||||
#: lib/cannery/activity_log/shot_record.ex:85
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Ammo left can be at most %{count} rounds"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/activity_log/shot_record.ex:84
|
||||
#: lib/cannery/activity_log/shot_record.ex:81
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Ammo left must be at least 0"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/activity_log/shot_record.ex:119
|
||||
#: lib/cannery/activity_log/shot_record.ex:116
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Count can be at most %{count} shots"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/activity_log/shot_record.ex:80
|
||||
#: lib/cannery/activity_log/shot_record.ex:77
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "can't be blank"
|
||||
msgstr ""
|
||||
@ -209,12 +209,12 @@ msgstr ""
|
||||
msgid "You must log in to access this page."
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/ammo/pack.ex:104
|
||||
#: lib/cannery/ammo/pack.ex:98
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Please select a valid container"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery/ammo/pack.ex:102
|
||||
#: lib/cannery/ammo/pack.ex:96
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Please select a valid type"
|
||||
msgstr ""
|
||||
|
@ -50,7 +50,7 @@ msgstr ""
|
||||
msgid "%{name} updated successfully"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:29
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:28
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "A link to confirm your email change has been sent to the new address."
|
||||
msgstr ""
|
||||
@ -85,12 +85,12 @@ msgstr ""
|
||||
msgid "Are you sure you want to log out?"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:77
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:76
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Email changed successfully."
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_confirmation_controller.ex:23
|
||||
#: lib/cannery_web/controllers/user_confirmation_controller.ex:21
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "If your email is in our system and it has not been confirmed yet, you will receive an email with instructions shortly."
|
||||
msgstr ""
|
||||
@ -110,12 +110,12 @@ msgstr ""
|
||||
msgid "Password reset successfully."
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:49
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:48
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Password updated successfully."
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_registration_controller.ex:65
|
||||
#: lib/cannery_web/controllers/user_registration_controller.ex:64
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Please check your email to verify your account"
|
||||
msgstr ""
|
||||
@ -131,7 +131,7 @@ msgstr ""
|
||||
msgid "Saving..."
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:95
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:94
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Your account has been deleted"
|
||||
msgstr ""
|
||||
@ -183,7 +183,7 @@ msgstr ""
|
||||
msgid "Shot records updated successfully"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_confirmation_controller.ex:37
|
||||
#: lib/cannery_web/controllers/user_confirmation_controller.ex:35
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "%{email} confirmed successfully."
|
||||
msgstr ""
|
||||
@ -219,7 +219,7 @@ msgstr ""
|
||||
msgid "Are you sure you want to change your language?"
|
||||
msgstr ""
|
||||
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:65
|
||||
#: lib/cannery_web/controllers/user_settings_controller.ex:64
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Language updated successfully."
|
||||
msgstr ""
|
||||
|
Reference in New Issue
Block a user