libertree addon RU translation added THX Alexander An

This commit is contained in:
Tobias Diekershoff 2021-03-28 19:30:53 +02:00
parent d8ac4d0cdf
commit ec3e4a0baa
2 changed files with 59 additions and 9 deletions

View File

@ -0,0 +1,48 @@
# ADDON libertree
# Copyright (C)
# This file is distributed under the same license as the Friendica libertree addon package.
#
#
# Translators:
# Alexander An <ravnina@gmail.com>, 2021
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-02-01 18:15+0100\n"
"PO-Revision-Date: 2021-03-03 17:44+0000\n"
"Last-Translator: Alexander An <ravnina@gmail.com>\n"
"Language-Team: Russian (http://www.transifex.com/Friendica/friendica/language/ru/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ru\n"
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
#: libertree.php:37
msgid "Post to libertree"
msgstr "Отправлять в Libertree"
#: libertree.php:71 libertree.php:75
msgid "libertree Export"
msgstr ""
#: libertree.php:79
msgid "Enable Libertree Post Addon"
msgstr "Включить отправку в Libertree"
#: libertree.php:84
msgid "Libertree API token"
msgstr ""
#: libertree.php:89
msgid "Libertree site URL"
msgstr ""
#: libertree.php:94
msgid "Post to Libertree by default"
msgstr "Отправлять записи в Libertree по-умолчанию"
#: libertree.php:100
msgid "Save Settings"
msgstr ""

View File

@ -1,9 +1,11 @@
<?php
$a->strings["Post to libertree"] = "";
$a->strings["libertree Post Settings"] = "";
$a->strings["Enable Libertree Post Addon"] = "";
$a->strings["Libertree API token"] = "";
$a->strings["Libertree site URL"] = "";
$a->strings["Post to Libertree by default"] = "";
$a->strings["Submit"] = "Подтвердить";
<?php
if(! function_exists("string_plural_select_ru")) {
function string_plural_select_ru($n){
$n = intval($n);
if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; }
}}
;
$a->strings["Post to libertree"] = "Отправлять в Libertree";
$a->strings["Enable Libertree Post Addon"] = "Включить отправку в Libertree";
$a->strings["Post to Libertree by default"] = "Отправлять записи в Libertree по-умолчанию";