planets translation update THX SpcCw

This commit is contained in:
Tobias Diekershoff 2022-06-07 06:42:10 +02:00
parent ecc841b5f7
commit 6d3c4e51ac
Signed by: tobias
GPG Key ID: 25FE376FF17694A1
2 changed files with 37 additions and 5 deletions

View File

@ -0,0 +1,28 @@
# ADDON planets
# Copyright (C)
# This file is distributed under the same license as the Friendica planets addon package.
#
#
# Translators:
# Alexander An <ravnina@gmail.com>, 2022
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-21 19:15-0500\n"
"PO-Revision-Date: 2014-06-23 11:19+0000\n"
"Last-Translator: Alexander An <ravnina@gmail.com>, 2022\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"
#: planets.php:126
msgid "Enable Planets Addon"
msgstr "Включить дополнение Planets"
#: planets.php:131
msgid "Planets Settings"
msgstr "Настройки Planets"

View File

@ -1,5 +1,9 @@
<?php
$a->strings["Planets Settings"] = "";
$a->strings["Enable Planets Addon"] = "";
$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['Enable Planets Addon'] = 'Включить дополнение Planets';
$a->strings['Planets Settings'] = 'Настройки Planets';