From f4d67dbeef3694a2ee844d0a0965c5bf1bc5e0d7 Mon Sep 17 00:00:00 2001 From: shibao Date: Tue, 8 Feb 2022 23:22:30 -0500 Subject: [PATCH] remove punctuation from error --- lib/cannery/containers.ex | 4 ++-- priv/gettext/errors.pot | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/cannery/containers.ex b/lib/cannery/containers.ex index 6eefb726..1e45e9ba 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 32ee711b..4d4ab6da 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] ""