diff --git a/CHANGELOG.md b/CHANGELOG.md index a6b9796..ad3b76a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ - Tweak urls for catalog, ammo, containers, tags and shot records - Fix bug with shot group chart not drawing lines between days correctly - Improve cards across app (make them line up with each other) -- Update translations (thank you Brea!) +- Update translations and add spanish!!! (thank you Brea!) # v0.7.2 - Code improvements diff --git a/lib/cannery_web/templates/user_settings/edit.html.heex b/lib/cannery_web/templates/user_settings/edit.html.heex index 687cadf..f4e9b25 100644 --- a/lib/cannery_web/templates/user_settings/edit.html.heex +++ b/lib/cannery_web/templates/user_settings/edit.html.heex @@ -126,7 +126,12 @@ <%= select( f, :locale, - [{gettext("English"), "en_US"}, {gettext("German"), "de"}, {gettext("French"), "fr"}], + [ + {gettext("English"), "en_US"}, + {gettext("German"), "de"}, + {gettext("French"), "fr"}, + {gettext("Spanish"), "es"} + ], class: "mx-2 my-1 min-w-md input input-primary" ) %> <%= error_tag(f, :locale) %> diff --git a/priv/gettext/actions.pot b/priv/gettext/actions.pot index 5d0cce3..609bd17 100644 --- a/priv/gettext/actions.pot +++ b/priv/gettext/actions.pot @@ -49,7 +49,7 @@ msgstr "" msgid "Create Invite" msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:157 +#: lib/cannery_web/templates/user_settings/edit.html.heex:162 #, elixir-autogen, elixir-format msgid "Delete User" msgstr "" @@ -198,7 +198,7 @@ msgstr "" msgid "Change Language" msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:134 +#: lib/cannery_web/templates/user_settings/edit.html.heex:139 #, elixir-autogen, elixir-format msgid "Change language" msgstr "" @@ -245,7 +245,7 @@ msgstr "" msgid "Unstage from range" msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:148 +#: lib/cannery_web/templates/user_settings/edit.html.heex:153 #, elixir-autogen, elixir-format msgid "Export Data as JSON" msgstr "" diff --git a/priv/gettext/de/LC_MESSAGES/actions.po b/priv/gettext/de/LC_MESSAGES/actions.po index 0343717..5af7a1f 100644 --- a/priv/gettext/de/LC_MESSAGES/actions.po +++ b/priv/gettext/de/LC_MESSAGES/actions.po @@ -62,7 +62,7 @@ msgstr "Passwort ändern" msgid "Create Invite" msgstr "Einladung erstellen" -#: lib/cannery_web/templates/user_settings/edit.html.heex:157 +#: lib/cannery_web/templates/user_settings/edit.html.heex:162 #, elixir-autogen, elixir-format msgid "Delete User" msgstr "Benutzer löschen" @@ -211,7 +211,7 @@ msgstr "Erstellen" msgid "Change Language" msgstr "Sprache wechseln" -#: lib/cannery_web/templates/user_settings/edit.html.heex:134 +#: lib/cannery_web/templates/user_settings/edit.html.heex:139 #, elixir-autogen, elixir-format msgid "Change language" msgstr "Sprache wechseln" @@ -258,7 +258,7 @@ msgstr "" msgid "Unstage from range" msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:148 +#: lib/cannery_web/templates/user_settings/edit.html.heex:153 #, elixir-autogen, elixir-format msgid "Export Data as JSON" msgstr "" diff --git a/priv/gettext/de/LC_MESSAGES/default.po b/priv/gettext/de/LC_MESSAGES/default.po index a2d3e7a..987d2ef 100644 --- a/priv/gettext/de/LC_MESSAGES/default.po +++ b/priv/gettext/de/LC_MESSAGES/default.po @@ -745,19 +745,19 @@ msgid "User registered on" msgstr "Benutzer registriert am" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:130 #, elixir-autogen, elixir-format msgid "English" msgstr "Englisch" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:132 #, elixir-autogen, elixir-format msgid "French" msgstr "Französisch" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:131 #, elixir-autogen, elixir-format msgid "German" msgstr "Deutsch" @@ -1146,3 +1146,8 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Search shot records" msgstr "" + +#: lib/cannery_web/templates/user_settings/edit.html.heex:133 +#, elixir-autogen, elixir-format +msgid "Spanish" +msgstr "" diff --git a/priv/gettext/de/LC_MESSAGES/prompts.po b/priv/gettext/de/LC_MESSAGES/prompts.po index 1ab8995..837661e 100644 --- a/priv/gettext/de/LC_MESSAGES/prompts.po +++ b/priv/gettext/de/LC_MESSAGES/prompts.po @@ -101,7 +101,7 @@ msgstr "Sind Sie sicher, dass sie die Einladung für %{name} löschen möchten?" msgid "Are you sure you want to delete this ammo?" msgstr "Sind Sie sicher, dass sie diese Munition löschen möchten?" -#: lib/cannery_web/templates/user_settings/edit.html.heex:155 +#: lib/cannery_web/templates/user_settings/edit.html.heex:160 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete your account?" msgstr "Sind Sie sicher, dass sie Ihren Account löschen möchten?" @@ -256,7 +256,7 @@ msgstr "Sie müssen" msgid "Creating..." msgstr "Erstellen..." -#: lib/cannery_web/templates/user_settings/edit.html.heex:136 +#: lib/cannery_web/templates/user_settings/edit.html.heex:141 #, elixir-autogen, elixir-format msgid "Are you sure you want to change your language?" msgstr "Möchten Sie die Sprache wechseln?" diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index bfb10bb..a7a9adc 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -728,19 +728,19 @@ msgid "User registered on" msgstr "" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:130 #, elixir-autogen, elixir-format msgid "English" msgstr "" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:132 #, elixir-autogen, elixir-format msgid "French" msgstr "" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:131 #, elixir-autogen, elixir-format msgid "German" msgstr "" @@ -1129,3 +1129,8 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Search shot records" msgstr "" + +#: lib/cannery_web/templates/user_settings/edit.html.heex:133 +#, elixir-autogen, elixir-format +msgid "Spanish" +msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/actions.po b/priv/gettext/en/LC_MESSAGES/actions.po index 5acec67..712ec16 100644 --- a/priv/gettext/en/LC_MESSAGES/actions.po +++ b/priv/gettext/en/LC_MESSAGES/actions.po @@ -50,7 +50,7 @@ msgstr "" msgid "Create Invite" msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:157 +#: lib/cannery_web/templates/user_settings/edit.html.heex:162 #, elixir-autogen, elixir-format msgid "Delete User" msgstr "" @@ -199,7 +199,7 @@ msgstr "" msgid "Change Language" msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:134 +#: lib/cannery_web/templates/user_settings/edit.html.heex:139 #, elixir-autogen, elixir-format msgid "Change language" msgstr "" @@ -246,7 +246,7 @@ msgstr "" msgid "Unstage from range" msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:148 +#: lib/cannery_web/templates/user_settings/edit.html.heex:153 #, elixir-autogen, elixir-format msgid "Export Data as JSON" msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po index f7a3eab..d4339a0 100644 --- a/priv/gettext/en/LC_MESSAGES/default.po +++ b/priv/gettext/en/LC_MESSAGES/default.po @@ -729,19 +729,19 @@ msgid "User registered on" msgstr "" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:130 #, elixir-autogen, elixir-format msgid "English" msgstr "" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:132 #, elixir-autogen, elixir-format msgid "French" msgstr "" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:131 #, elixir-autogen, elixir-format msgid "German" msgstr "" @@ -1130,3 +1130,8 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Search shot records" msgstr "" + +#: lib/cannery_web/templates/user_settings/edit.html.heex:133 +#, elixir-autogen, elixir-format +msgid "Spanish" +msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/prompts.po b/priv/gettext/en/LC_MESSAGES/prompts.po index 311e563..fead90b 100644 --- a/priv/gettext/en/LC_MESSAGES/prompts.po +++ b/priv/gettext/en/LC_MESSAGES/prompts.po @@ -87,7 +87,7 @@ msgstr "" msgid "Are you sure you want to delete this ammo?" msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:155 +#: lib/cannery_web/templates/user_settings/edit.html.heex:160 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete your account?" msgstr "" @@ -236,7 +236,7 @@ msgstr "" msgid "Creating..." msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:136 +#: lib/cannery_web/templates/user_settings/edit.html.heex:141 #, elixir-autogen, elixir-format msgid "Are you sure you want to change your language?" msgstr "" diff --git a/priv/gettext/es/LC_MESSAGES/actions.po b/priv/gettext/es/LC_MESSAGES/actions.po index 9ff27d2..333f867 100644 --- a/priv/gettext/es/LC_MESSAGES/actions.po +++ b/priv/gettext/es/LC_MESSAGES/actions.po @@ -62,7 +62,7 @@ msgstr "Cambiar contraseña" msgid "Create Invite" msgstr "Crear Invitación" -#: lib/cannery_web/templates/user_settings/edit.html.heex:157 +#: lib/cannery_web/templates/user_settings/edit.html.heex:162 #, elixir-autogen, elixir-format msgid "Delete User" msgstr "Eliminar cuenta de Usuario" @@ -211,7 +211,7 @@ msgstr "Crear" msgid "Change Language" msgstr "Cambiar Lenguaje" -#: lib/cannery_web/templates/user_settings/edit.html.heex:134 +#: lib/cannery_web/templates/user_settings/edit.html.heex:139 #, elixir-autogen, elixir-format msgid "Change language" msgstr "Cambiar lenguaje" @@ -258,7 +258,7 @@ msgstr "Preparar para el campo de tiro" msgid "Unstage from range" msgstr "Desmontar del campo de tiro" -#: lib/cannery_web/templates/user_settings/edit.html.heex:148 +#: lib/cannery_web/templates/user_settings/edit.html.heex:153 #, elixir-autogen, elixir-format msgid "Export Data as JSON" msgstr "Exportar datos como JSON" diff --git a/priv/gettext/es/LC_MESSAGES/default.po b/priv/gettext/es/LC_MESSAGES/default.po index 406347e..89e39aa 100644 --- a/priv/gettext/es/LC_MESSAGES/default.po +++ b/priv/gettext/es/LC_MESSAGES/default.po @@ -746,19 +746,19 @@ msgid "User registered on" msgstr "Usuario registrado en" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:130 #, elixir-autogen, elixir-format msgid "English" msgstr "Inglés" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:132 #, elixir-autogen, elixir-format msgid "French" msgstr "Francés" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:131 #, elixir-autogen, elixir-format msgid "German" msgstr "Alemán" @@ -1148,3 +1148,8 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Search shot records" msgstr "" + +#: lib/cannery_web/templates/user_settings/edit.html.heex:133 +#, elixir-autogen, elixir-format +msgid "Spanish" +msgstr "" diff --git a/priv/gettext/es/LC_MESSAGES/prompts.po b/priv/gettext/es/LC_MESSAGES/prompts.po index e8c2175..717f840 100644 --- a/priv/gettext/es/LC_MESSAGES/prompts.po +++ b/priv/gettext/es/LC_MESSAGES/prompts.po @@ -101,7 +101,7 @@ msgstr "Está seguro que quiere eliminar la invitación para %{name}?" msgid "Are you sure you want to delete this ammo?" msgstr "Está seguro que desea eliminar esta munición?" -#: lib/cannery_web/templates/user_settings/edit.html.heex:155 +#: lib/cannery_web/templates/user_settings/edit.html.heex:160 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete your account?" msgstr "Está seguro que desea eliminar su cuenta?" @@ -255,7 +255,7 @@ msgstr "Necesitará hacerlo" msgid "Creating..." msgstr "Creando..." -#: lib/cannery_web/templates/user_settings/edit.html.heex:136 +#: lib/cannery_web/templates/user_settings/edit.html.heex:141 #, elixir-autogen, elixir-format msgid "Are you sure you want to change your language?" msgstr "¿Está segure de que quiere cambiar el idioma?" diff --git a/priv/gettext/fr/LC_MESSAGES/actions.po b/priv/gettext/fr/LC_MESSAGES/actions.po index 43d28f3..ac50001 100644 --- a/priv/gettext/fr/LC_MESSAGES/actions.po +++ b/priv/gettext/fr/LC_MESSAGES/actions.po @@ -62,7 +62,7 @@ msgstr "Changer le mot de passe" msgid "Create Invite" msgstr "Créer une invitation" -#: lib/cannery_web/templates/user_settings/edit.html.heex:157 +#: lib/cannery_web/templates/user_settings/edit.html.heex:162 #, elixir-autogen, elixir-format msgid "Delete User" msgstr "Supprimer utilisateur" @@ -211,7 +211,7 @@ msgstr "Créer" msgid "Change Language" msgstr "Changer la langue" -#: lib/cannery_web/templates/user_settings/edit.html.heex:134 +#: lib/cannery_web/templates/user_settings/edit.html.heex:139 #, elixir-autogen, elixir-format msgid "Change language" msgstr "Changer la langue" @@ -258,7 +258,7 @@ msgstr "" msgid "Unstage from range" msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:148 +#: lib/cannery_web/templates/user_settings/edit.html.heex:153 #, elixir-autogen, elixir-format msgid "Export Data as JSON" msgstr "" diff --git a/priv/gettext/fr/LC_MESSAGES/default.po b/priv/gettext/fr/LC_MESSAGES/default.po index 7ebe214..4a54f79 100644 --- a/priv/gettext/fr/LC_MESSAGES/default.po +++ b/priv/gettext/fr/LC_MESSAGES/default.po @@ -747,19 +747,19 @@ msgid "User registered on" msgstr "Utilisateur·ice enregistré·e le" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:130 #, elixir-autogen, elixir-format msgid "English" msgstr "Anglais" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:132 #, elixir-autogen, elixir-format msgid "French" msgstr "Français" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:131 #, elixir-autogen, elixir-format msgid "German" msgstr "Allemand" @@ -1149,3 +1149,8 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Search shot records" msgstr "" + +#: lib/cannery_web/templates/user_settings/edit.html.heex:133 +#, elixir-autogen, elixir-format +msgid "Spanish" +msgstr "" diff --git a/priv/gettext/fr/LC_MESSAGES/prompts.po b/priv/gettext/fr/LC_MESSAGES/prompts.po index 47a8995..6c9eece 100644 --- a/priv/gettext/fr/LC_MESSAGES/prompts.po +++ b/priv/gettext/fr/LC_MESSAGES/prompts.po @@ -102,7 +102,7 @@ msgstr "Êtes-vous certain·e de supprimer l’invitation pour %{name} ?" msgid "Are you sure you want to delete this ammo?" msgstr "Êtes-vous certain·e de supprimer cette munition ?" -#: lib/cannery_web/templates/user_settings/edit.html.heex:155 +#: lib/cannery_web/templates/user_settings/edit.html.heex:160 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete your account?" msgstr "Êtes-vous certain·e de supprimer votre compte ?" @@ -257,7 +257,7 @@ msgstr "Vous aurez besoin de" msgid "Creating..." msgstr "Création en cours…" -#: lib/cannery_web/templates/user_settings/edit.html.heex:136 +#: lib/cannery_web/templates/user_settings/edit.html.heex:141 #, elixir-autogen, elixir-format msgid "Are you sure you want to change your language?" msgstr "Êtes-vous certain·e de vouloir changer votre langue ?" diff --git a/priv/gettext/ga/LC_MESSAGES/actions.po b/priv/gettext/ga/LC_MESSAGES/actions.po index 81ac975..6441018 100644 --- a/priv/gettext/ga/LC_MESSAGES/actions.po +++ b/priv/gettext/ga/LC_MESSAGES/actions.po @@ -60,7 +60,7 @@ msgstr "" msgid "Create Invite" msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:157 +#: lib/cannery_web/templates/user_settings/edit.html.heex:162 #, elixir-autogen, elixir-format msgid "Delete User" msgstr "" @@ -209,7 +209,7 @@ msgstr "" msgid "Change Language" msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:134 +#: lib/cannery_web/templates/user_settings/edit.html.heex:139 #, elixir-autogen, elixir-format msgid "Change language" msgstr "" @@ -256,7 +256,7 @@ msgstr "" msgid "Unstage from range" msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:148 +#: lib/cannery_web/templates/user_settings/edit.html.heex:153 #, elixir-autogen, elixir-format msgid "Export Data as JSON" msgstr "" diff --git a/priv/gettext/ga/LC_MESSAGES/default.po b/priv/gettext/ga/LC_MESSAGES/default.po index 0d8b8a2..c396a82 100644 --- a/priv/gettext/ga/LC_MESSAGES/default.po +++ b/priv/gettext/ga/LC_MESSAGES/default.po @@ -739,19 +739,19 @@ msgid "User registered on" msgstr "" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:130 #, elixir-autogen, elixir-format msgid "English" msgstr "" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:132 #, elixir-autogen, elixir-format msgid "French" msgstr "" #: lib/cannery_web/templates/user_registration/new.html.heex:37 -#: lib/cannery_web/templates/user_settings/edit.html.heex:129 +#: lib/cannery_web/templates/user_settings/edit.html.heex:131 #, elixir-autogen, elixir-format msgid "German" msgstr "" @@ -1140,3 +1140,8 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Search shot records" msgstr "" + +#: lib/cannery_web/templates/user_settings/edit.html.heex:133 +#, elixir-autogen, elixir-format +msgid "Spanish" +msgstr "" diff --git a/priv/gettext/ga/LC_MESSAGES/prompts.po b/priv/gettext/ga/LC_MESSAGES/prompts.po index ed2eef7..2261d99 100644 --- a/priv/gettext/ga/LC_MESSAGES/prompts.po +++ b/priv/gettext/ga/LC_MESSAGES/prompts.po @@ -97,7 +97,7 @@ msgstr "" msgid "Are you sure you want to delete this ammo?" msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:155 +#: lib/cannery_web/templates/user_settings/edit.html.heex:160 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete your account?" msgstr "" @@ -246,7 +246,7 @@ msgstr "" msgid "Creating..." msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:136 +#: lib/cannery_web/templates/user_settings/edit.html.heex:141 #, elixir-autogen, elixir-format msgid "Are you sure you want to change your language?" msgstr "" diff --git a/priv/gettext/prompts.pot b/priv/gettext/prompts.pot index 717c048..12d749f 100644 --- a/priv/gettext/prompts.pot +++ b/priv/gettext/prompts.pot @@ -86,7 +86,7 @@ msgstr "" msgid "Are you sure you want to delete this ammo?" msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:155 +#: lib/cannery_web/templates/user_settings/edit.html.heex:160 #, elixir-autogen, elixir-format msgid "Are you sure you want to delete your account?" msgstr "" @@ -235,7 +235,7 @@ msgstr "" msgid "Creating..." msgstr "" -#: lib/cannery_web/templates/user_settings/edit.html.heex:136 +#: lib/cannery_web/templates/user_settings/edit.html.heex:141 #, elixir-autogen, elixir-format msgid "Are you sure you want to change your language?" msgstr ""