From 6f50702b111b92fb5457cea195004974d05ae0e1 Mon Sep 17 00:00:00 2001 From: shibao Date: Thu, 30 Mar 2023 20:44:41 -0400 Subject: [PATCH] rename shot group files to shot record --- .../{shot_group.ex => shot_record.ex} | 0 ...ponent.ex => add_shot_record_component.ex} | 0 ...ex => add_shot_record_component.html.heex} | 0 ...nent.ex => shot_record_table_component.ex} | 0 priv/gettext/actions.pot | 1 + priv/gettext/de/LC_MESSAGES/actions.po | 1 + priv/gettext/de/LC_MESSAGES/default.po | 25 +++++++++++++++---- priv/gettext/de/LC_MESSAGES/errors.po | 10 ++++---- priv/gettext/de/LC_MESSAGES/prompts.po | 3 ++- priv/gettext/default.pot | 25 +++++++++++++++---- priv/gettext/en/LC_MESSAGES/actions.po | 1 + priv/gettext/en/LC_MESSAGES/default.po | 25 +++++++++++++++---- priv/gettext/en/LC_MESSAGES/errors.po | 10 ++++---- priv/gettext/en/LC_MESSAGES/prompts.po | 3 ++- priv/gettext/errors.pot | 10 ++++---- priv/gettext/es/LC_MESSAGES/actions.po | 1 + priv/gettext/es/LC_MESSAGES/default.po | 25 +++++++++++++++---- priv/gettext/es/LC_MESSAGES/errors.po | 10 ++++---- priv/gettext/es/LC_MESSAGES/prompts.po | 3 ++- priv/gettext/fr/LC_MESSAGES/actions.po | 1 + priv/gettext/fr/LC_MESSAGES/default.po | 25 +++++++++++++++---- priv/gettext/fr/LC_MESSAGES/errors.po | 10 ++++---- priv/gettext/fr/LC_MESSAGES/prompts.po | 3 ++- priv/gettext/ga/LC_MESSAGES/actions.po | 1 + priv/gettext/ga/LC_MESSAGES/default.po | 25 +++++++++++++++---- priv/gettext/ga/LC_MESSAGES/errors.po | 10 ++++---- priv/gettext/ga/LC_MESSAGES/prompts.po | 3 ++- priv/gettext/prompts.pot | 3 ++- 28 files changed, 168 insertions(+), 66 deletions(-) rename lib/cannery/activity_log/{shot_group.ex => shot_record.ex} (100%) rename lib/cannery_web/components/{add_shot_group_component.ex => add_shot_record_component.ex} (100%) rename lib/cannery_web/components/{add_shot_group_component.html.heex => add_shot_record_component.html.heex} (100%) rename lib/cannery_web/components/{shot_group_table_component.ex => shot_record_table_component.ex} (100%) diff --git a/lib/cannery/activity_log/shot_group.ex b/lib/cannery/activity_log/shot_record.ex similarity index 100% rename from lib/cannery/activity_log/shot_group.ex rename to lib/cannery/activity_log/shot_record.ex diff --git a/lib/cannery_web/components/add_shot_group_component.ex b/lib/cannery_web/components/add_shot_record_component.ex similarity index 100% rename from lib/cannery_web/components/add_shot_group_component.ex rename to lib/cannery_web/components/add_shot_record_component.ex diff --git a/lib/cannery_web/components/add_shot_group_component.html.heex b/lib/cannery_web/components/add_shot_record_component.html.heex similarity index 100% rename from lib/cannery_web/components/add_shot_group_component.html.heex rename to lib/cannery_web/components/add_shot_record_component.html.heex diff --git a/lib/cannery_web/components/shot_group_table_component.ex b/lib/cannery_web/components/shot_record_table_component.ex similarity index 100% rename from lib/cannery_web/components/shot_group_table_component.ex rename to lib/cannery_web/components/shot_record_table_component.ex diff --git a/priv/gettext/actions.pot b/priv/gettext/actions.pot index 0cbb05f7..00bc32a2 100644 --- a/priv/gettext/actions.pot +++ b/priv/gettext/actions.pot @@ -120,6 +120,7 @@ msgstr "" msgid "Reset password" msgstr "" +#: lib/cannery_web/components/add_shot_record_component.html.heex:57 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:350 #: lib/cannery_web/live/container_live/form_component.html.heex:57 #: lib/cannery_web/live/invite_live/form_component.html.heex:35 diff --git a/priv/gettext/de/LC_MESSAGES/actions.po b/priv/gettext/de/LC_MESSAGES/actions.po index c7f555aa..f3036d96 100644 --- a/priv/gettext/de/LC_MESSAGES/actions.po +++ b/priv/gettext/de/LC_MESSAGES/actions.po @@ -133,6 +133,7 @@ msgstr "Bestätigungsmail erneut senden" msgid "Reset password" msgstr "Passwort zurücksetzen" +#: lib/cannery_web/components/add_shot_record_component.html.heex:57 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:350 #: lib/cannery_web/live/container_live/form_component.html.heex:57 #: lib/cannery_web/live/invite_live/form_component.html.heex:35 diff --git a/priv/gettext/de/LC_MESSAGES/default.po b/priv/gettext/de/LC_MESSAGES/default.po index 57f1c594..3935e837 100644 --- a/priv/gettext/de/LC_MESSAGES/default.po +++ b/priv/gettext/de/LC_MESSAGES/default.po @@ -30,7 +30,7 @@ msgid "Admins:" msgstr "Admins:" #: lib/cannery_web/components/core_components/topbar.html.heex:58 -#: lib/cannery_web/components/shot_group_table_component.ex:44 +#: lib/cannery_web/components/shot_record_table_component.ex:44 #: lib/cannery_web/live/pack_live/index.ex:75 #: lib/cannery_web/live/pack_live/index.ex:84 #: lib/cannery_web/live/pack_live/index.html.heex:3 @@ -290,7 +290,8 @@ msgstr "Keine Einladung" msgid "No tags" msgstr "Keine Tags" -#: lib/cannery_web/components/shot_group_table_component.ex:46 +#: lib/cannery_web/components/add_shot_record_component.html.heex:38 +#: lib/cannery_web/components/shot_record_table_component.ex:46 #: lib/cannery_web/live/pack_live/form_component.html.heex:50 #: lib/cannery_web/live/pack_live/show.ex:91 #: lib/cannery_web/live/range_live/form_component.html.heex:30 @@ -444,7 +445,8 @@ msgstr "Schießplatz" msgid "Range day" msgstr "Range Day" -#: lib/cannery_web/components/shot_group_table_component.ex:47 +#: lib/cannery_web/components/add_shot_record_component.html.heex:49 +#: lib/cannery_web/components/shot_record_table_component.ex:47 #: lib/cannery_web/live/pack_live/show.ex:92 #: lib/cannery_web/live/range_live/form_component.html.heex:41 #, elixir-autogen, elixir-format @@ -461,6 +463,7 @@ msgstr "Schüsse abgegeben" msgid "No ammo staged" msgstr "Keine Munition selektiert" +#: lib/cannery_web/components/add_shot_record_component.html.heex:3 #: lib/cannery_web/live/pack_live/index.ex:35 #, elixir-autogen, elixir-format msgid "Record shots" @@ -483,7 +486,7 @@ msgstr "Neue Schießkladde" msgid "No shots recorded" msgstr "Keine Schüsse dokumentiert" -#: lib/cannery_web/components/shot_group_table_component.ex:45 +#: lib/cannery_web/components/shot_record_table_component.ex:45 #: lib/cannery_web/live/pack_live/show.ex:90 #: lib/cannery_web/live/range_live/index.html.heex:69 #, elixir-autogen, elixir-format @@ -1198,6 +1201,7 @@ msgstr "" msgid "Centerfire" msgstr "" +#: lib/cannery_web/components/add_shot_record_component.html.heex:43 #: lib/cannery_web/live/range_live/form_component.html.heex:35 #, elixir-autogen, elixir-format msgid "Really great weather" @@ -1207,7 +1211,7 @@ msgstr "" #: lib/cannery_web/components/container_table_component.ex:67 #: lib/cannery_web/components/move_pack_component.ex:68 #: lib/cannery_web/components/pack_table_component.ex:59 -#: lib/cannery_web/components/shot_group_table_component.ex:48 +#: lib/cannery_web/components/shot_record_table_component.ex:48 #: lib/cannery_web/live/pack_live/show.ex:93 #, elixir-autogen, elixir-format msgid "Actions" @@ -1450,3 +1454,14 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Class" msgstr "" + +#: lib/cannery_web/components/add_shot_record_component.html.heex:22 +#: lib/cannery_web/components/add_shot_record_component.html.heex:26 +#, elixir-autogen, elixir-format, fuzzy +msgid "Rounds left" +msgstr "Patronen:" + +#: lib/cannery_web/components/add_shot_record_component.html.heex:34 +#, elixir-autogen, elixir-format +msgid "Used up!" +msgstr "" diff --git a/priv/gettext/de/LC_MESSAGES/errors.po b/priv/gettext/de/LC_MESSAGES/errors.po index 5995f67f..b8988b25 100644 --- a/priv/gettext/de/LC_MESSAGES/errors.po +++ b/priv/gettext/de/LC_MESSAGES/errors.po @@ -188,27 +188,27 @@ msgstr "" msgid "Your browser does not support the canvas element." msgstr "" -#: lib/cannery/activity_log/shot_group.ex:74 +#: lib/cannery/activity_log/shot_record.ex:74 #, elixir-autogen, elixir-format, fuzzy msgid "Please select a valid user and ammo pack" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:88 +#: lib/cannery/activity_log/shot_record.ex:88 #, elixir-autogen, elixir-format msgid "Ammo left can be at most %{count} rounds" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:84 +#: lib/cannery/activity_log/shot_record.ex:84 #, elixir-autogen, elixir-format msgid "Ammo left must be at least 0" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:119 +#: lib/cannery/activity_log/shot_record.ex:119 #, elixir-autogen, elixir-format, fuzzy msgid "Count can be at most %{count} shots" msgstr "Anzahl muss weniger als %{count} betragen" -#: lib/cannery/activity_log/shot_group.ex:80 +#: lib/cannery/activity_log/shot_record.ex:80 #, elixir-autogen, elixir-format msgid "can't be blank" msgstr "" diff --git a/priv/gettext/de/LC_MESSAGES/prompts.po b/priv/gettext/de/LC_MESSAGES/prompts.po index ad89e28f..e7e18d59 100644 --- a/priv/gettext/de/LC_MESSAGES/prompts.po +++ b/priv/gettext/de/LC_MESSAGES/prompts.po @@ -128,6 +128,7 @@ msgstr "Passwort erfolgreich geändert." msgid "Please check your email to verify your account" msgstr "Bitte überprüfen Sie ihre Mailbox und bestätigen Sie das Nutzerkonto" +#: lib/cannery_web/components/add_shot_record_component.html.heex:59 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:351 #: lib/cannery_web/live/container_live/form_component.html.heex:59 #: lib/cannery_web/live/invite_live/form_component.html.heex:37 @@ -165,7 +166,7 @@ msgstr "%{tag_name} wurde von %{container_name} entfernt" msgid "Adding..." msgstr "Füge hinzu..." -#: lib/cannery_web/components/add_shot_group_component.ex:60 +#: lib/cannery_web/components/add_shot_record_component.ex:60 #, elixir-autogen, elixir-format msgid "Shots recorded successfully" msgstr "Schüsse erfolgreich dokumentiert" diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index 18415344..57a2aafd 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -26,7 +26,7 @@ msgid "Admins:" msgstr "" #: lib/cannery_web/components/core_components/topbar.html.heex:58 -#: lib/cannery_web/components/shot_group_table_component.ex:44 +#: lib/cannery_web/components/shot_record_table_component.ex:44 #: lib/cannery_web/live/pack_live/index.ex:75 #: lib/cannery_web/live/pack_live/index.ex:84 #: lib/cannery_web/live/pack_live/index.html.heex:3 @@ -286,7 +286,8 @@ msgstr "" msgid "No tags" msgstr "" -#: lib/cannery_web/components/shot_group_table_component.ex:46 +#: lib/cannery_web/components/add_shot_record_component.html.heex:38 +#: lib/cannery_web/components/shot_record_table_component.ex:46 #: lib/cannery_web/live/pack_live/form_component.html.heex:50 #: lib/cannery_web/live/pack_live/show.ex:91 #: lib/cannery_web/live/range_live/form_component.html.heex:30 @@ -438,7 +439,8 @@ msgstr "" msgid "Range day" msgstr "" -#: lib/cannery_web/components/shot_group_table_component.ex:47 +#: lib/cannery_web/components/add_shot_record_component.html.heex:49 +#: lib/cannery_web/components/shot_record_table_component.ex:47 #: lib/cannery_web/live/pack_live/show.ex:92 #: lib/cannery_web/live/range_live/form_component.html.heex:41 #, elixir-autogen, elixir-format @@ -455,6 +457,7 @@ msgstr "" msgid "No ammo staged" msgstr "" +#: lib/cannery_web/components/add_shot_record_component.html.heex:3 #: lib/cannery_web/live/pack_live/index.ex:35 #, elixir-autogen, elixir-format msgid "Record shots" @@ -477,7 +480,7 @@ msgstr "" msgid "No shots recorded" msgstr "" -#: lib/cannery_web/components/shot_group_table_component.ex:45 +#: lib/cannery_web/components/shot_record_table_component.ex:45 #: lib/cannery_web/live/pack_live/show.ex:90 #: lib/cannery_web/live/range_live/index.html.heex:69 #, elixir-autogen, elixir-format @@ -1181,6 +1184,7 @@ msgstr "" msgid "Centerfire" msgstr "" +#: lib/cannery_web/components/add_shot_record_component.html.heex:43 #: lib/cannery_web/live/range_live/form_component.html.heex:35 #, elixir-autogen, elixir-format msgid "Really great weather" @@ -1190,7 +1194,7 @@ msgstr "" #: lib/cannery_web/components/container_table_component.ex:67 #: lib/cannery_web/components/move_pack_component.ex:68 #: lib/cannery_web/components/pack_table_component.ex:59 -#: lib/cannery_web/components/shot_group_table_component.ex:48 +#: lib/cannery_web/components/shot_record_table_component.ex:48 #: lib/cannery_web/live/pack_live/show.ex:93 #, elixir-autogen, elixir-format msgid "Actions" @@ -1433,3 +1437,14 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Class" msgstr "" + +#: lib/cannery_web/components/add_shot_record_component.html.heex:22 +#: lib/cannery_web/components/add_shot_record_component.html.heex:26 +#, elixir-autogen, elixir-format +msgid "Rounds left" +msgstr "" + +#: lib/cannery_web/components/add_shot_record_component.html.heex:34 +#, elixir-autogen, elixir-format +msgid "Used up!" +msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/actions.po b/priv/gettext/en/LC_MESSAGES/actions.po index 8fa7be33..ba53eca8 100644 --- a/priv/gettext/en/LC_MESSAGES/actions.po +++ b/priv/gettext/en/LC_MESSAGES/actions.po @@ -120,6 +120,7 @@ msgstr "" msgid "Reset password" msgstr "" +#: lib/cannery_web/components/add_shot_record_component.html.heex:57 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:350 #: lib/cannery_web/live/container_live/form_component.html.heex:57 #: lib/cannery_web/live/invite_live/form_component.html.heex:35 diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po index d6602230..83110571 100644 --- a/priv/gettext/en/LC_MESSAGES/default.po +++ b/priv/gettext/en/LC_MESSAGES/default.po @@ -26,7 +26,7 @@ msgid "Admins:" msgstr "" #: lib/cannery_web/components/core_components/topbar.html.heex:58 -#: lib/cannery_web/components/shot_group_table_component.ex:44 +#: lib/cannery_web/components/shot_record_table_component.ex:44 #: lib/cannery_web/live/pack_live/index.ex:75 #: lib/cannery_web/live/pack_live/index.ex:84 #: lib/cannery_web/live/pack_live/index.html.heex:3 @@ -286,7 +286,8 @@ msgstr "" msgid "No tags" msgstr "" -#: lib/cannery_web/components/shot_group_table_component.ex:46 +#: lib/cannery_web/components/add_shot_record_component.html.heex:38 +#: lib/cannery_web/components/shot_record_table_component.ex:46 #: lib/cannery_web/live/pack_live/form_component.html.heex:50 #: lib/cannery_web/live/pack_live/show.ex:91 #: lib/cannery_web/live/range_live/form_component.html.heex:30 @@ -438,7 +439,8 @@ msgstr "" msgid "Range day" msgstr "" -#: lib/cannery_web/components/shot_group_table_component.ex:47 +#: lib/cannery_web/components/add_shot_record_component.html.heex:49 +#: lib/cannery_web/components/shot_record_table_component.ex:47 #: lib/cannery_web/live/pack_live/show.ex:92 #: lib/cannery_web/live/range_live/form_component.html.heex:41 #, elixir-autogen, elixir-format @@ -455,6 +457,7 @@ msgstr "" msgid "No ammo staged" msgstr "" +#: lib/cannery_web/components/add_shot_record_component.html.heex:3 #: lib/cannery_web/live/pack_live/index.ex:35 #, elixir-autogen, elixir-format msgid "Record shots" @@ -477,7 +480,7 @@ msgstr "" msgid "No shots recorded" msgstr "" -#: lib/cannery_web/components/shot_group_table_component.ex:45 +#: lib/cannery_web/components/shot_record_table_component.ex:45 #: lib/cannery_web/live/pack_live/show.ex:90 #: lib/cannery_web/live/range_live/index.html.heex:69 #, elixir-autogen, elixir-format @@ -1181,6 +1184,7 @@ msgstr "" msgid "Centerfire" msgstr "" +#: lib/cannery_web/components/add_shot_record_component.html.heex:43 #: lib/cannery_web/live/range_live/form_component.html.heex:35 #, elixir-autogen, elixir-format msgid "Really great weather" @@ -1190,7 +1194,7 @@ msgstr "" #: lib/cannery_web/components/container_table_component.ex:67 #: lib/cannery_web/components/move_pack_component.ex:68 #: lib/cannery_web/components/pack_table_component.ex:59 -#: lib/cannery_web/components/shot_group_table_component.ex:48 +#: lib/cannery_web/components/shot_record_table_component.ex:48 #: lib/cannery_web/live/pack_live/show.ex:93 #, elixir-autogen, elixir-format msgid "Actions" @@ -1433,3 +1437,14 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Class" msgstr "" + +#: lib/cannery_web/components/add_shot_record_component.html.heex:22 +#: lib/cannery_web/components/add_shot_record_component.html.heex:26 +#, elixir-autogen, elixir-format, fuzzy +msgid "Rounds left" +msgstr "" + +#: lib/cannery_web/components/add_shot_record_component.html.heex:34 +#, elixir-autogen, elixir-format +msgid "Used up!" +msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/errors.po b/priv/gettext/en/LC_MESSAGES/errors.po index 02c72e40..92c9ca68 100644 --- a/priv/gettext/en/LC_MESSAGES/errors.po +++ b/priv/gettext/en/LC_MESSAGES/errors.po @@ -171,27 +171,27 @@ msgstr "" msgid "Your browser does not support the canvas element." msgstr "" -#: lib/cannery/activity_log/shot_group.ex:74 +#: lib/cannery/activity_log/shot_record.ex:74 #, elixir-autogen, elixir-format, fuzzy msgid "Please select a valid user and ammo pack" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:88 +#: lib/cannery/activity_log/shot_record.ex:88 #, elixir-autogen, elixir-format msgid "Ammo left can be at most %{count} rounds" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:84 +#: lib/cannery/activity_log/shot_record.ex:84 #, elixir-autogen, elixir-format msgid "Ammo left must be at least 0" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:119 +#: lib/cannery/activity_log/shot_record.ex:119 #, elixir-autogen, elixir-format, fuzzy msgid "Count can be at most %{count} shots" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:80 +#: lib/cannery/activity_log/shot_record.ex:80 #, elixir-autogen, elixir-format msgid "can't be blank" msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/prompts.po b/priv/gettext/en/LC_MESSAGES/prompts.po index 5dfb086c..d248f78e 100644 --- a/priv/gettext/en/LC_MESSAGES/prompts.po +++ b/priv/gettext/en/LC_MESSAGES/prompts.po @@ -109,6 +109,7 @@ msgstr "" msgid "Please check your email to verify your account" msgstr "" +#: lib/cannery_web/components/add_shot_record_component.html.heex:59 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:351 #: lib/cannery_web/live/container_live/form_component.html.heex:59 #: lib/cannery_web/live/invite_live/form_component.html.heex:37 @@ -144,7 +145,7 @@ msgstr "" msgid "Adding..." msgstr "" -#: lib/cannery_web/components/add_shot_group_component.ex:60 +#: lib/cannery_web/components/add_shot_record_component.ex:60 #, elixir-autogen, elixir-format msgid "Shots recorded successfully" msgstr "" diff --git a/priv/gettext/errors.pot b/priv/gettext/errors.pot index 2a05481c..c43f330c 100644 --- a/priv/gettext/errors.pot +++ b/priv/gettext/errors.pot @@ -170,27 +170,27 @@ msgstr "" msgid "Your browser does not support the canvas element." msgstr "" -#: lib/cannery/activity_log/shot_group.ex:74 +#: lib/cannery/activity_log/shot_record.ex:74 #, elixir-autogen, elixir-format msgid "Please select a valid user and ammo pack" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:88 +#: lib/cannery/activity_log/shot_record.ex:88 #, elixir-autogen, elixir-format msgid "Ammo left can be at most %{count} rounds" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:84 +#: lib/cannery/activity_log/shot_record.ex:84 #, elixir-autogen, elixir-format msgid "Ammo left must be at least 0" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:119 +#: lib/cannery/activity_log/shot_record.ex:119 #, elixir-autogen, elixir-format msgid "Count can be at most %{count} shots" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:80 +#: lib/cannery/activity_log/shot_record.ex:80 #, elixir-autogen, elixir-format msgid "can't be blank" msgstr "" diff --git a/priv/gettext/es/LC_MESSAGES/actions.po b/priv/gettext/es/LC_MESSAGES/actions.po index eb150d22..1e0eb341 100644 --- a/priv/gettext/es/LC_MESSAGES/actions.po +++ b/priv/gettext/es/LC_MESSAGES/actions.po @@ -133,6 +133,7 @@ msgstr "Reenviar instrucciones de confirmación" msgid "Reset password" msgstr "Resetear contraseña" +#: lib/cannery_web/components/add_shot_record_component.html.heex:57 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:350 #: lib/cannery_web/live/container_live/form_component.html.heex:57 #: lib/cannery_web/live/invite_live/form_component.html.heex:35 diff --git a/priv/gettext/es/LC_MESSAGES/default.po b/priv/gettext/es/LC_MESSAGES/default.po index 06689406..de19a1d1 100644 --- a/priv/gettext/es/LC_MESSAGES/default.po +++ b/priv/gettext/es/LC_MESSAGES/default.po @@ -30,7 +30,7 @@ msgid "Admins:" msgstr "Aministradores:" #: lib/cannery_web/components/core_components/topbar.html.heex:58 -#: lib/cannery_web/components/shot_group_table_component.ex:44 +#: lib/cannery_web/components/shot_record_table_component.ex:44 #: lib/cannery_web/live/pack_live/index.ex:75 #: lib/cannery_web/live/pack_live/index.ex:84 #: lib/cannery_web/live/pack_live/index.html.heex:3 @@ -290,7 +290,8 @@ msgstr "Sin invitaciones" msgid "No tags" msgstr "Sin etiquetas" -#: lib/cannery_web/components/shot_group_table_component.ex:46 +#: lib/cannery_web/components/add_shot_record_component.html.heex:38 +#: lib/cannery_web/components/shot_record_table_component.ex:46 #: lib/cannery_web/live/pack_live/form_component.html.heex:50 #: lib/cannery_web/live/pack_live/show.ex:91 #: lib/cannery_web/live/range_live/form_component.html.heex:30 @@ -445,7 +446,8 @@ msgstr "Campo de tiro" msgid "Range day" msgstr "Día de disparar" -#: lib/cannery_web/components/shot_group_table_component.ex:47 +#: lib/cannery_web/components/add_shot_record_component.html.heex:49 +#: lib/cannery_web/components/shot_record_table_component.ex:47 #: lib/cannery_web/live/pack_live/show.ex:92 #: lib/cannery_web/live/range_live/form_component.html.heex:41 #, elixir-autogen, elixir-format @@ -462,6 +464,7 @@ msgstr "Tiros disparados" msgid "No ammo staged" msgstr "No hay munición preparada" +#: lib/cannery_web/components/add_shot_record_component.html.heex:3 #: lib/cannery_web/live/pack_live/index.ex:35 #, elixir-autogen, elixir-format msgid "Record shots" @@ -484,7 +487,7 @@ msgstr "Nuevos Tiros Récord" msgid "No shots recorded" msgstr "No se han grabado tiros" -#: lib/cannery_web/components/shot_group_table_component.ex:45 +#: lib/cannery_web/components/shot_record_table_component.ex:45 #: lib/cannery_web/live/pack_live/show.ex:90 #: lib/cannery_web/live/range_live/index.html.heex:69 #, elixir-autogen, elixir-format @@ -1200,6 +1203,7 @@ msgstr "" msgid "Centerfire" msgstr "" +#: lib/cannery_web/components/add_shot_record_component.html.heex:43 #: lib/cannery_web/live/range_live/form_component.html.heex:35 #, elixir-autogen, elixir-format msgid "Really great weather" @@ -1209,7 +1213,7 @@ msgstr "" #: lib/cannery_web/components/container_table_component.ex:67 #: lib/cannery_web/components/move_pack_component.ex:68 #: lib/cannery_web/components/pack_table_component.ex:59 -#: lib/cannery_web/components/shot_group_table_component.ex:48 +#: lib/cannery_web/components/shot_record_table_component.ex:48 #: lib/cannery_web/live/pack_live/show.ex:93 #, elixir-autogen, elixir-format msgid "Actions" @@ -1452,3 +1456,14 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Class" msgstr "" + +#: lib/cannery_web/components/add_shot_record_component.html.heex:22 +#: lib/cannery_web/components/add_shot_record_component.html.heex:26 +#, elixir-autogen, elixir-format, fuzzy +msgid "Rounds left" +msgstr "Balas" + +#: lib/cannery_web/components/add_shot_record_component.html.heex:34 +#, elixir-autogen, elixir-format +msgid "Used up!" +msgstr "" diff --git a/priv/gettext/es/LC_MESSAGES/errors.po b/priv/gettext/es/LC_MESSAGES/errors.po index 45f69973..7cf7d5cb 100644 --- a/priv/gettext/es/LC_MESSAGES/errors.po +++ b/priv/gettext/es/LC_MESSAGES/errors.po @@ -186,27 +186,27 @@ msgstr "Por favor escoja un tipo de munición y un contenedor" msgid "Your browser does not support the canvas element." msgstr "Su navegador no es compatible con el elemento lienzo." -#: lib/cannery/activity_log/shot_group.ex:74 +#: lib/cannery/activity_log/shot_record.ex:74 #, elixir-autogen, elixir-format msgid "Please select a valid user and ammo pack" msgstr "Por favor escoja un usuario y tipo de munición valido" -#: lib/cannery/activity_log/shot_group.ex:88 +#: lib/cannery/activity_log/shot_record.ex:88 #, elixir-autogen, elixir-format msgid "Ammo left can be at most %{count} rounds" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:84 +#: lib/cannery/activity_log/shot_record.ex:84 #, elixir-autogen, elixir-format msgid "Ammo left must be at least 0" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:119 +#: lib/cannery/activity_log/shot_record.ex:119 #, elixir-autogen, elixir-format, fuzzy msgid "Count can be at most %{count} shots" msgstr "El recuento debe ser menos de %{count}" -#: lib/cannery/activity_log/shot_group.ex:80 +#: lib/cannery/activity_log/shot_record.ex:80 #, elixir-autogen, elixir-format msgid "can't be blank" msgstr "" diff --git a/priv/gettext/es/LC_MESSAGES/prompts.po b/priv/gettext/es/LC_MESSAGES/prompts.po index 33820157..31ba17b6 100644 --- a/priv/gettext/es/LC_MESSAGES/prompts.po +++ b/priv/gettext/es/LC_MESSAGES/prompts.po @@ -128,6 +128,7 @@ msgstr "Contraseña cambiada exitosamente." msgid "Please check your email to verify your account" msgstr "Por favor chequea el correo para verificar tu cuenta" +#: lib/cannery_web/components/add_shot_record_component.html.heex:59 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:351 #: lib/cannery_web/live/container_live/form_component.html.heex:59 #: lib/cannery_web/live/invite_live/form_component.html.heex:37 @@ -164,7 +165,7 @@ msgstr "se ha removido %{tag_name} de %{container_name}" msgid "Adding..." msgstr "Añadiendo..." -#: lib/cannery_web/components/add_shot_group_component.ex:60 +#: lib/cannery_web/components/add_shot_record_component.ex:60 #, elixir-autogen, elixir-format msgid "Shots recorded successfully" msgstr "Tiros registrados exitosamente" diff --git a/priv/gettext/fr/LC_MESSAGES/actions.po b/priv/gettext/fr/LC_MESSAGES/actions.po index 6b2c6975..07a35d9b 100644 --- a/priv/gettext/fr/LC_MESSAGES/actions.po +++ b/priv/gettext/fr/LC_MESSAGES/actions.po @@ -133,6 +133,7 @@ msgstr "Renvoyer les instructions de confirmation" msgid "Reset password" msgstr "Réinitialisé le mot de passe" +#: lib/cannery_web/components/add_shot_record_component.html.heex:57 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:350 #: lib/cannery_web/live/container_live/form_component.html.heex:57 #: lib/cannery_web/live/invite_live/form_component.html.heex:35 diff --git a/priv/gettext/fr/LC_MESSAGES/default.po b/priv/gettext/fr/LC_MESSAGES/default.po index 239ae244..2fc7f405 100644 --- a/priv/gettext/fr/LC_MESSAGES/default.po +++ b/priv/gettext/fr/LC_MESSAGES/default.po @@ -30,7 +30,7 @@ msgid "Admins:" msgstr "Administrateur·ices :" #: lib/cannery_web/components/core_components/topbar.html.heex:58 -#: lib/cannery_web/components/shot_group_table_component.ex:44 +#: lib/cannery_web/components/shot_record_table_component.ex:44 #: lib/cannery_web/live/pack_live/index.ex:75 #: lib/cannery_web/live/pack_live/index.ex:84 #: lib/cannery_web/live/pack_live/index.html.heex:3 @@ -290,7 +290,8 @@ msgstr "Aucune invitation" msgid "No tags" msgstr "Aucun tag" -#: lib/cannery_web/components/shot_group_table_component.ex:46 +#: lib/cannery_web/components/add_shot_record_component.html.heex:38 +#: lib/cannery_web/components/shot_record_table_component.ex:46 #: lib/cannery_web/live/pack_live/form_component.html.heex:50 #: lib/cannery_web/live/pack_live/show.ex:91 #: lib/cannery_web/live/range_live/form_component.html.heex:30 @@ -446,7 +447,8 @@ msgstr "Portée" msgid "Range day" msgstr "Journée de stand" -#: lib/cannery_web/components/shot_group_table_component.ex:47 +#: lib/cannery_web/components/add_shot_record_component.html.heex:49 +#: lib/cannery_web/components/shot_record_table_component.ex:47 #: lib/cannery_web/live/pack_live/show.ex:92 #: lib/cannery_web/live/range_live/form_component.html.heex:41 #, elixir-autogen, elixir-format @@ -463,6 +465,7 @@ msgstr "Tirs réalisés" msgid "No ammo staged" msgstr "Aucune munition sélectionnée" +#: lib/cannery_web/components/add_shot_record_component.html.heex:3 #: lib/cannery_web/live/pack_live/index.ex:35 #, elixir-autogen, elixir-format msgid "Record shots" @@ -485,7 +488,7 @@ msgstr "Nouveaux enregistrements de tir" msgid "No shots recorded" msgstr "Aucun tir enregistré" -#: lib/cannery_web/components/shot_group_table_component.ex:45 +#: lib/cannery_web/components/shot_record_table_component.ex:45 #: lib/cannery_web/live/pack_live/show.ex:90 #: lib/cannery_web/live/range_live/index.html.heex:69 #, elixir-autogen, elixir-format @@ -1201,6 +1204,7 @@ msgstr "" msgid "Centerfire" msgstr "" +#: lib/cannery_web/components/add_shot_record_component.html.heex:43 #: lib/cannery_web/live/range_live/form_component.html.heex:35 #, elixir-autogen, elixir-format msgid "Really great weather" @@ -1210,7 +1214,7 @@ msgstr "" #: lib/cannery_web/components/container_table_component.ex:67 #: lib/cannery_web/components/move_pack_component.ex:68 #: lib/cannery_web/components/pack_table_component.ex:59 -#: lib/cannery_web/components/shot_group_table_component.ex:48 +#: lib/cannery_web/components/shot_record_table_component.ex:48 #: lib/cannery_web/live/pack_live/show.ex:93 #, elixir-autogen, elixir-format msgid "Actions" @@ -1453,3 +1457,14 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Class" msgstr "" + +#: lib/cannery_web/components/add_shot_record_component.html.heex:22 +#: lib/cannery_web/components/add_shot_record_component.html.heex:26 +#, elixir-autogen, elixir-format, fuzzy +msgid "Rounds left" +msgstr "Cartouches :" + +#: lib/cannery_web/components/add_shot_record_component.html.heex:34 +#, elixir-autogen, elixir-format +msgid "Used up!" +msgstr "" diff --git a/priv/gettext/fr/LC_MESSAGES/errors.po b/priv/gettext/fr/LC_MESSAGES/errors.po index e0cf6287..fd8dd8bc 100644 --- a/priv/gettext/fr/LC_MESSAGES/errors.po +++ b/priv/gettext/fr/LC_MESSAGES/errors.po @@ -187,27 +187,27 @@ msgstr "Veuillez choisir un type de munitions et un conteneur" msgid "Your browser does not support the canvas element." msgstr "" -#: lib/cannery/activity_log/shot_group.ex:74 +#: lib/cannery/activity_log/shot_record.ex:74 #, elixir-autogen, elixir-format, fuzzy msgid "Please select a valid user and ammo pack" msgstr "Veuillez choisir un utilisateur valide et un groupe de munitions" -#: lib/cannery/activity_log/shot_group.ex:88 +#: lib/cannery/activity_log/shot_record.ex:88 #, elixir-autogen, elixir-format msgid "Ammo left can be at most %{count} rounds" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:84 +#: lib/cannery/activity_log/shot_record.ex:84 #, elixir-autogen, elixir-format msgid "Ammo left must be at least 0" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:119 +#: lib/cannery/activity_log/shot_record.ex:119 #, elixir-autogen, elixir-format, fuzzy msgid "Count can be at most %{count} shots" msgstr "La quantité doit être inférieur à %{count}" -#: lib/cannery/activity_log/shot_group.ex:80 +#: lib/cannery/activity_log/shot_record.ex:80 #, elixir-autogen, elixir-format msgid "can't be blank" msgstr "" diff --git a/priv/gettext/fr/LC_MESSAGES/prompts.po b/priv/gettext/fr/LC_MESSAGES/prompts.po index 5152916d..f9887201 100644 --- a/priv/gettext/fr/LC_MESSAGES/prompts.po +++ b/priv/gettext/fr/LC_MESSAGES/prompts.po @@ -129,6 +129,7 @@ msgstr "Mot de passe mis à jour avec succès." msgid "Please check your email to verify your account" msgstr "Veuillez vérifier votre mél pour confirmer votre compte" +#: lib/cannery_web/components/add_shot_record_component.html.heex:59 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:351 #: lib/cannery_web/live/container_live/form_component.html.heex:59 #: lib/cannery_web/live/invite_live/form_component.html.heex:37 @@ -166,7 +167,7 @@ msgstr "%{tag_name} a été retiré de %{container_name}" msgid "Adding..." msgstr "Ajout en cours…" -#: lib/cannery_web/components/add_shot_group_component.ex:60 +#: lib/cannery_web/components/add_shot_record_component.ex:60 #, elixir-autogen, elixir-format msgid "Shots recorded successfully" msgstr "Tirs enregistré avec succès" diff --git a/priv/gettext/ga/LC_MESSAGES/actions.po b/priv/gettext/ga/LC_MESSAGES/actions.po index e29f4884..4efea206 100644 --- a/priv/gettext/ga/LC_MESSAGES/actions.po +++ b/priv/gettext/ga/LC_MESSAGES/actions.po @@ -131,6 +131,7 @@ msgstr "" msgid "Reset password" msgstr "" +#: lib/cannery_web/components/add_shot_record_component.html.heex:57 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:350 #: lib/cannery_web/live/container_live/form_component.html.heex:57 #: lib/cannery_web/live/invite_live/form_component.html.heex:35 diff --git a/priv/gettext/ga/LC_MESSAGES/default.po b/priv/gettext/ga/LC_MESSAGES/default.po index 9e04c937..96a3eed6 100644 --- a/priv/gettext/ga/LC_MESSAGES/default.po +++ b/priv/gettext/ga/LC_MESSAGES/default.po @@ -28,7 +28,7 @@ msgid "Admins:" msgstr "" #: lib/cannery_web/components/core_components/topbar.html.heex:58 -#: lib/cannery_web/components/shot_group_table_component.ex:44 +#: lib/cannery_web/components/shot_record_table_component.ex:44 #: lib/cannery_web/live/pack_live/index.ex:75 #: lib/cannery_web/live/pack_live/index.ex:84 #: lib/cannery_web/live/pack_live/index.html.heex:3 @@ -288,7 +288,8 @@ msgstr "" msgid "No tags" msgstr "" -#: lib/cannery_web/components/shot_group_table_component.ex:46 +#: lib/cannery_web/components/add_shot_record_component.html.heex:38 +#: lib/cannery_web/components/shot_record_table_component.ex:46 #: lib/cannery_web/live/pack_live/form_component.html.heex:50 #: lib/cannery_web/live/pack_live/show.ex:91 #: lib/cannery_web/live/range_live/form_component.html.heex:30 @@ -440,7 +441,8 @@ msgstr "" msgid "Range day" msgstr "" -#: lib/cannery_web/components/shot_group_table_component.ex:47 +#: lib/cannery_web/components/add_shot_record_component.html.heex:49 +#: lib/cannery_web/components/shot_record_table_component.ex:47 #: lib/cannery_web/live/pack_live/show.ex:92 #: lib/cannery_web/live/range_live/form_component.html.heex:41 #, elixir-autogen, elixir-format @@ -457,6 +459,7 @@ msgstr "" msgid "No ammo staged" msgstr "" +#: lib/cannery_web/components/add_shot_record_component.html.heex:3 #: lib/cannery_web/live/pack_live/index.ex:35 #, elixir-autogen, elixir-format msgid "Record shots" @@ -479,7 +482,7 @@ msgstr "" msgid "No shots recorded" msgstr "" -#: lib/cannery_web/components/shot_group_table_component.ex:45 +#: lib/cannery_web/components/shot_record_table_component.ex:45 #: lib/cannery_web/live/pack_live/show.ex:90 #: lib/cannery_web/live/range_live/index.html.heex:69 #, elixir-autogen, elixir-format @@ -1192,6 +1195,7 @@ msgstr "" msgid "Centerfire" msgstr "" +#: lib/cannery_web/components/add_shot_record_component.html.heex:43 #: lib/cannery_web/live/range_live/form_component.html.heex:35 #, elixir-autogen, elixir-format msgid "Really great weather" @@ -1201,7 +1205,7 @@ msgstr "" #: lib/cannery_web/components/container_table_component.ex:67 #: lib/cannery_web/components/move_pack_component.ex:68 #: lib/cannery_web/components/pack_table_component.ex:59 -#: lib/cannery_web/components/shot_group_table_component.ex:48 +#: lib/cannery_web/components/shot_record_table_component.ex:48 #: lib/cannery_web/live/pack_live/show.ex:93 #, elixir-autogen, elixir-format msgid "Actions" @@ -1444,3 +1448,14 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Class" msgstr "" + +#: lib/cannery_web/components/add_shot_record_component.html.heex:22 +#: lib/cannery_web/components/add_shot_record_component.html.heex:26 +#, elixir-autogen, elixir-format, fuzzy +msgid "Rounds left" +msgstr "" + +#: lib/cannery_web/components/add_shot_record_component.html.heex:34 +#, elixir-autogen, elixir-format +msgid "Used up!" +msgstr "" diff --git a/priv/gettext/ga/LC_MESSAGES/errors.po b/priv/gettext/ga/LC_MESSAGES/errors.po index 97b5f1b1..eb82db60 100644 --- a/priv/gettext/ga/LC_MESSAGES/errors.po +++ b/priv/gettext/ga/LC_MESSAGES/errors.po @@ -186,27 +186,27 @@ msgstr "" msgid "Your browser does not support the canvas element." msgstr "" -#: lib/cannery/activity_log/shot_group.ex:74 +#: lib/cannery/activity_log/shot_record.ex:74 #, elixir-autogen, elixir-format, fuzzy msgid "Please select a valid user and ammo pack" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:88 +#: lib/cannery/activity_log/shot_record.ex:88 #, elixir-autogen, elixir-format msgid "Ammo left can be at most %{count} rounds" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:84 +#: lib/cannery/activity_log/shot_record.ex:84 #, elixir-autogen, elixir-format msgid "Ammo left must be at least 0" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:119 +#: lib/cannery/activity_log/shot_record.ex:119 #, elixir-autogen, elixir-format, fuzzy msgid "Count can be at most %{count} shots" msgstr "" -#: lib/cannery/activity_log/shot_group.ex:80 +#: lib/cannery/activity_log/shot_record.ex:80 #, elixir-autogen, elixir-format msgid "can't be blank" msgstr "" diff --git a/priv/gettext/ga/LC_MESSAGES/prompts.po b/priv/gettext/ga/LC_MESSAGES/prompts.po index eac6c939..68b8fffb 100644 --- a/priv/gettext/ga/LC_MESSAGES/prompts.po +++ b/priv/gettext/ga/LC_MESSAGES/prompts.po @@ -120,6 +120,7 @@ msgstr "" msgid "Please check your email to verify your account" msgstr "" +#: lib/cannery_web/components/add_shot_record_component.html.heex:59 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:351 #: lib/cannery_web/live/container_live/form_component.html.heex:59 #: lib/cannery_web/live/invite_live/form_component.html.heex:37 @@ -155,7 +156,7 @@ msgstr "" msgid "Adding..." msgstr "" -#: lib/cannery_web/components/add_shot_group_component.ex:60 +#: lib/cannery_web/components/add_shot_record_component.ex:60 #, elixir-autogen, elixir-format msgid "Shots recorded successfully" msgstr "" diff --git a/priv/gettext/prompts.pot b/priv/gettext/prompts.pot index 5f7310dd..832b5ce9 100644 --- a/priv/gettext/prompts.pot +++ b/priv/gettext/prompts.pot @@ -109,6 +109,7 @@ msgstr "" msgid "Please check your email to verify your account" msgstr "" +#: lib/cannery_web/components/add_shot_record_component.html.heex:59 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:351 #: lib/cannery_web/live/container_live/form_component.html.heex:59 #: lib/cannery_web/live/invite_live/form_component.html.heex:37 @@ -144,7 +145,7 @@ msgstr "" msgid "Adding..." msgstr "" -#: lib/cannery_web/components/add_shot_group_component.ex:60 +#: lib/cannery_web/components/add_shot_record_component.ex:60 #, elixir-autogen, elixir-format msgid "Shots recorded successfully" msgstr ""