From d4d068852f5608c2ff24586f29a8d0631a087d70 Mon Sep 17 00:00:00 2001 From: Audoban Date: Fri, 19 Sep 2014 12:35:48 -0500 Subject: [PATCH] Russian translation added Thanks to Salim (Fierta) --- plasmoid/CMakeLists.txt | 6 +- plasmoid/locale/ru/LC_MESSAGES/playbar.po | 72 ++++++++++++----------- plasmoid/metadata.desktop | 3 +- 3 files changed, 46 insertions(+), 35 deletions(-) diff --git a/plasmoid/CMakeLists.txt b/plasmoid/CMakeLists.txt index e27f46c..5ff3201 100644 --- a/plasmoid/CMakeLists.txt +++ b/plasmoid/CMakeLists.txt @@ -7,8 +7,12 @@ install(FILES metadata.desktop install(FILES metadata.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR} RENAME plasma-applet-playbar.desktop ) +set(locale_dirs + locale/es + locale/ru +) -install(DIRECTORY locale/es +install(DIRECTORY ${locale_dirs} DESTINATION ${KDE4_LOCALE_INSTALL_DIR} FILES_MATCHING PATTERN "*.mo" ) diff --git a/plasmoid/locale/ru/LC_MESSAGES/playbar.po b/plasmoid/locale/ru/LC_MESSAGES/playbar.po index 69a8571..936bf4e 100644 --- a/plasmoid/locale/ru/LC_MESSAGES/playbar.po +++ b/plasmoid/locale/ru/LC_MESSAGES/playbar.po @@ -1,42 +1,43 @@ -# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. # -#, fuzzy +# Salim (Fierta) , 2014. msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" +"Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-09-10 21:13-0500\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" +"PO-Revision-Date: 2014-09-19 22:40+0600\n" +"Last-Translator: Salim (Fierta) \n" +"Language-Team: Russian \n" +"Language: ru\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<" +"=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 1.5\n" #: plasmoid/contents/ui/Mpris2.qml:51 plasmoid/contents/ui/Mpris2.qml:80 #: plasmoid/contents/ui/Mpris2.qml:165 msgid "No source" -msgstr "" +msgstr "Нет источника" #: plasmoid/contents/ui/rc.js:3 msgid "Form" -msgstr "" +msgstr "Формуляр" #: plasmoid/contents/ui/rc.js:6 msgid "General preferences" -msgstr "" +msgstr "Общие настройки" #: plasmoid/contents/ui/rc.js:9 msgid "Display Stop button: " -msgstr "" +msgstr "Показывать кнопку стоп:" #: plasmoid/contents/ui/rc.js:12 msgid "Avoid popup close when it loses focus: " -msgstr "" +msgstr "Отключить поведение всплывающего окна как окна диалога:" #: plasmoid/contents/ui/rc.js:15 msgid "" @@ -44,14 +45,17 @@ msgid "" "annoying behavior. If you use CairoDock or Plank \n" "disable this option or create a KWin rule for \"Plasma\"." msgstr "" +"Всплывающее окно ведет себя как окно диалога, коррекция \n" +"Некорректное поведение. Если вы используете CairoDock или Plank \n" +"Отключить эту опцию или создать правило KWin для \"Рабочего стола Plasma\"." #: plasmoid/contents/ui/rc.js:20 msgid "Opaque buttons: " -msgstr "" +msgstr "Непрозрачные кнопки" #: plasmoid/contents/ui/rc.js:23 msgid "Control Bar" -msgstr "" +msgstr "Панель управления" #: plasmoid/contents/ui/rc.js:26 msgid " pixels" @@ -59,68 +63,70 @@ msgstr "" #: plasmoid/contents/ui/rc.js:29 msgid "Flat buttons: " -msgstr "" +msgstr "Круглые кнопки:" #: plasmoid/contents/ui/rc.js:32 msgid "Show notifications: " -msgstr "" +msgstr "Показать уведомления:" #: plasmoid/contents/ui/rc.js:35 msgid "Visible separator: " -msgstr "" +msgstr "Видимый разделитель:" #: plasmoid/contents/ui/rc.js:38 msgid "Size of buttons: " -msgstr "" +msgstr "Размер кнопок:" #: plasmoid/contents/ui/rc.js:41 msgid "Popup" -msgstr "" +msgstr "Всплывающее окно" #: plasmoid/contents/ui/rc.js:44 msgid "Default" -msgstr "" +msgstr "По умолчанию" #: plasmoid/contents/ui/rc.js:47 msgid "ToolTip" -msgstr "" +msgstr "Подсказка" #: plasmoid/contents/ui/rc.js:50 msgid "Style popup: " -msgstr "" +msgstr "Стиль всплывающего окна:" #: plasmoid/contents/ui/rc.js:53 msgid "Layout: " -msgstr "" +msgstr "Макет" #: plasmoid/contents/ui/rc.js:56 msgid "PlayBar" -msgstr "" +msgstr "PlayBar" #: plasmoid/contents/ui/rc.js:59 msgid "Minimalist" -msgstr "" +msgstr "Minimalist" #: plasmoid/contents/ui/rc.js:62 msgid "Cool" -msgstr "" +msgstr "Cool" #: plasmoid/contents/ui/TrackInfo.qml:116 msgid "By %1" -msgstr "" +msgstr "By %1" #: plasmoid/contents/ui/TrackInfo.qml:173 msgid "On %1" -msgstr "" +msgstr "On %1" #: plasmoid/contents/code/control.js:83 msgid "Open %1" -msgstr "" +msgstr "Открыть %1" #: plasmoid/contents/code/control.js:84 msgid "Quit" -msgstr "" +msgstr "Выйти" #: plasmoid/contents/code/control.js:86 msgid "Next source" -msgstr "" +msgstr "Следующий медиа источник" + + diff --git a/plasmoid/metadata.desktop b/plasmoid/metadata.desktop index 95bf4ba..c04ef37 100644 --- a/plasmoid/metadata.desktop +++ b/plasmoid/metadata.desktop @@ -1,8 +1,9 @@ [Desktop Entry] Name=PlayBar -Name[es]=PlayBar Comment=Client MPRIS2, allows you to control your favorite media player Comment[es]=Cliente para MPRIS2, le permite controlar su reproductor de audio favorito +Comment[ru]=Клиент MPRIS2 , позволяет управлять вашим любимым медиа-плеером + Encoding=UTF-8 Icon=applications-multimedia Keywords=play;bar;mpris2;media;player;playbar;2;