From: Tobias Diekershoff <tobias.diekershoff@gmx.net>
Date: Fri, 25 May 2018 09:14:31 +0000 (+0200)
Subject: RU translation dwpost addon THX Stanislav N
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=56ed2bccb7bcebb28623aa56356839aa730e0691;p=friendica-addons.git

RU translation dwpost addon THX Stanislav N
---

diff --git a/dwpost/lang/ru/messages.po b/dwpost/lang/ru/messages.po
index 93e400e5..572e10fe 100644
--- a/dwpost/lang/ru/messages.po
+++ b/dwpost/lang/ru/messages.po
@@ -4,13 +4,13 @@
 # 
 # 
 # Translators:
-# Stanislav N. <pztrn@pztrn.name>, 2017
+# Stanislav N. <pztrn@pztrn.name>, 2017-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: 2017-04-08 17:09+0000\n"
+"PO-Revision-Date: 2018-05-25 00:01+0000\n"
 "Last-Translator: Stanislav N. <pztrn@pztrn.name>\n"
 "Language-Team: Russian (http://www.transifex.com/Friendica/friendica/language/ru/)\n"
 "MIME-Version: 1.0\n"
@@ -29,7 +29,7 @@ msgstr "Настройки сообщений Dreamwidth"
 
 #: dwpost.php:72
 msgid "Enable dreamwidth Post Addon"
-msgstr "Включить плагин отправки сообщений в Dreamwidth"
+msgstr "Включить аддон dreamwidth Post"
 
 #: dwpost.php:77
 msgid "dreamwidth username"
diff --git a/dwpost/lang/ru/strings.php b/dwpost/lang/ru/strings.php
index 7b6e5f47..5c351320 100644
--- a/dwpost/lang/ru/strings.php
+++ b/dwpost/lang/ru/strings.php
@@ -2,12 +2,13 @@
 
 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["Post to Dreamwidth"] = "Отправить в Dreamwidth";
 $a->strings["Dreamwidth Post Settings"] = "Настройки сообщений Dreamwidth";
-$a->strings["Enable dreamwidth Post Addon"] = "Включить плагин отправки сообщений в Dreamwidth";
+$a->strings["Enable dreamwidth Post Addon"] = "Включить аддон dreamwidth Post";
 $a->strings["dreamwidth username"] = "Имя пользователя Dreamwidth";
 $a->strings["dreamwidth password"] = "Пароль Dreamwidth";
 $a->strings["Post to dreamwidth by default"] = "Отправлять сообщения в Dreamwidth по умолчанию";