diff --git a/CHANGELOG.md b/CHANGELOG.md index a94b15b4..0552dbd8 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 27c2fa24..9c6545a7 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 6619e8c2..32d443ea 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 71ba2c28..03ffa208 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 37b3c240..71b9738c 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 8a7e8999..dd86fc9b 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 d8d43bdb..aaa8cf4e 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 8b2d72ca..fbe8a46c 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 05673371..8edd0d60 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 3d57773d..551cac9e 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 7473eb14..9e48d02a 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 e3bafdd0..0d2d7afa 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 c15a5355..84bcd923 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 d73f03be..2cee0d91 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 6fb87a2e..60a84417 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 ccd8f46b..5c210a95 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 0e914c11..f8a02860 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..."