From 7e7d6258d515f40eef16c794c8d5a5cbc315e2a7 Mon Sep 17 00:00:00 2001 From: shibao Date: Mon, 4 Jul 2022 21:47:04 -0400 Subject: [PATCH] add note about creating unlimited invites --- CHANGELOG.md | 1 + lib/cannery_web/live/invite_live/form_component.html.heex | 3 +++ priv/gettext/actions.pot | 2 +- priv/gettext/de/LC_MESSAGES/actions.po | 2 +- priv/gettext/de/LC_MESSAGES/default.po | 5 +++++ priv/gettext/de/LC_MESSAGES/prompts.po | 2 +- priv/gettext/default.pot | 5 +++++ priv/gettext/en/LC_MESSAGES/actions.po | 2 +- priv/gettext/en/LC_MESSAGES/default.po | 5 +++++ priv/gettext/en/LC_MESSAGES/prompts.po | 2 +- priv/gettext/es/LC_MESSAGES/actions.po | 2 +- priv/gettext/es/LC_MESSAGES/default.po | 5 +++++ priv/gettext/es/LC_MESSAGES/prompts.po | 2 +- priv/gettext/fr/LC_MESSAGES/actions.po | 2 +- priv/gettext/fr/LC_MESSAGES/default.po | 5 +++++ priv/gettext/fr/LC_MESSAGES/prompts.po | 2 +- priv/gettext/prompts.pot | 2 +- 17 files changed, 39 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a94b15b..0552dbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Add cute logo >:3 Thank you [kalli](https://twitter.com/t0kkuro)! - Add note about deleting an ammo type deleting all ammo of that type as well - Prompt to create first ammo type before trying to create first ammo +- Add note about creating unlimited invites # v0.5.3 - Update French translation: Thank you [duponin](https://udongein.xyz/users/duponin)! diff --git a/lib/cannery_web/live/invite_live/form_component.html.heex b/lib/cannery_web/live/invite_live/form_component.html.heex index 27c2fa2..9c6545a 100644 --- a/lib/cannery_web/live/invite_live/form_component.html.heex +++ b/lib/cannery_web/live/invite_live/form_component.html.heex @@ -24,6 +24,9 @@ <%= label(f, :uses_left, gettext("Uses left"), class: "title text-lg text-primary-600") %> <%= number_input(f, :uses_left, min: 0, class: "input input-primary col-span-2") %> <%= error_tag(f, :uses_left, "col-span-3") %> + + <%= gettext("Leave \"Uses left\" blank to make invite unlimited") %> + <%= submit(dgettext("actions", "Save"), class: "mx-auto btn btn-primary col-span-3", diff --git a/priv/gettext/actions.pot b/priv/gettext/actions.pot index 6619e8c..32d443e 100644 --- a/priv/gettext/actions.pot +++ b/priv/gettext/actions.pot @@ -124,7 +124,7 @@ msgstr "" #: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156 #: lib/cannery_web/live/container_live/form_component.html.heex:50 -#: lib/cannery_web/live/invite_live/form_component.html.heex:28 +#: lib/cannery_web/live/invite_live/form_component.html.heex:31 #: lib/cannery_web/live/range_live/form_component.html.heex:40 #: lib/cannery_web/live/tag_live/form_component.ex:91 msgid "Save" diff --git a/priv/gettext/de/LC_MESSAGES/actions.po b/priv/gettext/de/LC_MESSAGES/actions.po index 71ba2c2..03ffa20 100644 --- a/priv/gettext/de/LC_MESSAGES/actions.po +++ b/priv/gettext/de/LC_MESSAGES/actions.po @@ -137,7 +137,7 @@ msgstr "Passwort zurücksetzen" #: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156 #: lib/cannery_web/live/container_live/form_component.html.heex:50 -#: lib/cannery_web/live/invite_live/form_component.html.heex:28 +#: lib/cannery_web/live/invite_live/form_component.html.heex:31 #: lib/cannery_web/live/range_live/form_component.html.heex:40 #: lib/cannery_web/live/tag_live/form_component.ex:91 msgid "Save" diff --git a/priv/gettext/de/LC_MESSAGES/default.po b/priv/gettext/de/LC_MESSAGES/default.po index 37b3c24..71b9738 100644 --- a/priv/gettext/de/LC_MESSAGES/default.po +++ b/priv/gettext/de/LC_MESSAGES/default.po @@ -929,3 +929,8 @@ msgstr "" #: lib/cannery_web/live/home_live.ex:44 msgid "isn't he cute >:3" msgstr "" + +#, elixir-autogen, elixir-format +#: lib/cannery_web/live/invite_live/form_component.html.heex:28 +msgid "Leave \"Uses left\" blank to make invite unlimited" +msgstr "" diff --git a/priv/gettext/de/LC_MESSAGES/prompts.po b/priv/gettext/de/LC_MESSAGES/prompts.po index 8a7e899..dd86fc9 100644 --- a/priv/gettext/de/LC_MESSAGES/prompts.po +++ b/priv/gettext/de/LC_MESSAGES/prompts.po @@ -169,7 +169,7 @@ msgstr "Registrieren Sie sich, um %{name} zu bearbeiten" #: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157 #: lib/cannery_web/live/container_live/form_component.html.heex:52 -#: lib/cannery_web/live/invite_live/form_component.html.heex:30 +#: lib/cannery_web/live/invite_live/form_component.html.heex:33 #: lib/cannery_web/live/range_live/form_component.html.heex:42 #: lib/cannery_web/live/tag_live/form_component.ex:93 msgid "Saving..." diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index d8d43bd..aaa8cf4 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -912,3 +912,8 @@ msgstr "" #: lib/cannery_web/live/home_live.ex:44 msgid "isn't he cute >:3" msgstr "" + +#, elixir-autogen, elixir-format +#: lib/cannery_web/live/invite_live/form_component.html.heex:28 +msgid "Leave \"Uses left\" blank to make invite unlimited" +msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/actions.po b/priv/gettext/en/LC_MESSAGES/actions.po index 8b2d72c..fbe8a46 100644 --- a/priv/gettext/en/LC_MESSAGES/actions.po +++ b/priv/gettext/en/LC_MESSAGES/actions.po @@ -125,7 +125,7 @@ msgstr "" #: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156 #: lib/cannery_web/live/container_live/form_component.html.heex:50 -#: lib/cannery_web/live/invite_live/form_component.html.heex:28 +#: lib/cannery_web/live/invite_live/form_component.html.heex:31 #: lib/cannery_web/live/range_live/form_component.html.heex:40 #: lib/cannery_web/live/tag_live/form_component.ex:91 msgid "Save" diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po index 0567337..8edd0d6 100644 --- a/priv/gettext/en/LC_MESSAGES/default.po +++ b/priv/gettext/en/LC_MESSAGES/default.po @@ -913,3 +913,8 @@ msgstr "" #: lib/cannery_web/live/home_live.ex:44 msgid "isn't he cute >:3" msgstr "" + +#, elixir-autogen, elixir-format +#: lib/cannery_web/live/invite_live/form_component.html.heex:28 +msgid "Leave \"Uses left\" blank to make invite unlimited" +msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/prompts.po b/priv/gettext/en/LC_MESSAGES/prompts.po index 3d57773..551cac9 100644 --- a/priv/gettext/en/LC_MESSAGES/prompts.po +++ b/priv/gettext/en/LC_MESSAGES/prompts.po @@ -151,7 +151,7 @@ msgstr "" #: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157 #: lib/cannery_web/live/container_live/form_component.html.heex:52 -#: lib/cannery_web/live/invite_live/form_component.html.heex:30 +#: lib/cannery_web/live/invite_live/form_component.html.heex:33 #: lib/cannery_web/live/range_live/form_component.html.heex:42 #: lib/cannery_web/live/tag_live/form_component.ex:93 msgid "Saving..." diff --git a/priv/gettext/es/LC_MESSAGES/actions.po b/priv/gettext/es/LC_MESSAGES/actions.po index 7473eb1..9e48d02 100644 --- a/priv/gettext/es/LC_MESSAGES/actions.po +++ b/priv/gettext/es/LC_MESSAGES/actions.po @@ -135,7 +135,7 @@ msgstr "" #: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156 #: lib/cannery_web/live/container_live/form_component.html.heex:50 -#: lib/cannery_web/live/invite_live/form_component.html.heex:28 +#: lib/cannery_web/live/invite_live/form_component.html.heex:31 #: lib/cannery_web/live/range_live/form_component.html.heex:40 #: lib/cannery_web/live/tag_live/form_component.ex:91 msgid "Save" diff --git a/priv/gettext/es/LC_MESSAGES/default.po b/priv/gettext/es/LC_MESSAGES/default.po index e3bafdd..0d2d7af 100644 --- a/priv/gettext/es/LC_MESSAGES/default.po +++ b/priv/gettext/es/LC_MESSAGES/default.po @@ -923,3 +923,8 @@ msgstr "" #: lib/cannery_web/live/home_live.ex:44 msgid "isn't he cute >:3" msgstr "" + +#, elixir-autogen, elixir-format +#: lib/cannery_web/live/invite_live/form_component.html.heex:28 +msgid "Leave \"Uses left\" blank to make invite unlimited" +msgstr "" diff --git a/priv/gettext/es/LC_MESSAGES/prompts.po b/priv/gettext/es/LC_MESSAGES/prompts.po index c15a535..84bcd92 100644 --- a/priv/gettext/es/LC_MESSAGES/prompts.po +++ b/priv/gettext/es/LC_MESSAGES/prompts.po @@ -161,7 +161,7 @@ msgstr "" #: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157 #: lib/cannery_web/live/container_live/form_component.html.heex:52 -#: lib/cannery_web/live/invite_live/form_component.html.heex:30 +#: lib/cannery_web/live/invite_live/form_component.html.heex:33 #: lib/cannery_web/live/range_live/form_component.html.heex:42 #: lib/cannery_web/live/tag_live/form_component.ex:93 msgid "Saving..." diff --git a/priv/gettext/fr/LC_MESSAGES/actions.po b/priv/gettext/fr/LC_MESSAGES/actions.po index d73f03b..2cee0d9 100644 --- a/priv/gettext/fr/LC_MESSAGES/actions.po +++ b/priv/gettext/fr/LC_MESSAGES/actions.po @@ -137,7 +137,7 @@ msgstr "Réinitialisé le mot de passe" #: lib/cannery_web/live/ammo_group_live/form_component.html.heex:73 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:156 #: lib/cannery_web/live/container_live/form_component.html.heex:50 -#: lib/cannery_web/live/invite_live/form_component.html.heex:28 +#: lib/cannery_web/live/invite_live/form_component.html.heex:31 #: lib/cannery_web/live/range_live/form_component.html.heex:40 #: lib/cannery_web/live/tag_live/form_component.ex:91 msgid "Save" diff --git a/priv/gettext/fr/LC_MESSAGES/default.po b/priv/gettext/fr/LC_MESSAGES/default.po index 6fb87a2..60a8441 100644 --- a/priv/gettext/fr/LC_MESSAGES/default.po +++ b/priv/gettext/fr/LC_MESSAGES/default.po @@ -931,3 +931,8 @@ msgstr "" #: lib/cannery_web/live/home_live.ex:44 msgid "isn't he cute >:3" msgstr "" + +#, elixir-autogen, elixir-format +#: lib/cannery_web/live/invite_live/form_component.html.heex:28 +msgid "Leave \"Uses left\" blank to make invite unlimited" +msgstr "" diff --git a/priv/gettext/fr/LC_MESSAGES/prompts.po b/priv/gettext/fr/LC_MESSAGES/prompts.po index ccd8f46..5c210a9 100644 --- a/priv/gettext/fr/LC_MESSAGES/prompts.po +++ b/priv/gettext/fr/LC_MESSAGES/prompts.po @@ -170,7 +170,7 @@ msgstr "S’enregistrer pour mettre en place %{name}" #: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157 #: lib/cannery_web/live/container_live/form_component.html.heex:52 -#: lib/cannery_web/live/invite_live/form_component.html.heex:30 +#: lib/cannery_web/live/invite_live/form_component.html.heex:33 #: lib/cannery_web/live/range_live/form_component.html.heex:42 #: lib/cannery_web/live/tag_live/form_component.ex:93 msgid "Saving..." diff --git a/priv/gettext/prompts.pot b/priv/gettext/prompts.pot index 0e914c1..f8a0286 100644 --- a/priv/gettext/prompts.pot +++ b/priv/gettext/prompts.pot @@ -150,7 +150,7 @@ msgstr "" #: lib/cannery_web/live/ammo_group_live/form_component.html.heex:74 #: lib/cannery_web/live/ammo_type_live/form_component.html.heex:157 #: lib/cannery_web/live/container_live/form_component.html.heex:52 -#: lib/cannery_web/live/invite_live/form_component.html.heex:30 +#: lib/cannery_web/live/invite_live/form_component.html.heex:33 #: lib/cannery_web/live/range_live/form_component.html.heex:42 #: lib/cannery_web/live/tag_live/form_component.ex:93 msgid "Saving..."