js_upload RU translation update THX Alexander An

This commit is contained in:
Tobias Diekershoff 2020-06-15 09:16:07 +02:00
parent 0734b5620d
commit d6221acb53
2 changed files with 73 additions and 11 deletions

View File

@ -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 "Закачка отменена, либо возникла ошибка на сервере"

View File

@ -1,11 +1,17 @@
<?php
$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"] = "Загрузка была отменена, или произошла ошибка сервера";
<?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"] = "Закачка отменена, либо возникла ошибка на сервере";