infiniteimprobabilitydrive addon update RU translation THX Alexander An

This commit is contained in:
Tobias Diekershoff 2020-06-15 07:57:18 +02:00
parent 1651dd418e
commit 9ce4d716b2
2 changed files with 33 additions and 3 deletions

View File

@ -0,0 +1,24 @@
# ADDON infiniteimprobabilitydrive
# Copyright (C)
# This file is distributed under the same license as the Friendica infiniteimprobabilitydrive addon package.
#
#
# Translators:
# Alexander An <ravnina@gmail.com>, 2020
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: 2020-04-23 14:28+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"
#: infiniteimprobabilitydrive.php:19
msgid "Infinite Improbability Drive"
msgstr "Infinite Improbability Drive"

View File

@ -1,3 +1,9 @@
<?php
$a->strings["Infinite Improbability Drive"] = "";
<?php
if(! function_exists("string_plural_select_ru")) {
function string_plural_select_ru($n){
$n = intval($n);
return ($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);;
}}
;
$a->strings["Infinite Improbability Drive"] = "Infinite Improbability Drive";