CS, EN US localization superblock addon

This commit is contained in:
Tobias Diekershoff 2018-06-18 11:37:59 +02:00
parent 14996bd9b0
commit befc6eeb58
4 changed files with 85 additions and 24 deletions

View file

@ -4,41 +4,43 @@
# #
# #
# Translators: # Translators:
# Michal Šupler <msupler@gmail.com>, 2014 # Aditoo, 2018
# Aditoo, 2018
# michal_s <msupler@gmail.com>, 2014
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: friendica\n" "Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-23 14:45+0200\n" "POT-Creation-Date: 2017-04-21 08:45+0200\n"
"PO-Revision-Date: 2014-07-28 18:16+0000\n" "PO-Revision-Date: 2018-06-13 17:58+0000\n"
"Last-Translator: Michal Šupler <msupler@gmail.com>\n" "Last-Translator: Aditoo\n"
"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" "Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: cs\n" "Language: cs\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
#: superblock.php:52 #: superblock.php:53 superblock.php:57
msgid "\"Superblock\" Settings" msgid "\"Superblock\""
msgstr "\"Superblock\" Nastavení" msgstr "\"Superblock\""
#: superblock.php:54 #: superblock.php:60
msgid "Comma separated profile URLS to block" msgid "Comma separated profile URLS to block"
msgstr "Čárkou oddělené URL adresy profilů určených k ignorování" msgstr "Čárkou oddělené URL adresy profilů určených k ignorování"
#: superblock.php:58 #: superblock.php:64
msgid "Save Settings" msgid "Save Settings"
msgstr "Uložit Nastavení" msgstr "Uložit nastavení"
#: superblock.php:71 #: superblock.php:76
msgid "SUPERBLOCK Settings saved." msgid "SUPERBLOCK Settings saved."
msgstr "SUPERBLOCK nastavení uloženo." msgstr "Nastavení SUPERBLOCK uložena"
#: superblock.php:143 #: superblock.php:148
msgid "Block Completely" msgid "Block Completely"
msgstr "Kompletně blokovat " msgstr "Zablokovat úplně"
#: superblock.php:163 #: superblock.php:168
msgid "superblock settings updated" msgid "superblock settings updated"
msgstr "superblock nastavení aktualizováno." msgstr "nastavvení superblock aktualizována"

View file

@ -2,12 +2,13 @@
if(! function_exists("string_plural_select_cs")) { if(! function_exists("string_plural_select_cs")) {
function string_plural_select_cs($n){ function string_plural_select_cs($n){
return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;; $n = intval($n);
return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;;
}} }}
; ;
$a->strings["\"Superblock\" Settings"] = "\"Superblock\" Nastavení"; $a->strings["\"Superblock\""] = "\"Superblock\"";
$a->strings["Comma separated profile URLS to block"] = "Čárkou oddělené URL adresy profilů určených k ignorování"; $a->strings["Comma separated profile URLS to block"] = "Čárkou oddělené URL adresy profilů určených k ignorování";
$a->strings["Save Settings"] = "Uložit Nastavení"; $a->strings["Save Settings"] = "Uložit nastavení";
$a->strings["SUPERBLOCK Settings saved."] = "SUPERBLOCK nastavení uloženo."; $a->strings["SUPERBLOCK Settings saved."] = "Nastavení SUPERBLOCK uložena";
$a->strings["Block Completely"] = "Kompletně blokovat "; $a->strings["Block Completely"] = "Zablokovat úplně";
$a->strings["superblock settings updated"] = "superblock nastavení aktualizováno."; $a->strings["superblock settings updated"] = "nastavvení superblock aktualizována";

View file

@ -0,0 +1,44 @@
# ADDON superblock
# Copyright (C)
# This file is distributed under the same license as the Friendica superblock addon package.
#
#
# Translators:
# R C <miqrogroove@gmail.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-21 08:45+0200\n"
"PO-Revision-Date: 2018-06-13 02:39+0000\n"
"Last-Translator: R C <miqrogroove@gmail.com>\n"
"Language-Team: English (United States) (http://www.transifex.com/Friendica/friendica/language/en_US/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: en_US\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: superblock.php:53 superblock.php:57
msgid "\"Superblock\""
msgstr ""
#: superblock.php:60
msgid "Comma separated profile URLS to block"
msgstr "Comma-separated profile URLs to block"
#: superblock.php:64
msgid "Save Settings"
msgstr ""
#: superblock.php:76
msgid "SUPERBLOCK Settings saved."
msgstr ""
#: superblock.php:148
msgid "Block Completely"
msgstr ""
#: superblock.php:168
msgid "superblock settings updated"
msgstr ""

View file

@ -0,0 +1,14 @@
<?php
if(! function_exists("string_plural_select_en_us")) {
function string_plural_select_en_us($n){
$n = intval($n);
return ($n != 1);;
}}
;
$a->strings["\"Superblock\""] = "";
$a->strings["Comma separated profile URLS to block"] = "Comma-separated profile URLs to block";
$a->strings["Save Settings"] = "";
$a->strings["SUPERBLOCK Settings saved."] = "";
$a->strings["Block Completely"] = "";
$a->strings["superblock settings updated"] = "";