From f1f5107282383785bf9d8a9c5b5c108f00644afa Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Tue, 6 Nov 2018 14:52:23 +0100 Subject: New es plural function for JavaScript compatibility --- view/es-es/hmessages.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/es-es') diff --git a/view/es-es/hmessages.po b/view/es-es/hmessages.po index f2c1ccf79..3b42394b1 100644 --- a/view/es-es/hmessages.po +++ b/view/es-es/hmessages.po @@ -22,7 +22,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: es_ES\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=2; plural=(n != 1 ? 1 : 0);\n" #: ../../Zotlabs/Access/Permissions.php:56 msgid "Can view my channel stream and posts" -- cgit v1.2.3 From b08de33b0bf6cb866f430899ea7769faaa560622 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 7 Nov 2018 10:02:24 +0100 Subject: fix es-es hstrings.php --- view/es-es/hstrings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/es-es') diff --git a/view/es-es/hstrings.php b/view/es-es/hstrings.php index 2024504a1..a459e10dd 100644 --- a/view/es-es/hstrings.php +++ b/view/es-es/hstrings.php @@ -2,10 +2,10 @@ if(! function_exists("string_plural_select_es_es")) { function string_plural_select_es_es($n){ - return ($n != 1);; + return ($n != 1 ? 1 : 0); }} App::$rtl = 0; -App::$strings["plural_function_code"] = "(n != 1)"; +App::$strings["plural_function_code"] = "(n != 1 ? 1 : 0)"; App::$strings["Can view my channel stream and posts"] = "Pueden verse la actividad y publicaciones de mi canal"; App::$strings["Can send me their channel stream and posts"] = "Se me pueden enviar entradas y contenido de un canal"; App::$strings["Can view my default channel profile"] = "Puede verse mi perfil de canal predeterminado."; -- cgit v1.2.3