mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 17:03:16 +00:00
RU translation viewsrc addon THX Stanislav N
This commit is contained in:
parent
df19b133b9
commit
ae2dfdd30f
2 changed files with 32 additions and 3 deletions
23
viewsrc/lang/ru/messages.po
Normal file
23
viewsrc/lang/ru/messages.po
Normal file
|
@ -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: Stanislav N. <pztrn@pztrn.name>, 2018\n"
|
||||||
|
"Language-Team: Russian (https://www.transifex.com/Friendica/teams/12172/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"
|
||||||
|
|
||||||
|
#: viewsrc.php:39
|
||||||
|
msgid "View Source"
|
||||||
|
msgstr "Показать исходник"
|
|
@ -1,3 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$a->strings["View Source"] = "Просмотр HTML-кода";
|
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["View Source"] = "Показать исходник";
|
||||||
|
|
Loading…
Reference in a new issue