js_upload RU translation update THX Alexander An
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 15 Jun 2020 07:16:07 +0000 (09:16 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 15 Jun 2020 07:16:07 +0000 (09:16 +0200)
js_upload/lang/ru/messages.po [new file with mode: 0644]
js_upload/lang/ru/strings.php

diff --git a/js_upload/lang/ru/messages.po b/js_upload/lang/ru/messages.po
new file mode 100644 (file)
index 0000000..bb5be3e
--- /dev/null
@@ -0,0 +1,56 @@
+# ADDON js_upload
+# Copyright (C)
+# This file is distributed under the same license as the Friendica js_upload 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 13:59+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"
+
+#: js_upload.php:43
+msgid "Upload a file"
+msgstr "Загрузить файл"
+
+#: js_upload.php:44
+msgid "Drop files here to upload"
+msgstr "Перетащите сюда файлы для загрузки"
+
+#: js_upload.php:45
+msgid "Cancel"
+msgstr "Отмена"
+
+#: js_upload.php:46
+msgid "Failed"
+msgstr "Ошибка"
+
+#: js_upload.php:303
+msgid "No files were uploaded."
+msgstr "Файлы не были загружены."
+
+#: js_upload.php:309
+msgid "Uploaded file is empty"
+msgstr "Загруженный файл пустой."
+
+#: js_upload.php:321
+msgid "Image exceeds size limit of "
+msgstr "Изображение превышает ограничение в"
+
+#: js_upload.php:332
+msgid "File has an invalid extension, it should be one of "
+msgstr "У файла недопустимое расширение, оно должно быть"
+
+#: js_upload.php:343
+msgid "Upload was cancelled, or server error encountered"
+msgstr "Закачка отменена, либо возникла ошибка на сервере"
index b30fa7b..c2071cf 100644 (file)
@@ -1,11 +1,17 @@
-<?php\r
-\r
-$a->strings["Upload a file"] = "Загрузить файл";\r
-$a->strings["Drop files here to upload"] = "Перетащите файлы сюда для загрузки";\r
-$a->strings["Cancel"] = "Отмена";\r
-$a->strings["Failed"] = "Ошибка";\r
-$a->strings["No files were uploaded."] = "Нет загруженных файлов.";\r
-$a->strings["Uploaded file is empty"] = "Загруженный файл пустой";\r
-$a->strings["Image exceeds size limit of "] = "Размер фото превышает лимит ";\r
-$a->strings["File has an invalid extension, it should be one of "] = "Файл имеет недопустимое расширение, оно должно быть одним из следующих ";\r
-$a->strings["Upload was cancelled, or server error encountered"] = "Загрузка была отменена, или произошла ошибка сервера";\r
+<?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["Upload a file"] = "Загрузить файл";
+$a->strings["Drop files here to upload"] = "Перетащите сюда файлы для загрузки";
+$a->strings["Cancel"] = "Отмена";
+$a->strings["Failed"] = "Ошибка";
+$a->strings["No files were uploaded."] = "Файлы не были загружены.";
+$a->strings["Uploaded file is empty"] = "Загруженный файл пустой.";
+$a->strings["Image exceeds size limit of "] = "Изображение превышает ограничение в";
+$a->strings["File has an invalid extension, it should be one of "] = "У файла недопустимое расширение, оно должно быть";
+$a->strings["Upload was cancelled, or server error encountered"] = "Закачка отменена, либо возникла ошибка на сервере";