From 9aaf5c9332a6c16662c1396e233b522c47390628 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Fri, 4 Aug 2023 12:07:43 +0100 Subject: [PATCH] Fix gettext warnings --- priv/gettext/en_test/LC_MESSAGES/default.po | 2 +- priv/gettext/en_test/LC_MESSAGES/errors.po | 2 +- priv/gettext/en_test/LC_MESSAGES/posix_errors.po | 2 +- priv/gettext/ru/LC_MESSAGES/errors.po | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/priv/gettext/en_test/LC_MESSAGES/default.po b/priv/gettext/en_test/LC_MESSAGES/default.po index e8053819b..9ee6946b5 100644 --- a/priv/gettext/en_test/LC_MESSAGES/default.po +++ b/priv/gettext/en_test/LC_MESSAGES/default.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Language: en_test\n" -"Plural-Forms: nplurals=2\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/pleroma/web/api_spec/render_error.ex:122 #, elixir-autogen, elixir-format diff --git a/priv/gettext/en_test/LC_MESSAGES/errors.po b/priv/gettext/en_test/LC_MESSAGES/errors.po index c432eafb3..0676dcbd3 100644 --- a/priv/gettext/en_test/LC_MESSAGES/errors.po +++ b/priv/gettext/en_test/LC_MESSAGES/errors.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Language: en_test\n" -"Plural-Forms: nplurals=2\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "can't be blank" msgstr "" diff --git a/priv/gettext/en_test/LC_MESSAGES/posix_errors.po b/priv/gettext/en_test/LC_MESSAGES/posix_errors.po index 663fc5924..35ea7c7cd 100644 --- a/priv/gettext/en_test/LC_MESSAGES/posix_errors.po +++ b/priv/gettext/en_test/LC_MESSAGES/posix_errors.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Language: en_test\n" -"Plural-Forms: nplurals=2\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "eperm" msgstr "" diff --git a/priv/gettext/ru/LC_MESSAGES/errors.po b/priv/gettext/ru/LC_MESSAGES/errors.po index fa1ca81a0..75e11eeea 100644 --- a/priv/gettext/ru/LC_MESSAGES/errors.po +++ b/priv/gettext/ru/LC_MESSAGES/errors.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Language: ru\n" -"Plural-Forms: nplurals=3\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100 != 11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10||n%100>=20) ? 1 : 2);\n" msgid "can't be blank" msgstr "не может быть пустым"