From 0d204c07daf84169f9623b6a8215636cdb13b43a Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 18 Jun 2018 05:15:46 +0000 Subject: [PATCH 01/24] More item calls have been converted to current functions --- pumpio/pumpio.php | 118 ++++++++++++-------------------------------- twitter/twitter.php | 61 +++++++---------------- 2 files changed, 50 insertions(+), 129 deletions(-) diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index d57f1485..ce47c687 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -403,17 +403,14 @@ function pumpio_send(&$a,&$b) { if($b['parent'] != $b['id']) { // Looking if its a reply to a pumpio post - $r = q("SELECT item.* FROM item, contact WHERE item.id = %d AND item.uid = %d AND contact.id = `contact-id` AND contact.network='%s'LIMIT 1", - intval($b["parent"]), - intval($b["uid"]), - dbesc(NETWORK_PUMPIO)); + $condition = ['id' => $b['parent'], 'network' => NETWORK_PUMPIO]; + $orig_post = Item::selectFirst([], $condition); - if(!count($r)) { + if(!DBM::is_result($orig_post)) { logger("pumpio_send: no pumpio post ".$b["parent"]); return; } else { $iscomment = true; - $orig_post = $r[0]; } } else { $iscomment = false; @@ -572,15 +569,11 @@ function pumpio_action(&$a, $uid, $uri, $action, $content = "") { $hostname = PConfig::get($uid, 'pumpio','host'); $username = PConfig::get($uid, "pumpio", "user"); - $r = q("SELECT * FROM `item` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1", - dbesc($uri), - intval($uid) - ); + $orig_post = Item::select([], ['uri' => $uri, 'uid' => $uid]); - if (!count($r)) + if (!DBM::is_result($orig_post)) { return; - - $orig_post = $r[0]; + } if ($orig_post["extid"] && !strstr($orig_post["extid"], "/proxy/")) $uri = $orig_post["extid"]; @@ -828,23 +821,12 @@ function pumpio_fetchtimeline(&$a, $uid) { function pumpio_dounlike(&$a, $uid, $self, $post, $own_id) { // Searching for the unliked post // Two queries for speed issues - $r = q("SELECT * FROM `item` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1", - dbesc($post->object->id), - intval($uid) - ); - - if (count($r)) - $orig_post = $r[0]; - else { - $r = q("SELECT * FROM `item` WHERE `extid` = '%s' AND `uid` = %d LIMIT 1", - dbesc($post->object->id), - intval($uid) - ); - - if (!count($r)) + $orig_post = Item::select([], ['uri' => $post->object->id, 'uid' => $uid]); + if (!DBM::is_result($r)) { + $orig_post = Item::select([], ['extid' => $post->object->id, 'uid' => $uid]); + if (!DBM::is_result($r)) { return; - else - $orig_post = $r[0]; + } } $contactid = 0; @@ -882,25 +864,12 @@ function pumpio_dolike(&$a, $uid, $self, $post, $own_id, $threadcompletion = tru // Searching for the liked post // Two queries for speed issues - $r = q("SELECT * FROM `item` WHERE `uri` = '%s' AND `uid` = %d AND `network` = '%s' LIMIT 1", - dbesc($post->object->id), - intval($uid), - dbesc(NETWORK_PUMPIO) - ); - - if (count($r)) - $orig_post = $r[0]; - else { - $r = q("SELECT * FROM `item` WHERE `extid` = '%s' AND `uid` = %d AND `network` = '%s' LIMIT 1", - dbesc($post->object->id), - intval($uid), - dbesc(NETWORK_PUMPIO) - ); - - if (!count($r)) + $orig_post = Item::select([], ['uri' => $post->object->id, 'uid' => $uid]); + if (!DBM::is_result($r)) { + $orig_post = Item::select([], ['extid' => $post->object->id, 'uid' => $uid]); + if (!DBM::is_result($r)) { return; - else - $orig_post = $r[0]; + } } // thread completion @@ -927,14 +896,8 @@ function pumpio_dolike(&$a, $uid, $self, $post, $own_id, $threadcompletion = tru $contactid = $orig_post['contact-id']; } - $r = q("SELECT parent FROM `item` WHERE `verb` = '%s' AND `uid` = %d AND `contact-id` = %d AND `thr-parent` = '%s' LIMIT 1", - dbesc(ACTIVITY_LIKE), - intval($uid), - intval($contactid), - dbesc($orig_post['uri']) - ); - - if(count($r)) { + $condition = ['verb' => ACTIVITY_LIKE, 'uid' => $uid, 'contact-id' => $contactid, 'thr-parent' => $orig_post['uri']]; + if (dba::exists('item', $condition)) { logger("pumpio_dolike: found existing like. User ".$own_id." ".$uid." Contact: ".$contactid." Url ".$orig_post['uri']); return; } @@ -1070,21 +1033,12 @@ function pumpio_dopost(&$a, $client, $uid, $self, $post, $own_id, $threadcomplet if ($post->verb != "update") { // Two queries for speed issues - $r = q("SELECT * FROM `item` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1", - dbesc($post->object->id), - intval($uid) - ); - - if (count($r)) + if (dba::exists('item', ['uri' => $post->object->id, 'uid' => $uid])) { return false; - - $r = q("SELECT * FROM `item` WHERE `extid` = '%s' AND `uid` = %d LIMIT 1", - dbesc($post->object->id), - intval($uid) - ); - - if (count($r)) + } + if (dba::exists('item', ['extid' => $post->object->id, 'uid' => $uid])) { return false; + } } // Only handle these three types @@ -1525,15 +1479,13 @@ function pumpio_fetchallcomments(&$a, $uid, $id) { intval($uid)); // Fetching the original post - $r = q("SELECT `extid` FROM `item` WHERE `uri` = '%s' AND `uid` = %d AND `extid` != '' LIMIT 1", - dbesc($id), - intval($uid) - ); - - if (!count($r)) + $condition = ["`uri` = ? AND `uid` = ? AND `extid` != ''", $id, $uid]; + $item = Item::selectFirst(['extid'], $condition); + if (!DBM::is_result($r)) { return false; + } - $url = $r[0]["extid"]; + $url = $item["extid"]; $client = new oauth_client_class; $client->oauth_version = '1.0a'; @@ -1579,21 +1531,13 @@ function pumpio_fetchallcomments(&$a, $uid, $id) { continue; // Checking if the comment already exists - Two queries for speed issues - $r = q("SELECT extid FROM `item` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1", - dbesc($item->id), - intval($uid) - ); - - if (count($r)) + if (dba::exists('item', ['uri' => $item->id, 'uid' => $uid])) { continue; + } - $r = q("SELECT extid FROM `item` WHERE `extid` = '%s' AND `uid` = %d LIMIT 1", - dbesc($item->id), - intval($uid) - ); - - if (count($r)) + if (dba::exists('item', ['extid' => $item->id, 'uid' => $uid])) { continue; + } $post = new stdClass; $post->verb = "post"; diff --git a/twitter/twitter.php b/twitter/twitter.php index 3e2d90d7..217736f6 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -721,15 +721,11 @@ function twitter_expire(App $a, $b) return; } - if (method_exists('dba', 'delete')) { - $r = dba::select('item', ['id'], ['deleted' => true, 'network' => NETWORK_TWITTER]); - while ($row = dba::fetch($r)) { - dba::delete('item', ['id' => $row['id']]); - } - dba::close($r); - } else { - $r = q("DELETE FROM `item` WHERE `deleted` AND `network` = '%s'", dbesc(NETWORK_TWITTER)); + $r = dba::select('item', ['id'], ['deleted' => true, 'network' => NETWORK_TWITTER]); + while ($row = dba::fetch($r)) { + dba::delete('item', ['id' => $row['id']]); } + dba::close($r); require_once "include/items.php"; @@ -1322,12 +1318,7 @@ function twitter_createpost(App $a, $uid, $post, $self, $create_user, $only_exis // $postarray['object'] = json_encode($post); // Activate for debugging // Don't import our own comments - $r = q("SELECT * FROM `item` WHERE `extid` = '%s' AND `uid` = %d LIMIT 1", - dbesc($postarray['uri']), - intval($uid) - ); - - if (DBM::is_result($r)) { + if (dba::exists('item', ['extid' => $postarray['uri'], 'uid' => $uid])) { logger("Item with extid " . $postarray['uri'] . " found.", LOGGER_DEBUG); return []; } @@ -1337,30 +1328,21 @@ function twitter_createpost(App $a, $uid, $post, $self, $create_user, $only_exis if ($post->in_reply_to_status_id_str != "") { $parent = "twitter::" . $post->in_reply_to_status_id_str; - $r = q("SELECT * FROM `item` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1", - dbesc($parent), - intval($uid) - ); - if (DBM::is_result($r)) { - $postarray['thr-parent'] = $r[0]["uri"]; - $postarray['parent-uri'] = $r[0]["parent-uri"]; - $postarray['parent'] = $r[0]["parent"]; + $fields = ['uri', 'parent-uri', 'parent']; + $parent_item = Item::selectFirst($fields, ['uri' => $parent, 'uid' => $uid]); + if (!DBM::is_result($parent_item)) { + $parent_item = Item::selectFirst($fields, ['extid' => $parent, 'uid' => $uid]); + } + + if (DBM::is_result($parent_item)) { + $postarray['thr-parent'] = $parent_item['uri']; + $postarray['parent-uri'] = $parent_item['parent-uri']; + $postarray['parent'] = $parent_item['parent']; $postarray['object-type'] = ACTIVITY_OBJ_COMMENT; } else { - $r = q("SELECT * FROM `item` WHERE `extid` = '%s' AND `uid` = %d LIMIT 1", - dbesc($parent), - intval($uid) - ); - if (DBM::is_result($r)) { - $postarray['thr-parent'] = $r[0]['uri']; - $postarray['parent-uri'] = $r[0]['parent-uri']; - $postarray['parent'] = $r[0]['parent']; - $postarray['object-type'] = ACTIVITY_OBJ_COMMENT; - } else { - $postarray['thr-parent'] = $postarray['uri']; - $postarray['parent-uri'] = $postarray['uri']; - $postarray['object-type'] = ACTIVITY_OBJ_NOTE; - } + $postarray['thr-parent'] = $postarray['uri']; + $postarray['parent-uri'] = $postarray['uri']; + $postarray['object-type'] = ACTIVITY_OBJ_NOTE; } // Is it me? @@ -1506,12 +1488,7 @@ function twitter_fetchparentposts(App $a, $uid, $post, TwitterOAuth $connection, break; } - $r = q("SELECT * FROM `item` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1", - dbesc("twitter::".$post->id_str), - intval($uid) - ); - - if (DBM::is_result($r)) { + if (dba::exists('item', ['uri' => 'twitter::' . $post->id_str, 'uid' => $uid])) { break; } -- 2.43.5 From 5f3320ef582771c1cc3438587cc4fe6f874c05d1 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 08:34:52 +0200 Subject: [PATCH 02/24] update CS translation of the advancedcontentfilter addon THX Aditoo --- advancedcontentfilter/lang/cs/messages.po | 66 +++++++++++++---------- advancedcontentfilter/lang/cs/strings.php | 62 ++++++++++----------- 2 files changed, 68 insertions(+), 60 deletions(-) diff --git a/advancedcontentfilter/lang/cs/messages.po b/advancedcontentfilter/lang/cs/messages.po index dacaa603..ea39716e 100644 --- a/advancedcontentfilter/lang/cs/messages.po +++ b/advancedcontentfilter/lang/cs/messages.po @@ -10,7 +10,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-04-17 04:04+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Lorem Ipsum , 2018\n" +"Last-Translator: Aditoo, 2018\n" "Language-Team: Czech (https://www.transifex.com/Friendica/teams/12172/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -21,7 +21,7 @@ msgstr "" #: advancedcontentfilter.php:134 #, php-format msgid "Filtered by rule: %s" -msgstr "" +msgstr "Filtrováno podle pravidla: %s" #: advancedcontentfilter.php:147 advancedcontentfilter.php:204 msgid "Advanced Content Filter" @@ -29,11 +29,11 @@ msgstr "Rozšířený filtr obsahu" #: advancedcontentfilter.php:203 msgid "Back to Addon Settings" -msgstr "" +msgstr "Zpět na nastavení doplňku" #: advancedcontentfilter.php:205 msgid "Add a Rule" -msgstr "" +msgstr "Přidat pravidlo" #: advancedcontentfilter.php:206 msgid "Help" @@ -46,119 +46,127 @@ msgid "" "For a complete reference of the available operations and variables, check " "the help page." msgstr "" +"Přidávejte a spravujte Vaše osobní pravidla pro filtrování obsahu na této " +"obrazovce. Pravidla mají název a libovolný výraz, který bude porovnán s daty" +" příspěvku. Pro úplnou referenci dostupných operací a proměnných navštivte " +"stránku nápovědy." #: advancedcontentfilter.php:208 msgid "Your rules" -msgstr "" +msgstr "Vaše pravidla" #: advancedcontentfilter.php:209 msgid "" "You have no rules yet! Start adding one by clicking on the button above next" " to the title." msgstr "" +"Ještě nemáte žádná pravidla! Přidejte první kliknutím na tlačítko nahoře " +"vedle nadpisu." #: advancedcontentfilter.php:210 msgid "Disabled" -msgstr "" +msgstr "Zakázáno" #: advancedcontentfilter.php:211 msgid "Enabled" -msgstr "" +msgstr "Povoleno" #: advancedcontentfilter.php:212 msgid "Disable this rule" -msgstr "" +msgstr "Zakázat toto pravidlo" #: advancedcontentfilter.php:213 msgid "Enable this rule" -msgstr "" +msgstr "Povolit toto pravidlo" #: advancedcontentfilter.php:214 msgid "Edit this rule" -msgstr "" +msgstr "Upravit toto pravidlo" #: advancedcontentfilter.php:215 msgid "Edit the rule" -msgstr "" +msgstr "Upravit pravidlo" #: advancedcontentfilter.php:216 msgid "Save this rule" -msgstr "" +msgstr "Uložit toto pravidlo" #: advancedcontentfilter.php:217 msgid "Delete this rule" -msgstr "" +msgstr "Smazat toto pravidlo" #: advancedcontentfilter.php:218 msgid "Rule" -msgstr "" +msgstr "Pravidlo" #: advancedcontentfilter.php:219 msgid "Close" -msgstr "" +msgstr "Zavřít" #: advancedcontentfilter.php:220 msgid "Add new rule" -msgstr "" +msgstr "Přidat nové pravidlo" #: advancedcontentfilter.php:221 msgid "Rule Name" -msgstr "" +msgstr "Název pravidla" #: advancedcontentfilter.php:222 msgid "Rule Expression" -msgstr "" +msgstr "Výraz pravidla" #: advancedcontentfilter.php:223 msgid "" "

Examples:

  • author_link == "
     "'https://friendica.mrpetovan.com/profile/hypolite'
  • tags
" msgstr "" +"

Příklady:

  • author_link == "
    +"'https://friendica.mrpetovan.com/profile/hypolite'
  • tags
" #: advancedcontentfilter.php:224 msgid "Cancel" -msgstr "" +msgstr "Zrušit" #: advancedcontentfilter.php:290 advancedcontentfilter.php:301 #: advancedcontentfilter.php:312 advancedcontentfilter.php:346 #: advancedcontentfilter.php:375 advancedcontentfilter.php:396 msgid "You must be logged in to use this method" -msgstr "" +msgstr "Pro použití této metody musíte být přihlášen/a" #: advancedcontentfilter.php:316 advancedcontentfilter.php:350 #: advancedcontentfilter.php:379 msgid "Invalid form security token, please refresh the page." -msgstr "" +msgstr "Neplatná forma bezpečnostního tokenu, prosím obnovte stránku." #: advancedcontentfilter.php:328 msgid "The rule name and expression are required." -msgstr "" +msgstr "Je požadován název pravidla a výraz." #: advancedcontentfilter.php:340 msgid "Rule successfully added" -msgstr "" +msgstr "Pravidlo úspěšně přidáno" #: advancedcontentfilter.php:354 advancedcontentfilter.php:383 msgid "Rule doesn't exist or doesn't belong to you." -msgstr "" +msgstr "Pravidlo buď neexistuje, nebo Vám nepatří." #: advancedcontentfilter.php:369 msgid "Rule successfully updated" -msgstr "" +msgstr "Pravidlo úspěšně aktualizováno" #: advancedcontentfilter.php:390 msgid "Rule successfully deleted" -msgstr "" +msgstr "Pravidlo úspěšně smazáno" #: advancedcontentfilter.php:400 msgid "Missing argument: guid." -msgstr "" +msgstr "Chybí argument: guid." #: advancedcontentfilter.php:406 #, php-format msgid "Unknown post with guid: %s" -msgstr "" +msgstr "Neznámý pžíspěvek s číslem guid: %s" #: src/middlewares.php:28 msgid "Method not found" -msgstr "" +msgstr "Metoda nenalezena" diff --git a/advancedcontentfilter/lang/cs/strings.php b/advancedcontentfilter/lang/cs/strings.php index c249aab6..08349a45 100644 --- a/advancedcontentfilter/lang/cs/strings.php +++ b/advancedcontentfilter/lang/cs/strings.php @@ -6,36 +6,36 @@ function string_plural_select_cs($n){ return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; }} ; -$a->strings["Filtered by rule: %s"] = ""; +$a->strings["Filtered by rule: %s"] = "Filtrováno podle pravidla: %s"; $a->strings["Advanced Content Filter"] = "Rozšířený filtr obsahu"; -$a->strings["Back to Addon Settings"] = ""; -$a->strings["Add a Rule"] = ""; +$a->strings["Back to Addon Settings"] = "Zpět na nastavení doplňku"; +$a->strings["Add a Rule"] = "Přidat pravidlo"; $a->strings["Help"] = "Nápověda"; -$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."] = ""; -$a->strings["Your rules"] = ""; -$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = ""; -$a->strings["Disabled"] = ""; -$a->strings["Enabled"] = ""; -$a->strings["Disable this rule"] = ""; -$a->strings["Enable this rule"] = ""; -$a->strings["Edit this rule"] = ""; -$a->strings["Edit the rule"] = ""; -$a->strings["Save this rule"] = ""; -$a->strings["Delete this rule"] = ""; -$a->strings["Rule"] = ""; -$a->strings["Close"] = ""; -$a->strings["Add new rule"] = ""; -$a->strings["Rule Name"] = ""; -$a->strings["Rule Expression"] = ""; -$a->strings["

Examples:

  • author_link == 'https://friendica.mrpetovan.com/profile/hypolite'
  • tags
"] = ""; -$a->strings["Cancel"] = ""; -$a->strings["You must be logged in to use this method"] = ""; -$a->strings["Invalid form security token, please refresh the page."] = ""; -$a->strings["The rule name and expression are required."] = ""; -$a->strings["Rule successfully added"] = ""; -$a->strings["Rule doesn't exist or doesn't belong to you."] = ""; -$a->strings["Rule successfully updated"] = ""; -$a->strings["Rule successfully deleted"] = ""; -$a->strings["Missing argument: guid."] = ""; -$a->strings["Unknown post with guid: %s"] = ""; -$a->strings["Method not found"] = ""; +$a->strings["Add and manage your personal content filter rules in this screen. Rules have a name and an arbitrary expression that will be matched against post data. For a complete reference of the available operations and variables, check the help page."] = "Přidávejte a spravujte Vaše osobní pravidla pro filtrování obsahu na této obrazovce. Pravidla mají název a libovolný výraz, který bude porovnán s daty příspěvku. Pro úplnou referenci dostupných operací a proměnných navštivte stránku nápovědy."; +$a->strings["Your rules"] = "Vaše pravidla"; +$a->strings["You have no rules yet! Start adding one by clicking on the button above next to the title."] = "Ještě nemáte žádná pravidla! Přidejte první kliknutím na tlačítko nahoře vedle nadpisu."; +$a->strings["Disabled"] = "Zakázáno"; +$a->strings["Enabled"] = "Povoleno"; +$a->strings["Disable this rule"] = "Zakázat toto pravidlo"; +$a->strings["Enable this rule"] = "Povolit toto pravidlo"; +$a->strings["Edit this rule"] = "Upravit toto pravidlo"; +$a->strings["Edit the rule"] = "Upravit pravidlo"; +$a->strings["Save this rule"] = "Uložit toto pravidlo"; +$a->strings["Delete this rule"] = "Smazat toto pravidlo"; +$a->strings["Rule"] = "Pravidlo"; +$a->strings["Close"] = "Zavřít"; +$a->strings["Add new rule"] = "Přidat nové pravidlo"; +$a->strings["Rule Name"] = "Název pravidla"; +$a->strings["Rule Expression"] = "Výraz pravidla"; +$a->strings["

Examples:

  • author_link == 'https://friendica.mrpetovan.com/profile/hypolite'
  • tags
"] = "

Příklady:

  • author_link == 'https://friendica.mrpetovan.com/profile/hypolite'
  • tags
"; +$a->strings["Cancel"] = "Zrušit"; +$a->strings["You must be logged in to use this method"] = "Pro použití této metody musíte být přihlášen/a"; +$a->strings["Invalid form security token, please refresh the page."] = "Neplatná forma bezpečnostního tokenu, prosím obnovte stránku."; +$a->strings["The rule name and expression are required."] = "Je požadován název pravidla a výraz."; +$a->strings["Rule successfully added"] = "Pravidlo úspěšně přidáno"; +$a->strings["Rule doesn't exist or doesn't belong to you."] = "Pravidlo buď neexistuje, nebo Vám nepatří."; +$a->strings["Rule successfully updated"] = "Pravidlo úspěšně aktualizováno"; +$a->strings["Rule successfully deleted"] = "Pravidlo úspěšně smazáno"; +$a->strings["Missing argument: guid."] = "Chybí argument: guid."; +$a->strings["Unknown post with guid: %s"] = "Neznámý pžíspěvek s číslem guid: %s"; +$a->strings["Method not found"] = "Metoda nenalezena"; -- 2.43.5 From e4b84f3063a50073efeb4f2ff018aa34fd74efc4 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 08:40:51 +0200 Subject: [PATCH 03/24] CS and EN-US localization update of the blockem addon --- blockem/lang/cs/messages.po | 43 ++++++++++++++++++++-------------- blockem/lang/cs/strings.php | 14 ++++++----- blockem/lang/en-us/messages.po | 7 +++--- blockem/lang/en-us/strings.php | 3 ++- 4 files changed, 39 insertions(+), 28 deletions(-) diff --git a/blockem/lang/cs/messages.po b/blockem/lang/cs/messages.po index 249f57eb..0ddd645e 100644 --- a/blockem/lang/cs/messages.po +++ b/blockem/lang/cs/messages.po @@ -4,50 +4,57 @@ # # # Translators: -# Michal Šupler , 2014 +# Aditoo, 2018 +# michal_s , 2014 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-06-22 13:18+0200\n" -"PO-Revision-Date: 2014-07-02 15:28+0000\n" -"Last-Translator: Michal Šupler \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" +"POT-Creation-Date: 2018-04-01 11:11-0400\n" +"PO-Revision-Date: 2018-06-13 18:06+0000\n" +"Last-Translator: Aditoo\n" +"Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\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" -#: blockem.php:53 blockem.php:57 +#: blockem.php:52 blockem.php:56 msgid "\"Blockem\"" msgstr "\"Blockem\"" +#: blockem.php:60 +msgid "" +"Hides user's content by collapsing posts. Also replaces their avatar with " +"generic image." +msgstr "Skrývá uživatelský obsah zabalením příspěvků. Navíc nahrazuje avatar generickým obrázkem." + #: blockem.php:61 -msgid "Comma separated profile URLS to block" -msgstr "Čárkou oddělené URL adresy profilů určených k ignorování" +msgid "Comma separated profile URLS:" +msgstr "URL adresy profilů, oddělené čárkami:" #: blockem.php:65 msgid "Save Settings" -msgstr "Uložit Nastavení" +msgstr "Uložit nastavení" #: blockem.php:78 msgid "BLOCKEM Settings saved." -msgstr "BLOCKEM nastavení uloženo." +msgstr "Nastavení BLOCKEM uložena." -#: blockem.php:142 +#: blockem.php:136 #, php-format -msgid "Blocked %s - Click to open/close" -msgstr "Blokován %s - Klikněte pro otevření/zavření" +msgid "Filtered user: %s" +msgstr "Filtrovaný uživatel: %s" -#: blockem.php:197 +#: blockem.php:189 msgid "Unblock Author" msgstr "Odblokovat autora" -#: blockem.php:199 +#: blockem.php:191 msgid "Block Author" msgstr "Zablokovat autora" -#: blockem.php:231 +#: blockem.php:223 msgid "blockem settings updated" -msgstr "blockem nastavení aktualizováno" +msgstr "nastavení blockem aktualizována" diff --git a/blockem/lang/cs/strings.php b/blockem/lang/cs/strings.php index fad08059..eb1dd7ec 100644 --- a/blockem/lang/cs/strings.php +++ b/blockem/lang/cs/strings.php @@ -2,14 +2,16 @@ if(! function_exists("string_plural_select_cs")) { 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["\"Blockem\""] = "\"Blockem\""; -$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["BLOCKEM Settings saved."] = "BLOCKEM nastavení uloženo."; -$a->strings["Blocked %s - Click to open/close"] = "Blokován %s - Klikněte pro otevření/zavření"; +$a->strings["Hides user's content by collapsing posts. Also replaces their avatar with generic image."] = "Skrývá uživatelský obsah zabalením příspěvků. Navíc nahrazuje avatar generickým obrázkem."; +$a->strings["Comma separated profile URLS:"] = "URL adresy profilů, oddělené čárkami:"; +$a->strings["Save Settings"] = "Uložit nastavení"; +$a->strings["BLOCKEM Settings saved."] = "Nastavení BLOCKEM uložena."; +$a->strings["Filtered user: %s"] = "Filtrovaný uživatel: %s"; $a->strings["Unblock Author"] = "Odblokovat autora"; $a->strings["Block Author"] = "Zablokovat autora"; -$a->strings["blockem settings updated"] = "blockem nastavení aktualizováno"; +$a->strings["blockem settings updated"] = "nastavení blockem aktualizována"; diff --git a/blockem/lang/en-us/messages.po b/blockem/lang/en-us/messages.po index ccaa21b0..1d64620b 100644 --- a/blockem/lang/en-us/messages.po +++ b/blockem/lang/en-us/messages.po @@ -6,13 +6,14 @@ # Translators: # Adam Clark , 2018 # Andy H3 , 2018 +# R C , 2018 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-04-01 11:11-0400\n" -"PO-Revision-Date: 2018-04-10 02:54+0000\n" -"Last-Translator: Adam Clark \n" +"PO-Revision-Date: 2018-06-13 02:40+0000\n" +"Last-Translator: R C \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" @@ -32,7 +33,7 @@ msgstr "Hides user's content by collapsing posts. Also replaces their avatar wit #: blockem.php:61 msgid "Comma separated profile URLS:" -msgstr "Comma separated profile URLs:" +msgstr "Comma-separated profile URLs:" #: blockem.php:65 msgid "Save Settings" diff --git a/blockem/lang/en-us/strings.php b/blockem/lang/en-us/strings.php index 56f23cad..ed20379a 100644 --- a/blockem/lang/en-us/strings.php +++ b/blockem/lang/en-us/strings.php @@ -2,12 +2,13 @@ if(! function_exists("string_plural_select_en_us")) { function string_plural_select_en_us($n){ + $n = intval($n); return ($n != 1);; }} ; $a->strings["\"Blockem\""] = "Blockem"; $a->strings["Hides user's content by collapsing posts. Also replaces their avatar with generic image."] = "Hides user's content by collapsing posts. Also replaces their avatar with generic image."; -$a->strings["Comma separated profile URLS:"] = "Comma separated profile URLs:"; +$a->strings["Comma separated profile URLS:"] = "Comma-separated profile URLs:"; $a->strings["Save Settings"] = "Save settings"; $a->strings["BLOCKEM Settings saved."] = "Blockem settings saved."; $a->strings["Filtered user: %s"] = "Filtered user: %s"; -- 2.43.5 From b9859991db95a15bb58cc88fe96ba627f3c4103f Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 08:42:08 +0200 Subject: [PATCH 04/24] CS blogger addon --- blogger/lang/cs/messages.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blogger/lang/cs/messages.po b/blogger/lang/cs/messages.po index 29ef04e0..a1ee80b4 100644 --- a/blogger/lang/cs/messages.po +++ b/blogger/lang/cs/messages.po @@ -4,7 +4,7 @@ # # # Translators: -# Lorem Ipsum , 2018 +# Aditoo, 2018 # michal_s , 2014 msgid "" msgstr "" @@ -12,7 +12,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-06-22 13:18+0200\n" "PO-Revision-Date: 2018-06-07 12:31+0000\n" -"Last-Translator: Lorem Ipsum \n" +"Last-Translator: Aditoo\n" "Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -- 2.43.5 From af81c197c050ff15455091c3b3d548fc9e267fb9 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 08:48:59 +0200 Subject: [PATCH 05/24] CS dwpost addon --- dwpost/lang/cs/messages.po | 17 +++++++++-------- dwpost/lang/cs/strings.php | 9 +++++---- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/dwpost/lang/cs/messages.po b/dwpost/lang/cs/messages.po index fb01a38e..e5a9b25d 100644 --- a/dwpost/lang/cs/messages.po +++ b/dwpost/lang/cs/messages.po @@ -4,20 +4,21 @@ # # # Translators: -# Michal Šupler , 2014-2015 +# Aditoo, 2018 +# michal_s , 2014-2015 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-27 05:01-0500\n" -"PO-Revision-Date: 2015-02-11 19:40+0000\n" -"Last-Translator: Michal Šupler \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" +"PO-Revision-Date: 2018-06-14 10:13+0000\n" +"Last-Translator: Aditoo\n" +"Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\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" #: dwpost.php:39 msgid "Post to Dreamwidth" @@ -25,11 +26,11 @@ msgstr "Poslat na Dreamwidth" #: dwpost.php:70 msgid "Dreamwidth Post Settings" -msgstr "Dreamwidth nastavení příspěvků" +msgstr "Nastavení Dreamwidth Post" #: dwpost.php:72 msgid "Enable dreamwidth Post Addon" -msgstr "Povolit dreamwidth Addon" +msgstr "Povolit doplněk Dreamwidth Post" #: dwpost.php:77 msgid "dreamwidth username" @@ -41,7 +42,7 @@ msgstr "dreamwidth heslo" #: dwpost.php:87 msgid "Post to dreamwidth by default" -msgstr "Defaultně umístit na dreamwidth" +msgstr "Ve výchozím stavu posílat na dreamwidth" #: dwpost.php:93 msgid "Submit" diff --git a/dwpost/lang/cs/strings.php b/dwpost/lang/cs/strings.php index df348a83..0c1f68a4 100644 --- a/dwpost/lang/cs/strings.php +++ b/dwpost/lang/cs/strings.php @@ -2,13 +2,14 @@ if(! function_exists("string_plural_select_cs")) { 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["Post to Dreamwidth"] = "Poslat na Dreamwidth"; -$a->strings["Dreamwidth Post Settings"] = "Dreamwidth nastavení příspěvků"; -$a->strings["Enable dreamwidth Post Addon"] = "Povolit dreamwidth Addon"; +$a->strings["Dreamwidth Post Settings"] = "Nastavení Dreamwidth Post"; +$a->strings["Enable dreamwidth Post Addon"] = "Povolit doplněk Dreamwidth Post"; $a->strings["dreamwidth username"] = "dreamwidth uživatelské jméno"; $a->strings["dreamwidth password"] = "dreamwidth heslo"; -$a->strings["Post to dreamwidth by default"] = "Defaultně umístit na dreamwidth"; +$a->strings["Post to dreamwidth by default"] = "Ve výchozím stavu posílat na dreamwidth"; $a->strings["Submit"] = "Odeslat"; -- 2.43.5 From f8b1f15c0ce6f88434c59a14263501270be5b31d Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 10:25:52 +0200 Subject: [PATCH 06/24] CS gnot addon --- gnot/lang/cs/messages.po | 17 +++++++++-------- gnot/lang/cs/strings.php | 9 +++++---- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/gnot/lang/cs/messages.po b/gnot/lang/cs/messages.po index 1f9f4244..7bbbb257 100644 --- a/gnot/lang/cs/messages.po +++ b/gnot/lang/cs/messages.po @@ -4,20 +4,21 @@ # # # Translators: -# Michal Šupler , 2014-2015 +# Aditoo, 2018 +# michal_s , 2014-2015 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-27 05:01-0500\n" -"PO-Revision-Date: 2015-02-11 19:37+0000\n" -"Last-Translator: Michal Šupler \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" +"PO-Revision-Date: 2018-06-14 10:14+0000\n" +"Last-Translator: Aditoo\n" +"Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\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" #: gnot.php:48 msgid "Gnot settings updated." @@ -31,11 +32,11 @@ msgstr "Nastavení Gnot" msgid "" "Allows threading of email comment notifications on Gmail and anonymising the" " subject line." -msgstr "Umožnit řetězení emailových komentářových notifikací na Gmailu a anonymizací řádky předmětu." +msgstr "Umožnit řetězení emailových komentářových oznámení na Gmailu a anonymizací řádky předmětu." #: gnot.php:82 msgid "Enable this addon?" -msgstr "Povolit tento addon/rozšíření?" +msgstr "Povolit tento doplněk?" #: gnot.php:88 msgid "Submit" @@ -44,4 +45,4 @@ msgstr "Odeslat" #: gnot.php:97 #, php-format msgid "[Friendica:Notify] Comment to conversation #%d" -msgstr "[Friendica:Upozornění] Komentář ke konverzaci #%d" +msgstr "[Friendica:Oznámení] Komentář ke konverzaci #%d" diff --git a/gnot/lang/cs/strings.php b/gnot/lang/cs/strings.php index 90648e5e..633f0917 100644 --- a/gnot/lang/cs/strings.php +++ b/gnot/lang/cs/strings.php @@ -2,12 +2,13 @@ if(! function_exists("string_plural_select_cs")) { 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["Gnot settings updated."] = "Nastavení Gnot aktualizováno."; $a->strings["Gnot Settings"] = "Nastavení Gnot"; -$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "Umožnit řetězení emailových komentářových notifikací na Gmailu a anonymizací řádky předmětu."; -$a->strings["Enable this addon?"] = "Povolit tento addon/rozšíření?"; +$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = "Umožnit řetězení emailových komentářových oznámení na Gmailu a anonymizací řádky předmětu."; +$a->strings["Enable this addon?"] = "Povolit tento doplněk?"; $a->strings["Submit"] = "Odeslat"; -$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "[Friendica:Upozornění] Komentář ke konverzaci #%d"; +$a->strings["[Friendica:Notify] Comment to conversation #%d"] = "[Friendica:Oznámení] Komentář ke konverzaci #%d"; -- 2.43.5 From df9364039bb21898dd8fef2ace54c28c47b54483 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 10:33:46 +0200 Subject: [PATCH 07/24] CS irc addon --- irc/lang/cs/messages.po | 15 ++++++++------- irc/lang/cs/strings.php | 12 ++++++------ 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/irc/lang/cs/messages.po b/irc/lang/cs/messages.po index 0110e03c..29d5fcea 100644 --- a/irc/lang/cs/messages.po +++ b/irc/lang/cs/messages.po @@ -5,13 +5,14 @@ # # Translators: # Aditoo, 2018 +# Aditoo, 2018 # michal_s , 2014-2015 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-07-08 13:17+0200\n" -"PO-Revision-Date: 2018-06-11 13:51+0000\n" +"PO-Revision-Date: 2018-06-14 14:36+0000\n" "Last-Translator: Aditoo\n" "Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" @@ -22,7 +23,7 @@ msgstr "" #: irc.php:37 msgid "IRC Settings" -msgstr "IRC Nastavení" +msgstr "Nastavení IRC" #: irc.php:38 msgid "" @@ -37,23 +38,23 @@ msgstr "Uložit nastavení" #: irc.php:40 irc.php:137 msgid "Channel(s) to auto connect (comma separated)" -msgstr "Kanál(y) pro automatické připojení(oddělené čárkou)" +msgstr "Kanál(y) pro automatické připojení (oddělené čárkami)" #: irc.php:40 irc.php:137 msgid "" "List of channels that shall automatically connected to when the app is " "launched." -msgstr "" +msgstr "Seznam kanálů, které budou při spuštění aplikace automaticky připojeny." #: irc.php:41 irc.php:138 msgid "Popular Channels (comma separated)" -msgstr "Oblíbené Kanály (oddělené čárkou)" +msgstr "Populární kanály (oddělené čárkami)" #: irc.php:41 irc.php:138 msgid "" "List of popular channels, will be displayed at the side and hotlinked for " "easy joining." -msgstr "" +msgstr "Seznam populárních kanálů, bude zobrazen na straně a bude obsahovat odkazy pro snadné připojení." #: irc.php:57 irc.php:128 msgid "IRC settings saved." @@ -65,4 +66,4 @@ msgstr "IRC Místnost" #: irc.php:90 msgid "Popular Channels" -msgstr "Oblíbené kanály" +msgstr "Populární kanály" diff --git a/irc/lang/cs/strings.php b/irc/lang/cs/strings.php index 65e1a79a..f97b463e 100644 --- a/irc/lang/cs/strings.php +++ b/irc/lang/cs/strings.php @@ -6,13 +6,13 @@ function string_plural_select_cs($n){ return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;; }} ; -$a->strings["IRC Settings"] = "IRC Nastavení"; +$a->strings["IRC Settings"] = "Nastavení IRC"; $a->strings["Here you can change the system wide settings for the channels to automatically join and access via the side bar. Note the changes you do here, only effect the channel selection if you are logged in."] = ""; $a->strings["Save Settings"] = "Uložit nastavení"; -$a->strings["Channel(s) to auto connect (comma separated)"] = "Kanál(y) pro automatické připojení(oddělené čárkou)"; -$a->strings["List of channels that shall automatically connected to when the app is launched."] = ""; -$a->strings["Popular Channels (comma separated)"] = "Oblíbené Kanály (oddělené čárkou)"; -$a->strings["List of popular channels, will be displayed at the side and hotlinked for easy joining."] = ""; +$a->strings["Channel(s) to auto connect (comma separated)"] = "Kanál(y) pro automatické připojení (oddělené čárkami)"; +$a->strings["List of channels that shall automatically connected to when the app is launched."] = "Seznam kanálů, které budou při spuštění aplikace automaticky připojeny."; +$a->strings["Popular Channels (comma separated)"] = "Populární kanály (oddělené čárkami)"; +$a->strings["List of popular channels, will be displayed at the side and hotlinked for easy joining."] = "Seznam populárních kanálů, bude zobrazen na straně a bude obsahovat odkazy pro snadné připojení."; $a->strings["IRC settings saved."] = "IRC Nastavení uloženo."; $a->strings["IRC Chatroom"] = "IRC Místnost"; -$a->strings["Popular Channels"] = "Oblíbené kanály"; +$a->strings["Popular Channels"] = "Populární kanály"; -- 2.43.5 From ce5b211b9a1ac51240c365f6b6e24985d49ea4f8 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 10:39:42 +0200 Subject: [PATCH 08/24] CS langfilter addon --- langfilter/lang/cs/messages.po | 23 ++++++++++++----------- langfilter/lang/cs/strings.php | 16 ++++++++-------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/langfilter/lang/cs/messages.po b/langfilter/lang/cs/messages.po index 951c416d..af344937 100644 --- a/langfilter/lang/cs/messages.po +++ b/langfilter/lang/cs/messages.po @@ -4,14 +4,15 @@ # # # Translators: -# Lorem Ipsum , 2018 +# Aditoo, 2018 +# Aditoo, 2018 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-04-01 11:11-0400\n" -"PO-Revision-Date: 2018-06-09 09:56+0000\n" -"Last-Translator: Lorem Ipsum \n" +"PO-Revision-Date: 2018-06-14 14:15+0000\n" +"Last-Translator: Aditoo\n" "Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +29,7 @@ msgid "" "This addon tries to identify the language posts are writen in. If it does " "not match any language specifed below, posts will be hidden by collapsing " "them." -msgstr "" +msgstr "Tento doplněk zkouší identifikovat jazyk, ve kterém jsou napsány příspěvky. Pokud nelze přiřadit příspěvky k žádnému níže specifikovanému jazyku, příspěvky budou zabaleny." #: langfilter.php:60 msgid "Use the language filter" @@ -36,35 +37,35 @@ msgstr "Použít jazykový filtr" #: langfilter.php:61 msgid "Able to read" -msgstr "" +msgstr "Lze číst" #: langfilter.php:61 msgid "" "List of abbreviations (iso2 codes) for languages you speak, comma separated." " For example \"de,it\"." -msgstr "" +msgstr "Seznam zkratek (kódů ISO 2) pro jazyky, kterými mluvíte, oddělených čárkami. Příklad: \"cs,sk\"." #: langfilter.php:62 msgid "Minimum confidence in language detection" -msgstr "" +msgstr "Minimální jistota v detekci jazyka" #: langfilter.php:62 msgid "" "Minimum confidence in language detection being correct, from 0 to 100. Posts" " will not be filtered when the confidence of language detection is below " "this percent value." -msgstr "" +msgstr "Minimální jistota ve správnost detekce jazyka, od 0 do 100. Pokud jistota v detekci spadne pod tuto úroveň, nebudou příspěvky filtrovány." #: langfilter.php:63 msgid "Minimum length of message body" -msgstr "" +msgstr "Minimální délka těla zprávy" #: langfilter.php:63 msgid "" "Minimum number of characters in message body for filter to be used. Posts " "shorter than this will not be filtered. Note: Language detection is " "unreliable for short content (<200 characters)." -msgstr "" +msgstr "Minimální počet znaků v těle zprávy pro použití filtru. Kratší zprávy nebudou filtrovány. Poznámka: Detekce jazyka je nespolehlivá pro krátký obsah (<200 znaků)." #: langfilter.php:64 msgid "Save Settings" @@ -72,7 +73,7 @@ msgstr "Uložit nastavení" #: langfilter.php:105 msgid "Language Filter Settings saved." -msgstr "" +msgstr "Nastavení Language Filter uložena." #: langfilter.php:182 #, php-format diff --git a/langfilter/lang/cs/strings.php b/langfilter/lang/cs/strings.php index 1566b0bd..6f398879 100644 --- a/langfilter/lang/cs/strings.php +++ b/langfilter/lang/cs/strings.php @@ -7,14 +7,14 @@ function string_plural_select_cs($n){ }} ; $a->strings["Language Filter"] = "Jazykový filtr"; -$a->strings["This addon tries to identify the language posts are writen in. If it does not match any language specifed below, posts will be hidden by collapsing them."] = ""; +$a->strings["This addon tries to identify the language posts are writen in. If it does not match any language specifed below, posts will be hidden by collapsing them."] = "Tento doplněk zkouší identifikovat jazyk, ve kterém jsou napsány příspěvky. Pokud nelze přiřadit příspěvky k žádnému níže specifikovanému jazyku, příspěvky budou zabaleny."; $a->strings["Use the language filter"] = "Použít jazykový filtr"; -$a->strings["Able to read"] = ""; -$a->strings["List of abbreviations (iso2 codes) for languages you speak, comma separated. For example \"de,it\"."] = ""; -$a->strings["Minimum confidence in language detection"] = ""; -$a->strings["Minimum confidence in language detection being correct, from 0 to 100. Posts will not be filtered when the confidence of language detection is below this percent value."] = ""; -$a->strings["Minimum length of message body"] = ""; -$a->strings["Minimum number of characters in message body for filter to be used. Posts shorter than this will not be filtered. Note: Language detection is unreliable for short content (<200 characters)."] = ""; +$a->strings["Able to read"] = "Lze číst"; +$a->strings["List of abbreviations (iso2 codes) for languages you speak, comma separated. For example \"de,it\"."] = "Seznam zkratek (kódů ISO 2) pro jazyky, kterými mluvíte, oddělených čárkami. Příklad: \"cs,sk\"."; +$a->strings["Minimum confidence in language detection"] = "Minimální jistota v detekci jazyka"; +$a->strings["Minimum confidence in language detection being correct, from 0 to 100. Posts will not be filtered when the confidence of language detection is below this percent value."] = "Minimální jistota ve správnost detekce jazyka, od 0 do 100. Pokud jistota v detekci spadne pod tuto úroveň, nebudou příspěvky filtrovány."; +$a->strings["Minimum length of message body"] = "Minimální délka těla zprávy"; +$a->strings["Minimum number of characters in message body for filter to be used. Posts shorter than this will not be filtered. Note: Language detection is unreliable for short content (<200 characters)."] = "Minimální počet znaků v těle zprávy pro použití filtru. Kratší zprávy nebudou filtrovány. Poznámka: Detekce jazyka je nespolehlivá pro krátký obsah (<200 znaků)."; $a->strings["Save Settings"] = "Uložit nastavení"; -$a->strings["Language Filter Settings saved."] = ""; +$a->strings["Language Filter Settings saved."] = "Nastavení Language Filter uložena."; $a->strings["Filtered language: %s"] = "Filtrovaný jazyk: %s"; -- 2.43.5 From 2f853c2612c03d89ffcff0f0ac28752324ac1f22 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 10:44:39 +0200 Subject: [PATCH 09/24] CS morepokes addon --- morepokes/lang/cs/messages.po | 43 ++++++++++++++++++----------------- morepokes/lang/cs/strings.php | 35 ++++++++++++++-------------- 2 files changed, 40 insertions(+), 38 deletions(-) diff --git a/morepokes/lang/cs/messages.po b/morepokes/lang/cs/messages.po index f178f285..5d0631fe 100644 --- a/morepokes/lang/cs/messages.po +++ b/morepokes/lang/cs/messages.po @@ -4,20 +4,21 @@ # # # Translators: -# Michal Šupler , 2014 +# Aditoo, 2018 +# michal_s , 2014 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-02-27 05:01-0500\n" -"PO-Revision-Date: 2014-07-28 18:21+0000\n" -"Last-Translator: Michal Šupler \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" +"PO-Revision-Date: 2018-06-14 15:38+0000\n" +"Last-Translator: Aditoo\n" +"Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\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" #: morepokes.php:19 msgid "bitchslap" @@ -25,7 +26,7 @@ msgstr "dát facku" #: morepokes.php:19 msgid "bitchslapped" -msgstr "dostat facku" +msgstr "dal facku" #: morepokes.php:20 msgid "shag" @@ -45,11 +46,11 @@ msgstr "udělal něco obscéně biologického uživateli" #: morepokes.php:22 msgid "point out the poke feature to" -msgstr "upozornit na poke funkci uživatele" +msgstr "upozornit na funkci šťouchnutí" #: morepokes.php:22 msgid "pointed out the poke feature to" -msgstr "upozorněn na poke funkci " +msgstr "upozornil na funkci šťouchnutí" #: morepokes.php:23 msgid "declare undying love for" @@ -65,7 +66,7 @@ msgstr "patentovat" #: morepokes.php:24 msgid "patented" -msgstr "patentován" +msgstr "patentoval" #: morepokes.php:25 msgid "stroke beard" @@ -73,18 +74,18 @@ msgstr "pohladit plnovous" #: morepokes.php:25 msgid "stroked their beard at" -msgstr "pohladit něčí plnovous" +msgstr "pohladil jeho/její plnovous na" #: morepokes.php:26 msgid "" "bemoan the declining standards of modern secondary and tertiary education to" -msgstr "stěžující si na klesající úroveň moderního sekundárního a terciárního vzdělávání u" +msgstr "stěžovat si na klesající úroveň moderního sekundárního a terciárního vzdělávání u" #: morepokes.php:26 msgid "" "bemoans the declining standards of modern secondary and tertiary education " "to" -msgstr "stěžovat si na klesající úroveň moderního sekundárního a terciárního vzdělávání u" +msgstr "si stěžoval na klesající úroveň moderního sekundárního a terciárního vzdělávání u" #: morepokes.php:27 msgid "hug" @@ -100,7 +101,7 @@ msgstr "políbit" #: morepokes.php:28 msgid "kissed" -msgstr "políben" +msgstr "políbil" #: morepokes.php:29 msgid "raise eyebrows at" @@ -116,7 +117,7 @@ msgstr "urazit" #: morepokes.php:30 msgid "insulted" -msgstr "uražen" +msgstr "urazil" #: morepokes.php:31 msgid "praise" @@ -124,7 +125,7 @@ msgstr "pochválit" #: morepokes.php:31 msgid "praised" -msgstr "pochválen" +msgstr "pochválil" #: morepokes.php:32 msgid "be dubious of" @@ -132,7 +133,7 @@ msgstr "mít pochyby o" #: morepokes.php:32 msgid "was dubious of" -msgstr "má pochybnosti z" +msgstr "měl pochyby o" #: morepokes.php:33 msgid "eat" @@ -140,7 +141,7 @@ msgstr "sníst" #: morepokes.php:33 msgid "ate" -msgstr "snězen" +msgstr "snědl" #: morepokes.php:34 msgid "giggle and fawn at" @@ -148,7 +149,7 @@ msgstr "hihňat se" #: morepokes.php:34 msgid "giggled and fawned at" -msgstr "hihňá se" +msgstr "se hihňal" #: morepokes.php:35 msgid "doubt" @@ -156,12 +157,12 @@ msgstr "pochybovat" #: morepokes.php:35 msgid "doubted" -msgstr "pochybující" +msgstr "pochyboval" #: morepokes.php:36 msgid "glare" -msgstr "zabodáván pohledem" +msgstr "zabodávát pohledem" #: morepokes.php:36 msgid "glared at" -msgstr "zabodávat pohledem " +msgstr "zabodával pohledem " diff --git a/morepokes/lang/cs/strings.php b/morepokes/lang/cs/strings.php index 217c52bb..45c296b8 100644 --- a/morepokes/lang/cs/strings.php +++ b/morepokes/lang/cs/strings.php @@ -2,42 +2,43 @@ if(! function_exists("string_plural_select_cs")) { 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["bitchslap"] = "dát facku"; -$a->strings["bitchslapped"] = "dostat facku"; +$a->strings["bitchslapped"] = "dal facku"; $a->strings["shag"] = ""; $a->strings["shagged"] = ""; $a->strings["do something obscenely biological to"] = "udělat něco obscéně biologického uživateli"; $a->strings["did something obscenely biological to"] = "udělal něco obscéně biologického uživateli"; -$a->strings["point out the poke feature to"] = "upozornit na poke funkci uživatele"; -$a->strings["pointed out the poke feature to"] = "upozorněn na poke funkci "; +$a->strings["point out the poke feature to"] = "upozornit na funkci šťouchnutí"; +$a->strings["pointed out the poke feature to"] = "upozornil na funkci šťouchnutí"; $a->strings["declare undying love for"] = "vyjadřit nehynoucí lásku ke"; $a->strings["declared undying love for"] = "vyjadřil nehynoucí lásku ke"; $a->strings["patent"] = "patentovat"; -$a->strings["patented"] = "patentován"; +$a->strings["patented"] = "patentoval"; $a->strings["stroke beard"] = "pohladit plnovous"; -$a->strings["stroked their beard at"] = "pohladit něčí plnovous"; -$a->strings["bemoan the declining standards of modern secondary and tertiary education to"] = "stěžující si na klesající úroveň moderního sekundárního a terciárního vzdělávání u"; -$a->strings["bemoans the declining standards of modern secondary and tertiary education to"] = "stěžovat si na klesající úroveň moderního sekundárního a terciárního vzdělávání u"; +$a->strings["stroked their beard at"] = "pohladil jeho/její plnovous na"; +$a->strings["bemoan the declining standards of modern secondary and tertiary education to"] = "stěžovat si na klesající úroveň moderního sekundárního a terciárního vzdělávání u"; +$a->strings["bemoans the declining standards of modern secondary and tertiary education to"] = "si stěžoval na klesající úroveň moderního sekundárního a terciárního vzdělávání u"; $a->strings["hug"] = "obejmout"; $a->strings["hugged"] = "obejmut "; $a->strings["kiss"] = "políbit"; -$a->strings["kissed"] = "políben"; +$a->strings["kissed"] = "políbil"; $a->strings["raise eyebrows at"] = "zvednout obočí na"; $a->strings["raised their eyebrows at"] = "zvednul obočí na"; $a->strings["insult"] = "urazit"; -$a->strings["insulted"] = "uražen"; +$a->strings["insulted"] = "urazil"; $a->strings["praise"] = "pochválit"; -$a->strings["praised"] = "pochválen"; +$a->strings["praised"] = "pochválil"; $a->strings["be dubious of"] = "mít pochyby o"; -$a->strings["was dubious of"] = "má pochybnosti z"; +$a->strings["was dubious of"] = "měl pochyby o"; $a->strings["eat"] = "sníst"; -$a->strings["ate"] = "snězen"; +$a->strings["ate"] = "snědl"; $a->strings["giggle and fawn at"] = "hihňat se"; -$a->strings["giggled and fawned at"] = "hihňá se"; +$a->strings["giggled and fawned at"] = "se hihňal"; $a->strings["doubt"] = "pochybovat"; -$a->strings["doubted"] = "pochybující"; -$a->strings["glare"] = "zabodáván pohledem"; -$a->strings["glared at"] = "zabodávat pohledem "; +$a->strings["doubted"] = "pochyboval"; +$a->strings["glare"] = "zabodávát pohledem"; +$a->strings["glared at"] = "zabodával pohledem "; -- 2.43.5 From 3e8eb868a67f40754c4dcaac9c14ab53f8ed1bab Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 10:58:28 +0200 Subject: [PATCH 10/24] ZH CN notimeline addon --- notimeline/lang/zh-cn/messages.po | 36 +++++++++++++++++++++++++++++++ notimeline/lang/zh-cn/strings.php | 18 ++++++++++------ 2 files changed, 48 insertions(+), 6 deletions(-) create mode 100644 notimeline/lang/zh-cn/messages.po diff --git a/notimeline/lang/zh-cn/messages.po b/notimeline/lang/zh-cn/messages.po new file mode 100644 index 00000000..ed7edb67 --- /dev/null +++ b/notimeline/lang/zh-cn/messages.po @@ -0,0 +1,36 @@ +# ADDON notimeline +# Copyright (C) +# This file is distributed under the same license as the Friendica notimeline addon package. +# +# +# Translators: +# 朱陈锬 , 2018 +msgid "" +msgstr "" +"Project-Id-Version: friendica\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-02-27 05:01-0500\n" +"PO-Revision-Date: 2018-06-16 09:44+0000\n" +"Last-Translator: 朱陈锬 \n" +"Language-Team: Chinese (China) (http://www.transifex.com/Friendica/friendica/language/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: notimeline.php:32 +msgid "No Timeline settings updated." +msgstr "时间轴设置未更新。" + +#: notimeline.php:56 +msgid "No Timeline Settings" +msgstr "无时间轴设置" + +#: notimeline.php:58 +msgid "Disable Archive selector on profile wall" +msgstr "" + +#: notimeline.php:64 +msgid "Submit" +msgstr "提交" diff --git a/notimeline/lang/zh-cn/strings.php b/notimeline/lang/zh-cn/strings.php index 37ea663b..c4b2a794 100644 --- a/notimeline/lang/zh-cn/strings.php +++ b/notimeline/lang/zh-cn/strings.php @@ -1,6 +1,12 @@ -strings["No Timeline settings updated."] = "没有时间链设置更新"; -$a->strings["No Timeline Settings"] = "没有时间链设置"; -$a->strings["Disable Archive selector on profile wall"] = "使在简介墙上档案选择器不能用"; -$a->strings["Submit"] = "提交"; +strings["No Timeline settings updated."] = "时间轴设置未更新。"; +$a->strings["No Timeline Settings"] = "无时间轴设置"; +$a->strings["Disable Archive selector on profile wall"] = ""; +$a->strings["Submit"] = "提交"; -- 2.43.5 From 52e676af8d54dfcb6b3055fab6597493ff37c662 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:05:05 +0200 Subject: [PATCH 11/24] CS qcomment addon --- qcomment/lang/cs/messages.po | 19 ++++++++++--------- qcomment/lang/cs/strings.php | 7 ++++--- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/qcomment/lang/cs/messages.po b/qcomment/lang/cs/messages.po index 5169cf38..d2a204e3 100644 --- a/qcomment/lang/cs/messages.po +++ b/qcomment/lang/cs/messages.po @@ -4,20 +4,21 @@ # # # Translators: -# Michal Šupler , 2014 +# Aditoo, 2018 +# michal_s , 2014 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-06-22 13:18+0200\n" -"PO-Revision-Date: 2014-07-28 18:09+0000\n" -"Last-Translator: Michal Šupler \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" +"POT-Creation-Date: 2013-02-27 05:01-0500\n" +"PO-Revision-Date: 2018-06-13 18:00+0000\n" +"Last-Translator: Aditoo\n" +"Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\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" #: qcomment.php:51 msgid ":-)" @@ -29,7 +30,7 @@ msgstr ":-(" #: qcomment.php:51 msgid "lol" -msgstr "hlasitě se směji" +msgstr "lol" #: qcomment.php:54 msgid "Quick Comment Settings" @@ -46,8 +47,8 @@ msgid "Enter quick comments, one per line" msgstr "Zadejte rychlé komentáře, každý na nový řádek" #: qcomment.php:61 -msgid "Save Settings" -msgstr "Uložit Nastavení" +msgid "Submit" +msgstr "Odeslat" #: qcomment.php:75 msgid "Quick Comment settings saved." diff --git a/qcomment/lang/cs/strings.php b/qcomment/lang/cs/strings.php index 46d62432..b37a8d2b 100644 --- a/qcomment/lang/cs/strings.php +++ b/qcomment/lang/cs/strings.php @@ -2,14 +2,15 @@ if(! function_exists("string_plural_select_cs")) { 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[":-)"] = ":-)"; $a->strings[":-("] = ":-("; -$a->strings["lol"] = "hlasitě se směji"; +$a->strings["lol"] = "lol"; $a->strings["Quick Comment Settings"] = "Nastavení rychlých komentářů"; $a->strings["Quick comments are found near comment boxes, sometimes hidden. Click them to provide simple replies."] = "Rychlé komentáře jsou k nalezení blízko polí s komentáři, někdy jsou skryté. Klikněte na ně k poskytnutí jednoduchých odpovědí."; $a->strings["Enter quick comments, one per line"] = "Zadejte rychlé komentáře, každý na nový řádek"; -$a->strings["Save Settings"] = "Uložit Nastavení"; +$a->strings["Submit"] = "Odeslat"; $a->strings["Quick Comment settings saved."] = "Nastavení Quick Comment uloženo."; -- 2.43.5 From ae39bd6875b4e2e5bf93d9a5ec689a84d9461959 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:08:14 +0200 Subject: [PATCH 12/24] CS remote permissions addon --- remote_permissions/lang/cs/messages.po | 17 +++++++++-------- remote_permissions/lang/cs/strings.php | 5 +++-- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/remote_permissions/lang/cs/messages.po b/remote_permissions/lang/cs/messages.po index b2acbf5d..45cc232e 100644 --- a/remote_permissions/lang/cs/messages.po +++ b/remote_permissions/lang/cs/messages.po @@ -4,20 +4,21 @@ # # # Translators: -# Michal Šupler , 2014 +# Aditoo, 2018 +# michal_s , 2014 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-06-22 13:18+0200\n" -"PO-Revision-Date: 2014-07-28 18:09+0000\n" -"Last-Translator: Michal Šupler \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" +"POT-Creation-Date: 2013-02-27 05:01-0500\n" +"PO-Revision-Date: 2018-06-13 18:01+0000\n" +"Last-Translator: Aditoo\n" +"Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\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" #: remote_permissions.php:45 msgid "Remote Permissions Settings" @@ -30,8 +31,8 @@ msgid "" msgstr "Umožnit příjemcům Vašich soukromých příspěvků vidět ostatní příjemce příspěvků" #: remote_permissions.php:48 remote_permissions.php:196 -msgid "Save Settings" -msgstr "Uložit Nastavení" +msgid "Submit" +msgstr "Odeslat" #: remote_permissions.php:58 msgid "Remote Permissions settings updated." diff --git a/remote_permissions/lang/cs/strings.php b/remote_permissions/lang/cs/strings.php index e11447f7..5ca17b28 100644 --- a/remote_permissions/lang/cs/strings.php +++ b/remote_permissions/lang/cs/strings.php @@ -2,12 +2,13 @@ if(! function_exists("string_plural_select_cs")) { 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["Remote Permissions Settings"] = "Nastavení Vzdálených oprávnění"; $a->strings["Allow recipients of your private posts to see the other recipients of the posts"] = "Umožnit příjemcům Vašich soukromých příspěvků vidět ostatní příjemce příspěvků"; -$a->strings["Save Settings"] = "Uložit Nastavení"; +$a->strings["Submit"] = "Odeslat"; $a->strings["Remote Permissions settings updated."] = "Nastavení Vzdálených opravnění aktualizováno."; $a->strings["Visible to:"] = "Viditelné pro:"; $a->strings["Visible to"] = "Viditelné pro"; -- 2.43.5 From 4b60073ab49e61570a10e1e6d3a528fad2cfa2b6 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:11:06 +0200 Subject: [PATCH 13/24] CS showmore addon --- showmore/lang/cs/messages.po | 29 +++++++++++++++-------------- showmore/lang/cs/strings.php | 7 ++++--- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/showmore/lang/cs/messages.po b/showmore/lang/cs/messages.po index 18cec5b8..b937ff56 100644 --- a/showmore/lang/cs/messages.po +++ b/showmore/lang/cs/messages.po @@ -4,41 +4,42 @@ # # # Translators: -# Michal Šupler , 2014 +# Aditoo, 2018 +# michal_s , 2014 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-06-22 13:18+0200\n" -"PO-Revision-Date: 2014-07-28 18:11+0000\n" -"Last-Translator: Michal Šupler \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" +"POT-Creation-Date: 2018-04-01 11:11-0400\n" +"PO-Revision-Date: 2018-06-13 18:01+0000\n" +"Last-Translator: Aditoo\n" +"Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\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" -#: showmore.php:38 showmore.php:42 +#: showmore.php:41 showmore.php:45 msgid "\"Show more\" Settings" msgstr "\"Show more\" nastavení" -#: showmore.php:47 +#: showmore.php:50 msgid "Enable Show More" msgstr "Povolit Show more" -#: showmore.php:50 +#: showmore.php:53 msgid "Cutting posts after how much characters" msgstr "Oříznout přízpěvky po zadaném množství znaků" -#: showmore.php:54 +#: showmore.php:57 msgid "Save Settings" -msgstr "Uložit Nastavení" +msgstr "Uložit nastavení" -#: showmore.php:71 +#: showmore.php:74 msgid "Show More Settings saved." -msgstr "\"Show more\" nastavení uloženo." +msgstr "Nastavení \"Show more\" uložena." -#: showmore.php:125 +#: showmore.php:134 msgid "show more" msgstr "zobrazit více" diff --git a/showmore/lang/cs/strings.php b/showmore/lang/cs/strings.php index 622bd068..9a5068b8 100644 --- a/showmore/lang/cs/strings.php +++ b/showmore/lang/cs/strings.php @@ -2,12 +2,13 @@ if(! function_exists("string_plural_select_cs")) { 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["\"Show more\" Settings"] = "\"Show more\" nastavení"; $a->strings["Enable Show More"] = "Povolit Show more"; $a->strings["Cutting posts after how much characters"] = "Oříznout přízpěvky po zadaném množství znaků"; -$a->strings["Save Settings"] = "Uložit Nastavení"; -$a->strings["Show More Settings saved."] = "\"Show more\" nastavení uloženo."; +$a->strings["Save Settings"] = "Uložit nastavení"; +$a->strings["Show More Settings saved."] = "Nastavení \"Show more\" uložena."; $a->strings["show more"] = "zobrazit více"; -- 2.43.5 From 81469bcd1f40da3597c36066f04bec0d0f29837c Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:15:02 +0200 Subject: [PATCH 14/24] CS, ZH CN startpage addon --- startpage/lang/zh-cn/messages.po | 36 ++++++++++++++++++++++++++++++++ startpage/lang/zh-cn/strings.php | 18 ++++++++++------ 2 files changed, 48 insertions(+), 6 deletions(-) create mode 100644 startpage/lang/zh-cn/messages.po diff --git a/startpage/lang/zh-cn/messages.po b/startpage/lang/zh-cn/messages.po new file mode 100644 index 00000000..c5035f6e --- /dev/null +++ b/startpage/lang/zh-cn/messages.po @@ -0,0 +1,36 @@ +# ADDON startpage +# Copyright (C) +# This file is distributed under the same license as the Friendica startpage addon package. +# +# +# Translators: +# 朱陈锬 , 2018 +msgid "" +msgstr "" +"Project-Id-Version: friendica\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-02-27 05:01-0500\n" +"PO-Revision-Date: 2018-06-16 09:42+0000\n" +"Last-Translator: 朱陈锬 \n" +"Language-Team: Chinese (China) (http://www.transifex.com/Friendica/friendica/language/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: startpage.php:83 +msgid "Startpage Settings" +msgstr "首页设置" + +#: startpage.php:85 +msgid "Home page to load after login - leave blank for profile wall" +msgstr "" + +#: startpage.php:88 +msgid "Examples: "network" or "notifications/system"" +msgstr "" + +#: startpage.php:92 +msgid "Submit" +msgstr "提交" diff --git a/startpage/lang/zh-cn/strings.php b/startpage/lang/zh-cn/strings.php index f8c02e4a..45d71c36 100644 --- a/startpage/lang/zh-cn/strings.php +++ b/startpage/lang/zh-cn/strings.php @@ -1,6 +1,12 @@ -strings["Startpage Settings"] = "开始页设置"; -$a->strings["Home page to load after login - leave blank for profile wall"] = "主页登录后表示-留空白为简介墙"; -$a->strings["Examples: "network" or "notifications/system""] = "例如:"网络"或"通知/系统""; -$a->strings["Submit"] = "提交"; +strings["Startpage Settings"] = "首页设置"; +$a->strings["Home page to load after login - leave blank for profile wall"] = ""; +$a->strings["Examples: "network" or "notifications/system""] = ""; +$a->strings["Submit"] = "提交"; -- 2.43.5 From fdce45c1b11197c556ce9e5b7bfe7d5a66ab2ec0 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:16:48 +0200 Subject: [PATCH 15/24] CS statusnet addon --- statusnet/lang/cs/messages.po | 29 +++++++++++++++-------------- statusnet/lang/cs/strings.php | 26 +++++++++++++------------- 2 files changed, 28 insertions(+), 27 deletions(-) diff --git a/statusnet/lang/cs/messages.po b/statusnet/lang/cs/messages.po index 960ed3c8..851164df 100644 --- a/statusnet/lang/cs/messages.po +++ b/statusnet/lang/cs/messages.po @@ -5,13 +5,14 @@ # # Translators: # Aditoo, 2018 +# Aditoo, 2018 # michal_s , 2014 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-07-27 07:21+0200\n" -"PO-Revision-Date: 2018-06-11 14:49+0000\n" +"PO-Revision-Date: 2018-06-14 14:47+0000\n" "Last-Translator: Aditoo\n" "Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" @@ -40,18 +41,18 @@ msgstr "Nastavení pro GNU social aktualizována." #: statusnet.php:294 statusnet.php:298 msgid "GNU Social Import/Export/Mirror" -msgstr "" +msgstr "Import/export/zrcadlení GNU social" #: statusnet.php:313 msgid "Globally Available GNU Social OAuthKeys" -msgstr "" +msgstr "Globálně dostupné OAuth klíče pro GNU" #: statusnet.php:314 msgid "" "There are preconfigured OAuth key pairs for some GNU Social servers " "available. If you are using one of them, please use these credentials. If " "not feel free to connect to any other GNU Social instance (see below)." -msgstr "" +msgstr "Jsou dostupné předkonfigurované páry klíčů OAuth pro některé servery GNU social. Pokud některý z nich používáte, prosím používejte tyto kredenciály. Pokud ne, můžete se klidně připojit k jakékoliv jiné instanci GNU social (viz dole)." #: statusnet.php:320 statusnet.php:337 statusnet.php:364 statusnet.php:371 #: statusnet.php:416 statusnet.php:699 @@ -69,7 +70,7 @@ msgid "" "here and enter the API base root.
Before you register your own OAuth " "key pair ask the administrator if there is already a key pair for this " "Friendica installation at your favorited GNU Social installation." -msgstr "" +msgstr "Nenalezen žádný pár klíčů pro GNU social. Registrujte svůj účet Friendica na Vašem účtu GNU social jako desktopový klient, zkopírujte sem pár klíčů consumer key a zadejte kořenovou složku API.
Dříve, než si zaregistrujete Váš vlastní pár klíčů, se zeptejte administrátora, jestli již na Vaší oblíbené instalaci GNU social existuje pár klíčů pro tuto instalaci Friendica." #: statusnet.php:325 msgid "OAuth Consumer Key" @@ -89,7 +90,7 @@ msgid "" "security code from GNU Social which you have to copy into the input box " "below and submit the form. Only your public posts will be " "posted to GNU Social." -msgstr "" +msgstr "Pro připojení k Vašemu účtu na GNU social klikněte na tlačítko níže. Obdržíte bezpečnostní kód od GNU social, ten musíte zkopírovat do vyplňovacího pole níže a odeslat formulář. Pouze Vaše veřejné příspěvky budou odesílány na GNU social." #: statusnet.php:357 msgid "Log in with GNU Social" @@ -105,7 +106,7 @@ msgstr "Zrušit připojování" #: statusnet.php:367 msgid "Current GNU Social API is" -msgstr "" +msgstr "Aktuální API GNU social je:" #: statusnet.php:368 msgid "Cancel GNU Social Connection" @@ -120,7 +121,7 @@ msgid "" "If enabled all your public postings can be posted to the " "associated GNU Social account. You can choose to do so by default (here) or " "for every posting separately in the posting options when writing the entry." -msgstr "" +msgstr "Je-li povoleno, všechny Vaše veřejné příspěvky mohou být zasílány na související účet na GNU social. Můžete si vybrat, zda-li toto bude výchozí nastavení (zde), nebo budete mít možnost si vybrat požadované chování při psaní každého příspěvku." #: statusnet.php:382 msgid "" @@ -128,7 +129,7 @@ msgid "" "details from unknown viewers?) the link potentially included in public " "postings relayed to GNU Social will lead the visitor to a blank page " "informing the visitor that the access to your profile has been restricted." -msgstr "" +msgstr "Poznámka: Kvůli vašim nastavením o soukromí (Skrýt Vaše profilové detaily před neznámými návštěvníky?), odkaz potenciálně obsažen ve veřejných příspěvcích přeposílaných na GNU social zavedou návštěvníky na prázdnou stránku informující návštěvníky, že přístup na Váš profil byl zakázán." #: statusnet.php:385 msgid "Allow posting to GNU Social" @@ -136,16 +137,16 @@ msgstr "Povolit posílání příspěvků na GNU social" #: statusnet.php:388 msgid "Send public postings to GNU Social by default" -msgstr "" +msgstr "Ve výchozím stavu posílat veřejné příspěvky na GNU social" #: statusnet.php:392 msgid "" "Mirror all posts from GNU Social that are no replies or repeated messages" -msgstr "" +msgstr "Zrcadlit všechny příspěvky z GNU social, které nejsou odpovědi nebo zopakované zprávy" #: statusnet.php:398 msgid "Import the remote timeline" -msgstr "" +msgstr "Importovat vzdálenou časovou osu" #: statusnet.php:402 msgid "Disabled" @@ -153,11 +154,11 @@ msgstr "Zakázáno" #: statusnet.php:403 msgid "Full Timeline" -msgstr "" +msgstr "Plná časová osa" #: statusnet.php:404 msgid "Only Mentions" -msgstr "" +msgstr "Pouze zmínky" #: statusnet.php:413 msgid "Clear OAuth configuration" diff --git a/statusnet/lang/cs/strings.php b/statusnet/lang/cs/strings.php index ab613c40..3bf9180d 100644 --- a/statusnet/lang/cs/strings.php +++ b/statusnet/lang/cs/strings.php @@ -10,31 +10,31 @@ $a->strings["Post to GNU Social"] = "Poslat na GNU social"; $a->strings["Please contact your site administrator.
The provided API URL is not valid."] = "Obraťte se na administratora webu.
Poskytnutý odkaz na API není platný."; $a->strings["We could not contact the GNU Social API with the Path you entered."] = "Nemohli jsme kontaktovat API GNU social pomocí cesty, kterou jste zadal/a."; $a->strings["GNU Social settings updated."] = "Nastavení pro GNU social aktualizována."; -$a->strings["GNU Social Import/Export/Mirror"] = ""; -$a->strings["Globally Available GNU Social OAuthKeys"] = ""; -$a->strings["There are preconfigured OAuth key pairs for some GNU Social servers available. If you are using one of them, please use these credentials. If not feel free to connect to any other GNU Social instance (see below)."] = ""; +$a->strings["GNU Social Import/Export/Mirror"] = "Import/export/zrcadlení GNU social"; +$a->strings["Globally Available GNU Social OAuthKeys"] = "Globálně dostupné OAuth klíče pro GNU"; +$a->strings["There are preconfigured OAuth key pairs for some GNU Social servers available. If you are using one of them, please use these credentials. If not feel free to connect to any other GNU Social instance (see below)."] = "Jsou dostupné předkonfigurované páry klíčů OAuth pro některé servery GNU social. Pokud některý z nich používáte, prosím používejte tyto kredenciály. Pokud ne, můžete se klidně připojit k jakékoliv jiné instanci GNU social (viz dole)."; $a->strings["Save Settings"] = "Uložit nastavení"; $a->strings["Provide your own OAuth Credentials"] = "Uveďte své vlastní OAuth přihlašovací údaje"; -$a->strings["No consumer key pair for GNU Social found. Register your Friendica Account as an desktop client on your GNU Social account, copy the consumer key pair here and enter the API base root.
Before you register your own OAuth key pair ask the administrator if there is already a key pair for this Friendica installation at your favorited GNU Social installation."] = ""; +$a->strings["No consumer key pair for GNU Social found. Register your Friendica Account as an desktop client on your GNU Social account, copy the consumer key pair here and enter the API base root.
Before you register your own OAuth key pair ask the administrator if there is already a key pair for this Friendica installation at your favorited GNU Social installation."] = "Nenalezen žádný pár klíčů pro GNU social. Registrujte svůj účet Friendica na Vašem účtu GNU social jako desktopový klient, zkopírujte sem pár klíčů consumer key a zadejte kořenovou složku API.
Dříve, než si zaregistrujete Váš vlastní pár klíčů, se zeptejte administrátora, jestli již na Vaší oblíbené instalaci GNU social existuje pár klíčů pro tuto instalaci Friendica."; $a->strings["OAuth Consumer Key"] = "OAuth Consumer Key"; $a->strings["OAuth Consumer Secret"] = "OAuth Consumer Secret"; $a->strings["Base API Path (remember the trailing /)"] = "Cesta k Base API (nezapomeňte na koncové /)"; -$a->strings["To connect to your GNU Social account click the button below to get a security code from GNU Social which you have to copy into the input box below and submit the form. Only your public posts will be posted to GNU Social."] = ""; +$a->strings["To connect to your GNU Social account click the button below to get a security code from GNU Social which you have to copy into the input box below and submit the form. Only your public posts will be posted to GNU Social."] = "Pro připojení k Vašemu účtu na GNU social klikněte na tlačítko níže. Obdržíte bezpečnostní kód od GNU social, ten musíte zkopírovat do vyplňovacího pole níže a odeslat formulář. Pouze Vaše veřejné příspěvky budou odesílány na GNU social."; $a->strings["Log in with GNU Social"] = "Přihlásit se pomocí GNU social"; $a->strings["Copy the security code from GNU Social here"] = "Zde překopírujte váš bezpečnostní kód z GNU social"; $a->strings["Cancel Connection Process"] = "Zrušit připojování"; -$a->strings["Current GNU Social API is"] = ""; +$a->strings["Current GNU Social API is"] = "Aktuální API GNU social je:"; $a->strings["Cancel GNU Social Connection"] = "Zrušit spojení s GNU social"; $a->strings["Currently connected to: "] = "Aktuálně jste připojen/a k:"; -$a->strings["If enabled all your public postings can be posted to the associated GNU Social account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = ""; -$a->strings["Note: Due your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to GNU Social will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = ""; +$a->strings["If enabled all your public postings can be posted to the associated GNU Social account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = "Je-li povoleno, všechny Vaše veřejné příspěvky mohou být zasílány na související účet na GNU social. Můžete si vybrat, zda-li toto bude výchozí nastavení (zde), nebo budete mít možnost si vybrat požadované chování při psaní každého příspěvku."; +$a->strings["Note: Due your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to GNU Social will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = "Poznámka: Kvůli vašim nastavením o soukromí (Skrýt Vaše profilové detaily před neznámými návštěvníky?), odkaz potenciálně obsažen ve veřejných příspěvcích přeposílaných na GNU social zavedou návštěvníky na prázdnou stránku informující návštěvníky, že přístup na Váš profil byl zakázán."; $a->strings["Allow posting to GNU Social"] = "Povolit posílání příspěvků na GNU social"; -$a->strings["Send public postings to GNU Social by default"] = ""; -$a->strings["Mirror all posts from GNU Social that are no replies or repeated messages"] = ""; -$a->strings["Import the remote timeline"] = ""; +$a->strings["Send public postings to GNU Social by default"] = "Ve výchozím stavu posílat veřejné příspěvky na GNU social"; +$a->strings["Mirror all posts from GNU Social that are no replies or repeated messages"] = "Zrcadlit všechny příspěvky z GNU social, které nejsou odpovědi nebo zopakované zprávy"; +$a->strings["Import the remote timeline"] = "Importovat vzdálenou časovou osu"; $a->strings["Disabled"] = "Zakázáno"; -$a->strings["Full Timeline"] = ""; -$a->strings["Only Mentions"] = ""; +$a->strings["Full Timeline"] = "Plná časová osa"; +$a->strings["Only Mentions"] = "Pouze zmínky"; $a->strings["Clear OAuth configuration"] = "Vymazat konfiguraci OAuth"; $a->strings["Site name"] = "Název webu"; $a->strings["Consumer Secret"] = "Consumer Secret"; -- 2.43.5 From 24781527ee2d9e9d053e95b38d871b4a3059847b Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:19:22 +0200 Subject: [PATCH 16/24] ZH CN testdrive addon --- testdrive/lang/zh-cn/messages.po | 41 ++++++++++++++++++++++++++++++++ testdrive/lang/zh-cn/strings.php | 17 +++++++++---- 2 files changed, 53 insertions(+), 5 deletions(-) create mode 100644 testdrive/lang/zh-cn/messages.po diff --git a/testdrive/lang/zh-cn/messages.po b/testdrive/lang/zh-cn/messages.po new file mode 100644 index 00000000..6819faa8 --- /dev/null +++ b/testdrive/lang/zh-cn/messages.po @@ -0,0 +1,41 @@ +# ADDON testdrive +# Copyright (C) +# This file is distributed under the same license as the Friendica testdrive addon package. +# +# +# Translators: +# 朱陈锬 , 2018 +msgid "" +msgstr "" +"Project-Id-Version: friendica\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-23 17:30+0200\n" +"PO-Revision-Date: 2018-06-16 09:13+0000\n" +"Last-Translator: 朱陈锬 \n" +"Language-Team: Chinese (China) (http://www.transifex.com/Friendica/friendica/language/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: testdrive.php:67 +msgid "Administrator" +msgstr "管理员" + +#: testdrive.php:94 +#, php-format +msgid "Your account on %s will expire in a few days." +msgstr "您在 %s 的账户将在几天内过期。" + +#: testdrive.php:95 +msgid "Your Friendica test account is about to expire." +msgstr "您的 Friendica 测试账户即将过期。" + +#: testdrive.php:96 +#, php-format +msgid "" +"Hi %1$s,\n" +"\n" +"Your test account on %2$s will expire in less than five days. We hope you enjoyed this test drive and use this opportunity to find a permanent Friendica website for your integrated social communications. A list of public sites is available at %s/siteinfo - and for more information on setting up your own Friendica server please see the Friendica project website at http://friendica.com." +msgstr "嘿 %1$s,\n\n您在 %2$s 的测试账户将在五天内过期。我们希望您享受这次试用并以此机会为您的综合社交找到常驻的 Friendica 站点。公开可用站点罗列在 %s/siteinfo - 若要了解更多关于建立自己的 Friendica 服务站点的信息,请浏览 Friendica 项目的官方网站 http://friendica.com 。" diff --git a/testdrive/lang/zh-cn/strings.php b/testdrive/lang/zh-cn/strings.php index d3971f5b..87dce218 100644 --- a/testdrive/lang/zh-cn/strings.php +++ b/testdrive/lang/zh-cn/strings.php @@ -1,5 +1,12 @@ -strings["Administrator"] = "管理员"; -$a->strings["Your account on %s will expire in a few days."] = "您账户在%s几天后过期了。"; -$a->strings["Your Friendica test account is about to expire."] = "您Friendica化验账户快过期了。"; +strings["Administrator"] = "管理员"; +$a->strings["Your account on %s will expire in a few days."] = "您在 %s 的账户将在几天内过期。"; +$a->strings["Your Friendica test account is about to expire."] = "您的 Friendica 测试账户即将过期。"; +$a->strings["Hi %1\$s,\n\nYour test account on %2\$s will expire in less than five days. We hope you enjoyed this test drive and use this opportunity to find a permanent Friendica website for your integrated social communications. A list of public sites is available at %s/siteinfo - and for more information on setting up your own Friendica server please see the Friendica project website at http://friendica.com."] = "嘿 %1\$s,\n\n您在 %2\$s 的测试账户将在五天内过期。我们希望您享受这次试用并以此机会为您的综合社交找到常驻的 Friendica 站点。公开可用站点罗列在 %s/siteinfo - 若要了解更多关于建立自己的 Friendica 服务站点的信息,请浏览 Friendica 项目的官方网站 http://friendica.com 。"; -- 2.43.5 From c921951f41b89a00cec8f11321a3392cc25d438f Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:22:32 +0200 Subject: [PATCH 17/24] CS twitter addon --- twitter/lang/cs/messages.po | 22 +++++++++++----------- twitter/lang/cs/strings.php | 20 ++++++++++---------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/twitter/lang/cs/messages.po b/twitter/lang/cs/messages.po index 06beaa81..68586a7e 100644 --- a/twitter/lang/cs/messages.po +++ b/twitter/lang/cs/messages.po @@ -12,7 +12,7 @@ msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-06-02 10:25+0700\n" -"PO-Revision-Date: 2018-06-12 12:14+0000\n" +"PO-Revision-Date: 2018-06-14 10:10+0000\n" "Last-Translator: Aditoo\n" "Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" @@ -29,11 +29,11 @@ msgstr "Poslat příspěvek na Twitter" msgid "" "You submitted an empty PIN, please Sign In with Twitter again to get a new " "one." -msgstr "" +msgstr "Vložil/a jste prázdný PIN kód, prosím přihlaste se opět na Twitter pro nový." #: twitter.php:263 msgid "Twitter settings updated." -msgstr "Nastavení Twitteru aktualizováno." +msgstr "Nastavení pro Twitter aktualizována." #: twitter.php:293 twitter.php:297 msgid "Twitter Import/Export/Mirror" @@ -52,11 +52,11 @@ msgid "" "button below to get a PIN from Twitter which you have to copy into the input" " box below and submit the form. Only your public posts will" " be posted to Twitter." -msgstr "" +msgstr "Na této instanci Friendica byl doplněk pro Twitter povolen, ještě jste však nepřipojil/a Váš účet k Vašemu účtu na Twitteru. Pokud to chcete udělat, kliknutím na tlačítko níže získáte od Twitteru PIN kód, zkopírujte jej do pole níže a odešlete formulář. Pouze Vaše veřejné příspěvky budou odesílány na Twitter." #: twitter.php:317 msgid "Log in with Twitter" -msgstr "Přihlásit se s Twitter" +msgstr "Přihlásit se přes Twitter" #: twitter.php:319 msgid "Copy the PIN from Twitter here" @@ -83,7 +83,7 @@ msgid "" "If enabled all your public postings can be posted to the " "associated Twitter account. You can choose to do so by default (here) or for" " every posting separately in the posting options when writing the entry." -msgstr "Je-li povoleno, všechny Vaše veřejné příspěvky mohou být zaslány na související Twitter účet. Můžete si vybrat, zda-li toto bude výchozí nastavení (zde), nebo budete mít možnost si vybrat požadované chování při psaní každého příspěvku." +msgstr "Je-li povoleno, všechny Vaše veřejné příspěvky mohou být zasílány na související účet na Twitteru. Můžete si vybrat, zda-li toto bude výchozí nastavení (zde), nebo budete mít možnost si vybrat požadované chování při psaní každého příspěvku." #: twitter.php:350 msgid "" @@ -91,7 +91,7 @@ msgid "" "details from unknown viewers?) the link potentially included in public " "postings relayed to Twitter will lead the visitor to a blank page informing " "the visitor that the access to your profile has been restricted." -msgstr "" +msgstr "Poznámka: Kvůli vašim nastavením o soukromí (Skrýt Vaše profilové detaily před neznámými návštěvníky?), odkaz potenciálně obsažen ve veřejných příspěvcích přeposílaných na Twitter zavedou návštěvníky na prázdnou stránku informující návštěvníky, že přístup na Váš profil byl zakázán." #: twitter.php:353 msgid "Send public postings to Twitter by default" @@ -99,11 +99,11 @@ msgstr "Defaultně zasílat veřejné komentáře na Twitter" #: twitter.php:356 msgid "Mirror all posts from twitter that are no replies" -msgstr "" +msgstr "Zrcadlit všechny příspěvky z Twitteru, které nejsou odpovědi." #: twitter.php:359 msgid "Import the remote timeline" -msgstr "" +msgstr "Importovat vzdálenou časovou osu" #: twitter.php:362 msgid "Automatically create contacts" @@ -117,11 +117,11 @@ msgid "" "from whom you would like to see posts here. However if enabled, you cannot " "merely remove a twitter contact from the Friendica contact list, as it will " "recreate this contact when they post again." -msgstr "" +msgstr "Tato možnost automaticky vytvoří kontakt na Friendica, jakmile obdržíte zprávu od existujícího kontaktu přes síť Twitter. Pokud toto nezapnete, budete si muset tyto kontakty na Twitteru, od kterých chcete dostávat příspěvky, přidávat do Friendica manuálně. Pokud toto ovšem zapnete, nemůžete jednoduše odstranit kontakt na Twitteru ze seznamu kontaktů na Friendica, neboť tato možnost jej při každém novém příspěvku opět vytvoří." #: twitter.php:614 msgid "Twitter post failed. Queued for retry." -msgstr "" +msgstr "Poslání příspěvku na Twitter selhalo. Příspěvek byl poslán do fronty pro zopakování." #: twitter.php:628 msgid "Settings updated." diff --git a/twitter/lang/cs/strings.php b/twitter/lang/cs/strings.php index 5e0ad103..e6aeedfd 100644 --- a/twitter/lang/cs/strings.php +++ b/twitter/lang/cs/strings.php @@ -7,25 +7,25 @@ function string_plural_select_cs($n){ }} ; $a->strings["Post to Twitter"] = "Poslat příspěvek na Twitter"; -$a->strings["You submitted an empty PIN, please Sign In with Twitter again to get a new one."] = ""; -$a->strings["Twitter settings updated."] = "Nastavení Twitteru aktualizováno."; +$a->strings["You submitted an empty PIN, please Sign In with Twitter again to get a new one."] = "Vložil/a jste prázdný PIN kód, prosím přihlaste se opět na Twitter pro nový."; +$a->strings["Twitter settings updated."] = "Nastavení pro Twitter aktualizována."; $a->strings["Twitter Import/Export/Mirror"] = "Import/Export/Zrcadlení Twitteru"; $a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "Nenalezen žádný spotřebitelský páru klíčů pro Twitter. Obraťte se na administrátora webu."; -$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = ""; -$a->strings["Log in with Twitter"] = "Přihlásit se s Twitter"; +$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "Na této instanci Friendica byl doplněk pro Twitter povolen, ještě jste však nepřipojil/a Váš účet k Vašemu účtu na Twitteru. Pokud to chcete udělat, kliknutím na tlačítko níže získáte od Twitteru PIN kód, zkopírujte jej do pole níže a odešlete formulář. Pouze Vaše veřejné příspěvky budou odesílány na Twitter."; +$a->strings["Log in with Twitter"] = "Přihlásit se přes Twitter"; $a->strings["Copy the PIN from Twitter here"] = "Zkopírujte sem PIN z Twitteru"; $a->strings["Save Settings"] = "Uložit nastavení"; $a->strings["Currently connected to: "] = "V současné době připojen k:"; $a->strings["Disconnect"] = "Odpojit"; $a->strings["Allow posting to Twitter"] = "Povolit odesílání na Twitter"; -$a->strings["If enabled all your public postings can be posted to the associated Twitter account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = "Je-li povoleno, všechny Vaše veřejné příspěvky mohou být zaslány na související Twitter účet. Můžete si vybrat, zda-li toto bude výchozí nastavení (zde), nebo budete mít možnost si vybrat požadované chování při psaní každého příspěvku."; -$a->strings["Note: Due to your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = ""; +$a->strings["If enabled all your public postings can be posted to the associated Twitter account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = "Je-li povoleno, všechny Vaše veřejné příspěvky mohou být zasílány na související účet na Twitteru. Můžete si vybrat, zda-li toto bude výchozí nastavení (zde), nebo budete mít možnost si vybrat požadované chování při psaní každého příspěvku."; +$a->strings["Note: Due to your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = "Poznámka: Kvůli vašim nastavením o soukromí (Skrýt Vaše profilové detaily před neznámými návštěvníky?), odkaz potenciálně obsažen ve veřejných příspěvcích přeposílaných na Twitter zavedou návštěvníky na prázdnou stránku informující návštěvníky, že přístup na Váš profil byl zakázán."; $a->strings["Send public postings to Twitter by default"] = "Defaultně zasílat veřejné komentáře na Twitter"; -$a->strings["Mirror all posts from twitter that are no replies"] = ""; -$a->strings["Import the remote timeline"] = ""; +$a->strings["Mirror all posts from twitter that are no replies"] = "Zrcadlit všechny příspěvky z Twitteru, které nejsou odpovědi."; +$a->strings["Import the remote timeline"] = "Importovat vzdálenou časovou osu"; $a->strings["Automatically create contacts"] = "Automaticky vytvořit kontakty"; -$a->strings["This will automatically create a contact in Friendica as soon as you receive a message from an existing contact via the Twitter network. If you do not enable this, you need to manually add those Twitter contacts in Friendica from whom you would like to see posts here. However if enabled, you cannot merely remove a twitter contact from the Friendica contact list, as it will recreate this contact when they post again."] = ""; -$a->strings["Twitter post failed. Queued for retry."] = ""; +$a->strings["This will automatically create a contact in Friendica as soon as you receive a message from an existing contact via the Twitter network. If you do not enable this, you need to manually add those Twitter contacts in Friendica from whom you would like to see posts here. However if enabled, you cannot merely remove a twitter contact from the Friendica contact list, as it will recreate this contact when they post again."] = "Tato možnost automaticky vytvoří kontakt na Friendica, jakmile obdržíte zprávu od existujícího kontaktu přes síť Twitter. Pokud toto nezapnete, budete si muset tyto kontakty na Twitteru, od kterých chcete dostávat příspěvky, přidávat do Friendica manuálně. Pokud toto ovšem zapnete, nemůžete jednoduše odstranit kontakt na Twitteru ze seznamu kontaktů na Friendica, neboť tato možnost jej při každém novém příspěvku opět vytvoří."; +$a->strings["Twitter post failed. Queued for retry."] = "Poslání příspěvku na Twitter selhalo. Příspěvek byl poslán do fronty pro zopakování."; $a->strings["Settings updated."] = "Nastavení aktualizováno."; $a->strings["Consumer key"] = "Consumer key"; $a->strings["Consumer secret"] = "Consumer secret"; -- 2.43.5 From f511aaa8e824afe76560268d6c9345c08579ad1b Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:24:18 +0200 Subject: [PATCH 18/24] EN US added twitter translation --- twitter/lang/en-us/messages.po | 135 +++++++++++++++++++++++++++++++++ twitter/lang/en-us/strings.php | 31 ++++++++ 2 files changed, 166 insertions(+) create mode 100644 twitter/lang/en-us/messages.po create mode 100644 twitter/lang/en-us/strings.php diff --git a/twitter/lang/en-us/messages.po b/twitter/lang/en-us/messages.po new file mode 100644 index 00000000..e7844812 --- /dev/null +++ b/twitter/lang/en-us/messages.po @@ -0,0 +1,135 @@ +# ADDON twitter +# Copyright (C) +# This file is distributed under the same license as the Friendica twitter addon package. +# +# +# Translators: +# Andy H3 , 2018 +# R C , 2018 +msgid "" +msgstr "" +"Project-Id-Version: friendica\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-06-02 10:25+0700\n" +"PO-Revision-Date: 2018-06-13 03:50+0000\n" +"Last-Translator: R C \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" + +#: twitter.php:195 +msgid "Post to Twitter" +msgstr "Post to Twitter" + +#: twitter.php:236 +msgid "" +"You submitted an empty PIN, please Sign In with Twitter again to get a new " +"one." +msgstr "You submitted an empty PIN, please sign in with Twitter again to get a new PIN." + +#: twitter.php:263 +msgid "Twitter settings updated." +msgstr "Twitter settings updated." + +#: twitter.php:293 twitter.php:297 +msgid "Twitter Import/Export/Mirror" +msgstr "Twitter Import/Export/Mirror" + +#: twitter.php:304 +msgid "" +"No consumer key pair for Twitter found. Please contact your site " +"administrator." +msgstr "No consumer key pair for Twitter found. Please contact your site administrator." + +#: twitter.php:316 +msgid "" +"At this Friendica instance the Twitter addon was enabled but you have not " +"yet connected your account to your Twitter account. To do so click the " +"button below to get a PIN from Twitter which you have to copy into the input" +" box below and submit the form. Only your public posts will" +" be posted to Twitter." +msgstr "At this Friendica instance the Twitter addon was enabled, but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter." + +#: twitter.php:317 +msgid "Log in with Twitter" +msgstr "Log in with Twitter" + +#: twitter.php:319 +msgid "Copy the PIN from Twitter here" +msgstr "Copy the PIN from Twitter here" + +#: twitter.php:324 twitter.php:366 twitter.php:636 +msgid "Save Settings" +msgstr "Save settings" + +#: twitter.php:336 +msgid "Currently connected to: " +msgstr "Currently connected to: " + +#: twitter.php:337 +msgid "Disconnect" +msgstr "Disconnect" + +#: twitter.php:347 +msgid "Allow posting to Twitter" +msgstr "Allow posting to Twitter" + +#: twitter.php:347 +msgid "" +"If enabled all your public postings can be posted to the " +"associated Twitter account. You can choose to do so by default (here) or for" +" every posting separately in the posting options when writing the entry." +msgstr "If enabled, all your public postings can be posted to the associated Twitter account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry." + +#: twitter.php:350 +msgid "" +"Note: Due to your privacy settings (Hide your profile " +"details from unknown viewers?) the link potentially included in public " +"postings relayed to Twitter will lead the visitor to a blank page informing " +"the visitor that the access to your profile has been restricted." +msgstr "Note: Due to your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted." + +#: twitter.php:353 +msgid "Send public postings to Twitter by default" +msgstr "Send public postings to Twitter by default" + +#: twitter.php:356 +msgid "Mirror all posts from twitter that are no replies" +msgstr "Mirror all posts from twitter that are no replies" + +#: twitter.php:359 +msgid "Import the remote timeline" +msgstr "Import the remote timeline" + +#: twitter.php:362 +msgid "Automatically create contacts" +msgstr "Automatically create contacts" + +#: twitter.php:362 +msgid "" +"This will automatically create a contact in Friendica as soon as you receive" +" a message from an existing contact via the Twitter network. If you do not " +"enable this, you need to manually add those Twitter contacts in Friendica " +"from whom you would like to see posts here. However if enabled, you cannot " +"merely remove a twitter contact from the Friendica contact list, as it will " +"recreate this contact when they post again." +msgstr "" + +#: twitter.php:614 +msgid "Twitter post failed. Queued for retry." +msgstr "Twitter post failed. Queued for retry." + +#: twitter.php:628 +msgid "Settings updated." +msgstr "Settings updated." + +#: twitter.php:638 +msgid "Consumer key" +msgstr "Consumer key" + +#: twitter.php:639 +msgid "Consumer secret" +msgstr "Consumer secret" diff --git a/twitter/lang/en-us/strings.php b/twitter/lang/en-us/strings.php new file mode 100644 index 00000000..9ccd8325 --- /dev/null +++ b/twitter/lang/en-us/strings.php @@ -0,0 +1,31 @@ +strings["Post to Twitter"] = "Post to Twitter"; +$a->strings["You submitted an empty PIN, please Sign In with Twitter again to get a new one."] = "You submitted an empty PIN, please sign in with Twitter again to get a new PIN."; +$a->strings["Twitter settings updated."] = "Twitter settings updated."; +$a->strings["Twitter Import/Export/Mirror"] = "Twitter Import/Export/Mirror"; +$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "No consumer key pair for Twitter found. Please contact your site administrator."; +$a->strings["At this Friendica instance the Twitter addon was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."] = "At this Friendica instance the Twitter addon was enabled, but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your public posts will be posted to Twitter."; +$a->strings["Log in with Twitter"] = "Log in with Twitter"; +$a->strings["Copy the PIN from Twitter here"] = "Copy the PIN from Twitter here"; +$a->strings["Save Settings"] = "Save settings"; +$a->strings["Currently connected to: "] = "Currently connected to: "; +$a->strings["Disconnect"] = "Disconnect"; +$a->strings["Allow posting to Twitter"] = "Allow posting to Twitter"; +$a->strings["If enabled all your public postings can be posted to the associated Twitter account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = "If enabled, all your public postings can be posted to the associated Twitter account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."; +$a->strings["Note: Due to your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = "Note: Due to your privacy settings (Hide your profile details from unknown viewers?) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."; +$a->strings["Send public postings to Twitter by default"] = "Send public postings to Twitter by default"; +$a->strings["Mirror all posts from twitter that are no replies"] = "Mirror all posts from twitter that are no replies"; +$a->strings["Import the remote timeline"] = "Import the remote timeline"; +$a->strings["Automatically create contacts"] = "Automatically create contacts"; +$a->strings["This will automatically create a contact in Friendica as soon as you receive a message from an existing contact via the Twitter network. If you do not enable this, you need to manually add those Twitter contacts in Friendica from whom you would like to see posts here. However if enabled, you cannot merely remove a twitter contact from the Friendica contact list, as it will recreate this contact when they post again."] = ""; +$a->strings["Twitter post failed. Queued for retry."] = "Twitter post failed. Queued for retry."; +$a->strings["Settings updated."] = "Settings updated."; +$a->strings["Consumer key"] = "Consumer key"; +$a->strings["Consumer secret"] = "Consumer secret"; -- 2.43.5 From 7c31ba0a40905ba98ebf9c142eb325fd5122f855 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:26:22 +0200 Subject: [PATCH 19/24] ZH CN viewsrc translation --- viewsrc/lang/zh-cn/messages.po | 23 +++++++++++++++++++++++ viewsrc/lang/zh-cn/strings.php | 12 +++++++++--- 2 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 viewsrc/lang/zh-cn/messages.po diff --git a/viewsrc/lang/zh-cn/messages.po b/viewsrc/lang/zh-cn/messages.po new file mode 100644 index 00000000..2e67877b --- /dev/null +++ b/viewsrc/lang/zh-cn/messages.po @@ -0,0 +1,23 @@ +# ADDON viewsrc +# Copyright (C) +# This file is distributed under the same license as the Friendica viewsrc addon package. +# +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-02-27 05:01-0500\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: 朱陈锬 , 2018\n" +"Language-Team: Chinese (China) (https://www.transifex.com/Friendica/teams/12172/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: viewsrc.php:39 +msgid "View Source" +msgstr "查看源码" diff --git a/viewsrc/lang/zh-cn/strings.php b/viewsrc/lang/zh-cn/strings.php index a970620a..33fc8222 100644 --- a/viewsrc/lang/zh-cn/strings.php +++ b/viewsrc/lang/zh-cn/strings.php @@ -1,3 +1,9 @@ -strings["View Source"] = "看源代码"; +strings["View Source"] = "查看源码"; -- 2.43.5 From 09cd861a6e4536c5dd90207c7d53e0acd0ade8b0 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:28:28 +0200 Subject: [PATCH 20/24] ZH CN webrtc translation --- webrtc/lang/zh-cn/messages.po | 59 +++++++++++++++++++++++++++++++++++ webrtc/lang/zh-cn/strings.php | 16 ++++++++++ 2 files changed, 75 insertions(+) create mode 100644 webrtc/lang/zh-cn/messages.po create mode 100644 webrtc/lang/zh-cn/strings.php diff --git a/webrtc/lang/zh-cn/messages.po b/webrtc/lang/zh-cn/messages.po new file mode 100644 index 00000000..0efdd54e --- /dev/null +++ b/webrtc/lang/zh-cn/messages.po @@ -0,0 +1,59 @@ +# ADDON webrtc +# Copyright (C) +# This file is distributed under the same license as the Friendica webrtc addon package. +# +# +# Translators: +# 朱陈锬 , 2018 +msgid "" +msgstr "" +"Project-Id-Version: friendica\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-06-23 14:45+0200\n" +"PO-Revision-Date: 2018-06-16 09:40+0000\n" +"Last-Translator: 朱陈锬 \n" +"Language-Team: Chinese (China) (http://www.transifex.com/Friendica/friendica/language/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: webrtc.php:20 +msgid "WebRTC Videochat" +msgstr "WebRTC 视频通话" + +#: webrtc.php:26 +msgid "Save Settings" +msgstr "保存设置" + +#: webrtc.php:27 +msgid "WebRTC Base URL" +msgstr "WebRTC Base URL" + +#: webrtc.php:27 +msgid "" +"Page your users will create a WebRTC chat room on. For example you could use" +" https://live.mayfirst.org ." +msgstr "通知您的用户将启用的 WebRTC 聊天室。例如您可以使用 https://live.mayfirst.org。" + +#: webrtc.php:33 +msgid "Settings updated." +msgstr "设置已更新。" + +#: webrtc.php:47 +msgid "Video Chat" +msgstr "视频通话" + +#: webrtc.php:48 +msgid "" +"WebRTC is a video and audio conferencing tool that works with Firefox " +"(version 21 and above) and Chrome/Chromium (version 25 and above). Just " +"create a new chat room and send the link to someone you want to chat with." +msgstr "WebRTC 是一款视频和音频会议工具,可在 Firefox (21 及以上版本) 和 Chrome/Chromium (25 及以上版本) 上使用。只需创建一个新的聊天室并将链接发送给您想要聊天的人即可开始聊天。" + +#: webrtc.php:50 +msgid "" +"Please contact your friendica admin and send a reminder to configure the " +"WebRTC addon." +msgstr "请联系提醒您的 friendica 管理员完成 WebRTC 插件的配置。" diff --git a/webrtc/lang/zh-cn/strings.php b/webrtc/lang/zh-cn/strings.php new file mode 100644 index 00000000..1d41cd16 --- /dev/null +++ b/webrtc/lang/zh-cn/strings.php @@ -0,0 +1,16 @@ +strings["WebRTC Videochat"] = "WebRTC 视频通话"; +$a->strings["Save Settings"] = "保存设置"; +$a->strings["WebRTC Base URL"] = "WebRTC Base URL"; +$a->strings["Page your users will create a WebRTC chat room on. For example you could use https://live.mayfirst.org ."] = "通知您的用户将启用的 WebRTC 聊天室。例如您可以使用 https://live.mayfirst.org。"; +$a->strings["Settings updated."] = "设置已更新。"; +$a->strings["Video Chat"] = "视频通话"; +$a->strings["WebRTC is a video and audio conferencing tool that works with Firefox (version 21 and above) and Chrome/Chromium (version 25 and above). Just create a new chat room and send the link to someone you want to chat with."] = "WebRTC 是一款视频和音频会议工具,可在 Firefox (21 及以上版本) 和 Chrome/Chromium (25 及以上版本) 上使用。只需创建一个新的聊天室并将链接发送给您想要聊天的人即可开始聊天。"; +$a->strings["Please contact your friendica admin and send a reminder to configure the WebRTC addon."] = "请联系提醒您的 friendica 管理员完成 WebRTC 插件的配置。"; -- 2.43.5 From 767e7b78e5c8ebd42a5a1891e761bde10c876ee5 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:30:35 +0200 Subject: [PATCH 21/24] ZH CN windowsphonepush translation --- windowsphonepush/lang/zh-cn/messages.po | 40 +++++++++++++++++++++++++ windowsphonepush/lang/zh-cn/strings.php | 13 ++++++++ 2 files changed, 53 insertions(+) create mode 100644 windowsphonepush/lang/zh-cn/messages.po create mode 100644 windowsphonepush/lang/zh-cn/strings.php diff --git a/windowsphonepush/lang/zh-cn/messages.po b/windowsphonepush/lang/zh-cn/messages.po new file mode 100644 index 00000000..12318597 --- /dev/null +++ b/windowsphonepush/lang/zh-cn/messages.po @@ -0,0 +1,40 @@ +# ADDON windowsphonepush +# Copyright (C) +# This file is distributed under the same license as the Friendica windowsphonepush addon package. +# +# +# Translators: +# 朱陈锬 , 2018 +msgid "" +msgstr "" +"Project-Id-Version: friendica\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-10-26 15:02+0100\n" +"PO-Revision-Date: 2018-06-16 09:28+0000\n" +"Last-Translator: 朱陈锬 \n" +"Language-Team: Chinese (China) (http://www.transifex.com/Friendica/friendica/language/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: windowsphonepush.php:85 +msgid "WindowsPhonePush settings updated." +msgstr "WindowsPhonePush 设置已更新。" + +#: windowsphonepush.php:114 +msgid "WindowsPhonePush Settings" +msgstr "WindowsPhonePush 设置" + +#: windowsphonepush.php:117 +msgid "Enable WindowsPhonePush Addon" +msgstr "启用 WindowsPhonePush 插件" + +#: windowsphonepush.php:122 +msgid "Push text of new item" +msgstr "推送新项目的文本" + +#: windowsphonepush.php:127 +msgid "Save Settings" +msgstr "保存设置" diff --git a/windowsphonepush/lang/zh-cn/strings.php b/windowsphonepush/lang/zh-cn/strings.php new file mode 100644 index 00000000..3782a314 --- /dev/null +++ b/windowsphonepush/lang/zh-cn/strings.php @@ -0,0 +1,13 @@ +strings["WindowsPhonePush settings updated."] = "WindowsPhonePush 设置已更新。"; +$a->strings["WindowsPhonePush Settings"] = "WindowsPhonePush 设置"; +$a->strings["Enable WindowsPhonePush Addon"] = "启用 WindowsPhonePush 插件"; +$a->strings["Push text of new item"] = "推送新项目的文本"; +$a->strings["Save Settings"] = "保存设置"; -- 2.43.5 From badc9cc02c9e3fa381c67c4482cc439583da40db Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:32:36 +0200 Subject: [PATCH 22/24] CS wppost addon --- wppost/lang/cs/messages.po | 58 ++++++++++++++++++++++---------------- wppost/lang/cs/strings.php | 18 ++++++------ 2 files changed, 43 insertions(+), 33 deletions(-) diff --git a/wppost/lang/cs/messages.po b/wppost/lang/cs/messages.po index d2571365..9ce5a46a 100644 --- a/wppost/lang/cs/messages.po +++ b/wppost/lang/cs/messages.po @@ -4,65 +4,73 @@ # # # Translators: -# Michal Šupler , 2014 +# Aditoo, 2018 +# Aditoo, 2018 +# michal_s , 2014 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-06-23 14:45+0200\n" -"PO-Revision-Date: 2014-07-02 15:14+0000\n" -"Last-Translator: Michal Šupler \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" +"POT-Creation-Date: 2017-01-24 21:06+0100\n" +"PO-Revision-Date: 2018-06-14 14:10+0000\n" +"Last-Translator: Aditoo\n" +"Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\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" #: wppost.php:42 msgid "Post to Wordpress" -msgstr "Příspěvky do WordPress" +msgstr "Odesílat na WordPress" -#: wppost.php:79 wppost.php:83 +#: wppost.php:80 wppost.php:84 msgid "Wordpress Export" -msgstr "Wordpress Export" +msgstr "Exportovat do WordPress" -#: wppost.php:86 +#: wppost.php:87 msgid "Enable WordPress Post Addon" -msgstr "Povolit rozšíření na WordPress" +msgstr "Povolit doplněk WordPress Post" -#: wppost.php:91 +#: wppost.php:92 msgid "WordPress username" msgstr "WordPress uživatelské jméno" -#: wppost.php:96 +#: wppost.php:97 msgid "WordPress password" msgstr "WordPress heslo" -#: wppost.php:101 +#: wppost.php:102 msgid "WordPress API URL" msgstr "URL adresa API WordPress" -#: wppost.php:106 +#: wppost.php:107 msgid "Post to WordPress by default" msgstr "standardně posílat příspěvky na WordPress" -#: wppost.php:111 +#: wppost.php:112 msgid "Provide a backlink to the Friendica post" -msgstr "Poskytuje zpětný link na Friendica příspěvek" +msgstr "Poskytnout zpětný odkaz na příspěvek Friendica" #: wppost.php:116 +msgid "" +"Text for the backlink, e.g. Read the original post and comment stream on " +"Friendica." +msgstr "Text pro zpětné odkazy, např. \"Přečtěte si původní příspěvek a komentáře na Friendica\"." + +#: wppost.php:121 msgid "Don't post messages that are too short" -msgstr "Neposílat zprávy, které jsou příliš krátké" +msgstr "Neposílejte zprávy, které jsou příliš krátké" -#: wppost.php:122 +#: wppost.php:127 msgid "Save Settings" -msgstr "Uložit Nastavení" +msgstr "Uložit nastavení" -#: wppost.php:243 +#: wppost.php:206 +msgid "Read the orig­i­nal post and com­ment stream on Friendica" +msgstr "Přečtěte si původní příspěvek a komentáře na Friendica" + +#: wppost.php:269 msgid "Post from Friendica" msgstr "Příspěvek z Friendica" - -#: wppost.php:255 -msgid "Read the original post and comment stream on Friendica" -msgstr "Přečíst si originální příspěvek a komentáře na Friendica" diff --git a/wppost/lang/cs/strings.php b/wppost/lang/cs/strings.php index 45783422..6ed8f6c4 100644 --- a/wppost/lang/cs/strings.php +++ b/wppost/lang/cs/strings.php @@ -2,18 +2,20 @@ if(! function_exists("string_plural_select_cs")) { 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["Post to Wordpress"] = "Příspěvky do WordPress"; -$a->strings["Wordpress Export"] = "Wordpress Export"; -$a->strings["Enable WordPress Post Addon"] = "Povolit rozšíření na WordPress"; +$a->strings["Post to Wordpress"] = "Odesílat na WordPress"; +$a->strings["Wordpress Export"] = "Exportovat do WordPress"; +$a->strings["Enable WordPress Post Addon"] = "Povolit doplněk WordPress Post"; $a->strings["WordPress username"] = "WordPress uživatelské jméno"; $a->strings["WordPress password"] = "WordPress heslo"; $a->strings["WordPress API URL"] = "URL adresa API WordPress"; $a->strings["Post to WordPress by default"] = "standardně posílat příspěvky na WordPress"; -$a->strings["Provide a backlink to the Friendica post"] = "Poskytuje zpětný link na Friendica příspěvek"; -$a->strings["Don't post messages that are too short"] = "Neposílat zprávy, které jsou příliš krátké"; -$a->strings["Save Settings"] = "Uložit Nastavení"; +$a->strings["Provide a backlink to the Friendica post"] = "Poskytnout zpětný odkaz na příspěvek Friendica"; +$a->strings["Text for the backlink, e.g. Read the original post and comment stream on Friendica."] = "Text pro zpětné odkazy, např. \"Přečtěte si původní příspěvek a komentáře na Friendica\"."; +$a->strings["Don't post messages that are too short"] = "Neposílejte zprávy, které jsou příliš krátké"; +$a->strings["Save Settings"] = "Uložit nastavení"; +$a->strings["Read the orig­i­nal post and com­ment stream on Friendica"] = "Přečtěte si původní příspěvek a komentáře na Friendica"; $a->strings["Post from Friendica"] = "Příspěvek z Friendica"; -$a->strings["Read the original post and comment stream on Friendica"] = "Přečíst si originální příspěvek a komentáře na Friendica"; -- 2.43.5 From 14996bd9b0955bc09197661491220c6d80bce4d3 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:34:12 +0200 Subject: [PATCH 23/24] ZH CN xmpp addon --- xmpp/lang/zh-cn/messages.po | 2 +- xmpp/lang/zh-cn/strings.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/xmpp/lang/zh-cn/messages.po b/xmpp/lang/zh-cn/messages.po index c9710f50..fe232b31 100644 --- a/xmpp/lang/zh-cn/messages.po +++ b/xmpp/lang/zh-cn/messages.po @@ -51,7 +51,7 @@ msgid "" "If enabled, users will automatically login to an ejabberd server that has to" " be installed on this machine with synchronized credentials via the " "\"auth_ejabberd.php\" script." -msgstr "" +msgstr "如果启用,用户将通过 “auth_ejabberd.php” 脚本使用同步证书自动登录到已在此设备上安装完成的 ejabberd 服务器。" #: xmpp.php:119 msgid "Settings updated." diff --git a/xmpp/lang/zh-cn/strings.php b/xmpp/lang/zh-cn/strings.php index 971b8470..6f5aace2 100644 --- a/xmpp/lang/zh-cn/strings.php +++ b/xmpp/lang/zh-cn/strings.php @@ -2,6 +2,7 @@ if(! function_exists("string_plural_select_zh_cn")) { function string_plural_select_zh_cn($n){ + $n = intval($n); return 0;; }} ; @@ -12,5 +13,5 @@ $a->strings["Individual Credentials"] = "个人凭证"; $a->strings["Jabber BOSH host"] = "Jabber BOSH 主机"; $a->strings["Save Settings"] = "保存设置"; $a->strings["Use central userbase"] = "使用中央用户库"; -$a->strings["If enabled, users will automatically login to an ejabberd server that has to be installed on this machine with synchronized credentials via the \"auth_ejabberd.php\" script."] = ""; +$a->strings["If enabled, users will automatically login to an ejabberd server that has to be installed on this machine with synchronized credentials via the \"auth_ejabberd.php\" script."] = "如果启用,用户将通过 “auth_ejabberd.php” 脚本使用同步证书自动登录到已在此设备上安装完成的 ejabberd 服务器。"; $a->strings["Settings updated."] = "设置已更新。"; -- 2.43.5 From befc6eeb5806231880fa6ce41a4d3a5a3a3cf841 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 18 Jun 2018 11:37:59 +0200 Subject: [PATCH 24/24] CS, EN US localization superblock addon --- superblock/lang/cs/messages.po | 38 +++++++++++++------------- superblock/lang/cs/strings.php | 13 ++++----- superblock/lang/en-us/messages.po | 44 +++++++++++++++++++++++++++++++ superblock/lang/en-us/strings.php | 14 ++++++++++ 4 files changed, 85 insertions(+), 24 deletions(-) create mode 100644 superblock/lang/en-us/messages.po create mode 100644 superblock/lang/en-us/strings.php diff --git a/superblock/lang/cs/messages.po b/superblock/lang/cs/messages.po index a6193817..865de2f1 100644 --- a/superblock/lang/cs/messages.po +++ b/superblock/lang/cs/messages.po @@ -4,41 +4,43 @@ # # # Translators: -# Michal Šupler , 2014 +# Aditoo, 2018 +# Aditoo, 2018 +# michal_s , 2014 msgid "" msgstr "" "Project-Id-Version: friendica\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-06-23 14:45+0200\n" -"PO-Revision-Date: 2014-07-28 18:16+0000\n" -"Last-Translator: Michal Šupler \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n" +"POT-Creation-Date: 2017-04-21 08:45+0200\n" +"PO-Revision-Date: 2018-06-13 17:58+0000\n" +"Last-Translator: Aditoo\n" +"Language-Team: Czech (http://www.transifex.com/Friendica/friendica/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\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 -msgid "\"Superblock\" Settings" -msgstr "\"Superblock\" Nastavení" +#: superblock.php:53 superblock.php:57 +msgid "\"Superblock\"" +msgstr "\"Superblock\"" -#: superblock.php:54 +#: superblock.php:60 msgid "Comma separated profile URLS to block" msgstr "Čárkou oddělené URL adresy profilů určených k ignorování" -#: superblock.php:58 +#: superblock.php:64 msgid "Save Settings" -msgstr "Uložit Nastavení" +msgstr "Uložit nastavení" -#: superblock.php:71 +#: superblock.php:76 msgid "SUPERBLOCK Settings saved." -msgstr "SUPERBLOCK nastavení uloženo." +msgstr "Nastavení SUPERBLOCK uložena" -#: superblock.php:143 +#: superblock.php:148 msgid "Block Completely" -msgstr "Kompletně blokovat " +msgstr "Zablokovat úplně" -#: superblock.php:163 +#: superblock.php:168 msgid "superblock settings updated" -msgstr "superblock nastavení aktualizováno." +msgstr "nastavvení superblock aktualizována" diff --git a/superblock/lang/cs/strings.php b/superblock/lang/cs/strings.php index b693d3a9..c2bcfcdf 100644 --- a/superblock/lang/cs/strings.php +++ b/superblock/lang/cs/strings.php @@ -2,12 +2,13 @@ if(! function_exists("string_plural_select_cs")) { 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["Save Settings"] = "Uložit Nastavení"; -$a->strings["SUPERBLOCK Settings saved."] = "SUPERBLOCK nastavení uloženo."; -$a->strings["Block Completely"] = "Kompletně blokovat "; -$a->strings["superblock settings updated"] = "superblock nastavení aktualizováno."; +$a->strings["Save Settings"] = "Uložit nastavení"; +$a->strings["SUPERBLOCK Settings saved."] = "Nastavení SUPERBLOCK uložena"; +$a->strings["Block Completely"] = "Zablokovat úplně"; +$a->strings["superblock settings updated"] = "nastavvení superblock aktualizována"; diff --git a/superblock/lang/en-us/messages.po b/superblock/lang/en-us/messages.po new file mode 100644 index 00000000..c184cba8 --- /dev/null +++ b/superblock/lang/en-us/messages.po @@ -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 , 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 \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 "" diff --git a/superblock/lang/en-us/strings.php b/superblock/lang/en-us/strings.php new file mode 100644 index 00000000..31906bb6 --- /dev/null +++ b/superblock/lang/en-us/strings.php @@ -0,0 +1,14 @@ +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"] = ""; -- 2.43.5