diff --git a/lib/cannery/containers.ex b/lib/cannery/containers.ex index 6eefb72..1e45e9b 100644 --- a/lib/cannery/containers.ex +++ b/lib/cannery/containers.ex @@ -104,8 +104,8 @@ defmodule Cannery.Containers do error_string = dngettext( "errors", - "There is still %{amount} ammo group in this container!", - "There are still %{amount} ammo groups in this container!", + "There is still %{amount} ammo group in this container", + "There are still %{amount} ammo groups in this container", amount ) diff --git a/priv/gettext/errors.pot b/priv/gettext/errors.pot index 32ee711..4d4ab6d 100644 --- a/priv/gettext/errors.pot +++ b/priv/gettext/errors.pot @@ -93,13 +93,6 @@ msgstr "" msgid "must be equal to %{number}" msgstr "" -#, elixir-format, ex-autogen -#: lib/cannery/containers.ex:105 -msgid "There is still %{amount} ammo group in this container!" -msgid_plural "There are still %{amount} ammo groups in this container!" -msgstr[0] "" -msgstr[1] "" - #, elixir-format, ex-autogen #: lib/cannery/accounts/user.ex:128 msgid "did not change" @@ -141,6 +134,13 @@ msgid "Unauthorized" msgstr "" #, elixir-format, ex-autogen -#: lib/cannery_web/templates/error/error.html.heex:25 +#: lib/cannery_web/templates/error/error.html.heex:28 msgid "Go back home" msgstr "" + +#, elixir-format, ex-autogen +#: lib/cannery/containers.ex:105 +msgid "There is still %{amount} ammo group in this container" +msgid_plural "There are still %{amount} ammo groups in this container" +msgstr[0] "" +msgstr[1] ""