From 5a4f93cac31040cba1bb74070b31ef78b92309c6 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 6 Aug 2018 13:39:27 +0200 Subject: [PATCH] PL translation securemail THX waldis --- securemail/lang/pl/messages.po | 2 +- securemail/lang/pl/strings.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/securemail/lang/pl/messages.po b/securemail/lang/pl/messages.po index 3c6f8cea..df52edf7 100644 --- a/securemail/lang/pl/messages.po +++ b/securemail/lang/pl/messages.po @@ -44,7 +44,7 @@ msgstr "Twój publiczny klucz PGP, rekomendowany format ascii" #: securemail.php:74 msgid "Secure Mail Settings saved." -msgstr "Bezpieczne ustawienia poczty zostały zapisane." +msgstr "Ustawienia bezpiecznej poczty zostały zapisane." #: securemail.php:111 msgid "Test email sent" diff --git a/securemail/lang/pl/strings.php b/securemail/lang/pl/strings.php index 1ea6db3d..7b66d591 100644 --- a/securemail/lang/pl/strings.php +++ b/securemail/lang/pl/strings.php @@ -2,6 +2,7 @@ if(! function_exists("string_plural_select_pl")) { function string_plural_select_pl($n){ + $n = intval($n); return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);; }} ; @@ -11,6 +12,6 @@ $a->strings["Save and send test"] = "Zapisz i wyślij test"; $a->strings["Enable Secure Mail"] = "Włącz bezpieczną pocztę"; $a->strings["Public key"] = "Klucz publiczny"; $a->strings["Your public PGP key, ascii armored format"] = "Twój publiczny klucz PGP, rekomendowany format ascii"; -$a->strings["Secure Mail Settings saved."] = "Bezpieczne ustawienia poczty zostały zapisane."; +$a->strings["Secure Mail Settings saved."] = "Ustawienia bezpiecznej poczty zostały zapisane."; $a->strings["Test email sent"] = "Wysłano testowy e-mail"; $a->strings["There was an error sending the test email"] = "Wystąpił błąd podczas wysyłania e-maila testowego";