From 79b68b3ca812ed9d593337d581203c0ab13bd296 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 27 Jul 2011 16:25:17 +0000 Subject: added user interface option git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2282 90c681e8-e032-0410-971d-27865f9a5e38 --- src/app/qmmpstarter.cpp | 4 +- src/app/translations/qmmp_cs.ts | 16 +-- src/app/translations/qmmp_de.ts | 16 +-- src/app/translations/qmmp_es.ts | 16 +-- src/app/translations/qmmp_hu.ts | 16 +-- src/app/translations/qmmp_it.ts | 16 +-- src/app/translations/qmmp_ja.ts | 16 +-- src/app/translations/qmmp_lt.ts | 16 +-- src/app/translations/qmmp_nl.ts | 16 +-- src/app/translations/qmmp_pl_PL.ts | 16 +-- src/app/translations/qmmp_pt_BR.ts | 16 +-- src/app/translations/qmmp_ru.ts | 16 +-- src/app/translations/qmmp_sk.ts | 16 +-- src/app/translations/qmmp_tr.ts | 16 +-- src/app/translations/qmmp_uk_UA.ts | 16 +-- src/app/translations/qmmp_zh_CN.ts | 16 +-- src/app/translations/qmmp_zh_TW.ts | 16 +-- src/plugins/Ui/skinned/skinnedfactory.cpp | 15 ++- .../Ui/skinned/translations/skinned_plugin_cs.ts | 30 +++++ .../Ui/skinned/translations/skinned_plugin_de.ts | 30 +++++ .../Ui/skinned/translations/skinned_plugin_es.ts | 30 +++++ .../Ui/skinned/translations/skinned_plugin_hu.ts | 30 +++++ .../Ui/skinned/translations/skinned_plugin_it.ts | 30 +++++ .../Ui/skinned/translations/skinned_plugin_ja.ts | 30 +++++ .../Ui/skinned/translations/skinned_plugin_lt.ts | 30 +++++ .../Ui/skinned/translations/skinned_plugin_nl.ts | 30 +++++ .../skinned/translations/skinned_plugin_pl_PL.ts | 30 +++++ .../skinned/translations/skinned_plugin_pt_BR.ts | 30 +++++ .../Ui/skinned/translations/skinned_plugin_ru.ts | 30 +++++ .../Ui/skinned/translations/skinned_plugin_sk.ts | 30 +++++ .../Ui/skinned/translations/skinned_plugin_tr.ts | 30 +++++ .../skinned/translations/skinned_plugin_uk_UA.ts | 30 +++++ .../skinned/translations/skinned_plugin_zh_CN.ts | 30 +++++ .../skinned/translations/skinned_plugin_zh_TW.ts | 30 +++++ src/qmmpui/configdialog.cpp | 28 ++++ src/qmmpui/configdialog.h | 2 + src/qmmpui/forms/configdialog.ui | 4 +- src/qmmpui/translations/libqmmpui_cs.ts | 142 ++++++++++----------- src/qmmpui/translations/libqmmpui_de.ts | 142 ++++++++++----------- src/qmmpui/translations/libqmmpui_es.ts | 142 ++++++++++----------- src/qmmpui/translations/libqmmpui_it.ts | 142 ++++++++++----------- src/qmmpui/translations/libqmmpui_ja.ts | 142 ++++++++++----------- src/qmmpui/translations/libqmmpui_lt.ts | 142 ++++++++++----------- src/qmmpui/translations/libqmmpui_nl.ts | 142 ++++++++++----------- src/qmmpui/translations/libqmmpui_pl.ts | 142 ++++++++++----------- src/qmmpui/translations/libqmmpui_pt_BR.ts | 142 ++++++++++----------- src/qmmpui/translations/libqmmpui_ru.ts | 142 ++++++++++----------- src/qmmpui/translations/libqmmpui_tr.ts | 142 ++++++++++----------- src/qmmpui/translations/libqmmpui_uk_UA.ts | 142 ++++++++++----------- src/qmmpui/translations/libqmmpui_zh_CN.ts | 142 ++++++++++----------- src/qmmpui/translations/libqmmpui_zh_TW.ts | 142 ++++++++++----------- src/qmmpui/uihelper.h | 5 +- src/qmmpui/uiloader.cpp | 4 +- src/qmmpui/uiloader.h | 4 +- 54 files changed, 1655 insertions(+), 1135 deletions(-) (limited to 'src') diff --git a/src/app/qmmpstarter.cpp b/src/app/qmmpstarter.cpp index f62ec79be..32e473c05 100644 --- a/src/app/qmmpstarter.cpp +++ b/src/app/qmmpstarter.cpp @@ -124,8 +124,6 @@ QMMPStarter::~QMMPStarter() { if (m_ui) delete m_ui; - - //qDebug("=%d", (int)SoundCore::instance()->state()); } void QMMPStarter::startPlayer() @@ -142,7 +140,7 @@ void QMMPStarter::startPlayer() new UiHelper(this); //interface - UiFactory *factory = UiLoader::currentUiFactory(); + UiFactory *factory = UiLoader::selected(); if(factory) m_ui = factory->create(); else diff --git a/src/app/translations/qmmp_cs.ts b/src/app/translations/qmmp_cs.ts index 4f37f8d72..b84da6df1 100644 --- a/src/app/translations/qmmp_cs.ts +++ b/src/app/translations/qmmp_cs.ts @@ -72,32 +72,32 @@ QMMPStarter - + Usage: qmmp [options] [files] Použití: qmmp [volby] [soubory] - + Options: Volby: - + Don't start the application - + Print version number and exit Vypsat číslo verze a skončit - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Nápady, patche, hlášení chyb posílejte na forkotov02@hotmail.ru (anglicky) - + Display this text and exit Zobrazit tento text a skončit @@ -107,12 +107,12 @@ Neznámý příkaz - + QMMP version: Verze QMMP: - + Qt version: Verze Qt: diff --git a/src/app/translations/qmmp_de.ts b/src/app/translations/qmmp_de.ts index a3c43e2f0..f069f2f0c 100644 --- a/src/app/translations/qmmp_de.ts +++ b/src/app/translations/qmmp_de.ts @@ -72,32 +72,32 @@ QMMPStarter - + Usage: qmmp [options] [files] Aufruf: qmmp [Optionen] [Dateien] - + Options: Optionen: - + Don't start the application Die Anwendung nicht starten - + Print version number and exit Gibt die Versionsnummer aus - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Ideen, Patches und Bugreports an <forkotov02@hotmail.ru> senden - + Display this text and exit Zeigt diesen Hilfetext an @@ -107,12 +107,12 @@ Unbekannter Befehl - + QMMP version: Qmmp-Version: - + Qt version: Qt-Version: diff --git a/src/app/translations/qmmp_es.ts b/src/app/translations/qmmp_es.ts index eb25f258f..fd4a79c59 100644 --- a/src/app/translations/qmmp_es.ts +++ b/src/app/translations/qmmp_es.ts @@ -72,32 +72,32 @@ QMMPStarter - + Usage: qmmp [options] [files] Uso: qmmp [opciones] [archivos] - + Options: Opciones: - + Print version number and exit Mostrar el número de versión y salir - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Enviar ideas, parches, errores a: forkotov02@hotmail.ru - + Qt version: Versión de Qt: - + Display this text and exit Muestra este texto y sale @@ -107,12 +107,12 @@ Comando desconocido - + Don't start the application No iniciar la aplicación - + QMMP version: Versión de QMMP: diff --git a/src/app/translations/qmmp_hu.ts b/src/app/translations/qmmp_hu.ts index 3558f2d60..25c16d71c 100644 --- a/src/app/translations/qmmp_hu.ts +++ b/src/app/translations/qmmp_hu.ts @@ -77,42 +77,42 @@ Ismeretlen parancs - + Usage: qmmp [options] [files] Használat: qmmp [opciók] [fájlok] - + Options: Opciók: - + Don't start the application - + Display this text and exit Mutasd ezt a szöveget, majd lépj ki - + Print version number and exit Mutasd a verziószámot, majd lépj ki - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Ötleteket, foltokat, hibajelentéseket küld a forkotov02@hotmail.ru címre - + QMMP version: QMMP verzió: - + Qt version: Qt verzió: diff --git a/src/app/translations/qmmp_it.ts b/src/app/translations/qmmp_it.ts index 4a97636cb..9a8a4b425 100644 --- a/src/app/translations/qmmp_it.ts +++ b/src/app/translations/qmmp_it.ts @@ -72,32 +72,32 @@ QMMPStarter - + Usage: qmmp [options] [files] Uso: qmmp [options] [fichiers] - + Options: Opzioni: - + Print version number and exit Stampa il numero di versione ed esci - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Per idee, modifiche, segnalazione di errori scrivire a: forkotov02@hotmail.ru - + Qt version: Versione Qt: - + Display this text and exit Mostra questo testo ed esci @@ -107,12 +107,12 @@ Comando sconosciuto - + Don't start the application - + QMMP version: Versione di Qmmp: diff --git a/src/app/translations/qmmp_ja.ts b/src/app/translations/qmmp_ja.ts index 5350bbbeb..71012f3a1 100644 --- a/src/app/translations/qmmp_ja.ts +++ b/src/app/translations/qmmp_ja.ts @@ -77,42 +77,42 @@ 不明なコマンドです - + Usage: qmmp [options] [files] 使用法: qmmp [オプション] [ファイル名:複数可] - + Options: オプション: - + Don't start the application アプリケーションを始動しない - + Display this text and exit このメッセージを表示して終了 - + Print version number and exit バージョン番号を表示して終了 - + Ideas, patches, bugreports send to forkotov02@hotmail.ru 名案, パッチ, バグ報告は forkotov02@hotmail.ru まで - + QMMP version: QMMP 版番号: - + Qt version: Qt 版番号: diff --git a/src/app/translations/qmmp_lt.ts b/src/app/translations/qmmp_lt.ts index 705ca035d..1ee096b8b 100644 --- a/src/app/translations/qmmp_lt.ts +++ b/src/app/translations/qmmp_lt.ts @@ -72,22 +72,22 @@ QMMPStarter - + Usage: qmmp [options] [files] Naudojimas: qmmp [nuostatos] [bylos] - + Options: Nustatymai: - + Print version number and exit Parodyti versiją ir išeiti - + Display this text and exit Parodyti šį tekstą ir išeiti @@ -97,22 +97,22 @@ Nežinoma komanda - + Don't start the application Nepaleisti programos - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Idėjas, pataisymus, klaidas siųsti forkotov02@hotmail.ru - + QMMP version: QMMP versija: - + Qt version: Qt versija: diff --git a/src/app/translations/qmmp_nl.ts b/src/app/translations/qmmp_nl.ts index 535e6c5dd..a47d5cc8f 100644 --- a/src/app/translations/qmmp_nl.ts +++ b/src/app/translations/qmmp_nl.ts @@ -72,32 +72,32 @@ QMMPStarter - + Usage: qmmp [options] [files] Gebruik: qmmp [opties] [bestanden] - + Options: Opties: - + Don't start the application - + Print version number and exit Print versienummer en sluit - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Ideëen, patches, foutrapporten zenden naar forkotov02@hotmail.ru (anglicky) - + Display this text and exit Toon dit tekstje en sluit @@ -107,12 +107,12 @@ Onbekend commando - + QMMP version: QMMP versie: - + Qt version: Qt versie: diff --git a/src/app/translations/qmmp_pl_PL.ts b/src/app/translations/qmmp_pl_PL.ts index 087d233ce..e2593f25a 100644 --- a/src/app/translations/qmmp_pl_PL.ts +++ b/src/app/translations/qmmp_pl_PL.ts @@ -72,32 +72,32 @@ QMMPStarter - + Usage: qmmp [options] [files] Użycie: qmmp [opcje] [pliki] - + Options: Opcje: - + Don't start the application Nie uruchamiaj aplikacji - + Print version number and exit Wyświetla wersję programu i wychodzi - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Pomysły, poprawki, raporty o błędach proszę wysyłać na forkotov02@hotmail.ru - + Display this text and exit Wyświetla ten tekst i wychodzi @@ -107,12 +107,12 @@ Nieznane polecenie - + QMMP version: Wersja QMMP: - + Qt version: Wersja QT: diff --git a/src/app/translations/qmmp_pt_BR.ts b/src/app/translations/qmmp_pt_BR.ts index eff7aeaad..c7f393d82 100644 --- a/src/app/translations/qmmp_pt_BR.ts +++ b/src/app/translations/qmmp_pt_BR.ts @@ -72,32 +72,32 @@ QMMPStarter - + Usage: qmmp [options] [files] - + Options: - + Don't start the application - + Print version number and exit - + Ideas, patches, bugreports send to forkotov02@hotmail.ru - + Display this text and exit @@ -107,12 +107,12 @@ - + QMMP version: - + Qt version: diff --git a/src/app/translations/qmmp_ru.ts b/src/app/translations/qmmp_ru.ts index 50555fa5e..181469df3 100644 --- a/src/app/translations/qmmp_ru.ts +++ b/src/app/translations/qmmp_ru.ts @@ -72,32 +72,32 @@ QMMPStarter - + Usage: qmmp [options] [files] Использование: qmmp [options] [files] - + Options: Опции: - + Don't start the application Не запускать приложение - + Print version number and exit Показать версии и выйти - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Идеи, исправления, отчёты об ошибках: forkotov02@hotmail.ru - + Display this text and exit Показать этот текст и выйти @@ -107,12 +107,12 @@ Неизвестная команда - + QMMP version: Версия QMMP: - + Qt version: Версия Qt: diff --git a/src/app/translations/qmmp_sk.ts b/src/app/translations/qmmp_sk.ts index b392c8d53..756f680db 100644 --- a/src/app/translations/qmmp_sk.ts +++ b/src/app/translations/qmmp_sk.ts @@ -72,32 +72,32 @@ QMMPStarter - + Usage: qmmp [options] [files] Použitie: qmmp [možnosti] [súbory] - + Options: Možnosti: - + Don't start the application Nezapnúť program - + Print version number and exit Vypísať číslo verzie a skončiť - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Nápady, záplaty, hlásenie chýb posílejte na forkotov02@hotmail.ru (anglicky) - + Display this text and exit Zobraziť tento text a skončiť @@ -107,12 +107,12 @@ Neznámý príkaz - + QMMP version: Verzia QMMP: - + Qt version: Verzia Qt: diff --git a/src/app/translations/qmmp_tr.ts b/src/app/translations/qmmp_tr.ts index 047276584..d05f2a467 100644 --- a/src/app/translations/qmmp_tr.ts +++ b/src/app/translations/qmmp_tr.ts @@ -72,32 +72,32 @@ QMMPStarter - + Usage: qmmp [options] [files] Kullanım:qmmp [seçenek] [dosyalar] - + Options: Seçenekler: - + Don't start the application - + Print version number and exit Sürüm numarasını yazdır ve çık - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Fikirleinizi, yamalarınızı, hata raporlarınızı forkotov02@hotmail.ru adresine gönderin - + Display this text and exit Bu metni göster ve çık @@ -107,12 +107,12 @@ - + QMMP version: QMMP sürümü: - + Qt version: Qt sürümü: diff --git a/src/app/translations/qmmp_uk_UA.ts b/src/app/translations/qmmp_uk_UA.ts index 14745cfa3..550eefe14 100644 --- a/src/app/translations/qmmp_uk_UA.ts +++ b/src/app/translations/qmmp_uk_UA.ts @@ -72,32 +72,32 @@ QMMPStarter - + Usage: qmmp [options] [files] Використання: qmmp [options] [files] - + Options: Опції: - + Don't start the application Не запускати програму - + Print version number and exit Показати версію та вийти - + Ideas, patches, bugreports send to forkotov02@hotmail.ru Ідеї, виправлення, звіти про помилки: forkotov02@hotmail.ru - + Display this text and exit Показати цей текст та вийти @@ -107,12 +107,12 @@ Невідома команда - + QMMP version: Версія QMMP: - + Qt version: Версія Qt: diff --git a/src/app/translations/qmmp_zh_CN.ts b/src/app/translations/qmmp_zh_CN.ts index a507e5c69..d77d076f8 100644 --- a/src/app/translations/qmmp_zh_CN.ts +++ b/src/app/translations/qmmp_zh_CN.ts @@ -72,32 +72,32 @@ QMMPStarter - + Usage: qmmp [options] [files] 使用:qmmp [设置] [文件] - + Options: 设置: - + Don't start the application 无法启动此程序 - + Print version number and exit 显示版本并退出 - + Ideas, patches, bugreports send to forkotov02@hotmail.ru 建议、补丁或提交 bug 请发送到 forkotov02@hotmail.ru - + Display this text and exit 显示这些文本并退出 @@ -107,12 +107,12 @@ 未知指令 - + QMMP version: Qmmp 版本: - + Qt version: Qt 版本: diff --git a/src/app/translations/qmmp_zh_TW.ts b/src/app/translations/qmmp_zh_TW.ts index 66ec4062d..51c715c6a 100644 --- a/src/app/translations/qmmp_zh_TW.ts +++ b/src/app/translations/qmmp_zh_TW.ts @@ -72,32 +72,32 @@ QMMPStarter - + Usage: qmmp [options] [files] 使用:qmmp [設定] [文件] - + Options: 設定: - + Don't start the application 無法啟動此程式 - + Print version number and exit 察看版本並結束 - + Ideas, patches, bugreports send to forkotov02@hotmail.ru 建議、補丁或提交 bug 請傳送到 forkotov02@hotmail.ru - + Display this text and exit 察看這些字檔並結束 @@ -107,12 +107,12 @@ 未知指令 - + QMMP version: Qmmp 版本: - + Qt version: Qt 版本: diff --git a/src/plugins/Ui/skinned/skinnedfactory.cpp b/src/plugins/Ui/skinned/skinnedfactory.cpp index f577a3d2c..d123d9365 100644 --- a/src/plugins/Ui/skinned/skinnedfactory.cpp +++ b/src/plugins/Ui/skinned/skinnedfactory.cpp @@ -19,12 +19,16 @@ ***************************************************************************/ #include +#include #include "mainwindow.h" #include "skinnedfactory.h" const UiProperties SkinnedFactory::properties() const { UiProperties props; + props.hasAbout = true; + props.name = tr("Skinned User Interface"); + props.shortName = "skinned"; return props; } @@ -33,7 +37,16 @@ QObject *SkinnedFactory::SkinnedFactory::create() return new MainWindow(); } -void SkinnedFactory::showAbout(QWidget *parent){} +void SkinnedFactory::showAbout(QWidget *parent) +{ + QMessageBox::about (parent, tr("About Qmmp Skinned User Interface"), + tr("Qmmp Skinned User Interface")+"\n"+ + tr("Simple user interface with Winamp-2.x/XMMS skins support")+ "\n" + + tr("Written by:\n" + "Vladimir Kuznetsov \n" + "Ilya Kotov ")); + +} QTranslator *SkinnedFactory::createTranslator(QObject *parent) { diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_cs.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_cs.ts index 26df12bba..a6bef5bbe 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_cs.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_cs.ts @@ -1153,6 +1153,36 @@ + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_de.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_de.ts index aafe46d88..0025ee0c3 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_de.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_de.ts @@ -1153,6 +1153,36 @@ Löschen + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_es.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_es.ts index f0825be22..ec363cb24 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_es.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_es.ts @@ -1153,6 +1153,36 @@ Borrar + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_hu.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_hu.ts index bad6f0c00..f9c944496 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_hu.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_hu.ts @@ -1153,6 +1153,36 @@ + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_it.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_it.ts index 54a77fbd3..5ec9e54c3 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_it.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_it.ts @@ -1153,6 +1153,36 @@ + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_ja.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_ja.ts index a0d4cd041..49b61ab0a 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_ja.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_ja.ts @@ -1153,6 +1153,36 @@ 消去 + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_lt.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_lt.ts index 856549058..41c0c0ee3 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_lt.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_lt.ts @@ -1154,6 +1154,36 @@ Išvalyti + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_nl.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_nl.ts index 3dbbf653b..d47665e63 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_nl.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_nl.ts @@ -1153,6 +1153,36 @@ + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_pl_PL.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_pl_PL.ts index f2829939f..42eba834c 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_pl_PL.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_pl_PL.ts @@ -1153,6 +1153,36 @@ Wyczyść + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_pt_BR.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_pt_BR.ts index f67f91c6b..799e87b70 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_pt_BR.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_pt_BR.ts @@ -1153,6 +1153,36 @@ + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_ru.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_ru.ts index 0b9052b23..7cc95bffc 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_ru.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_ru.ts @@ -1153,6 +1153,36 @@ Очистить + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_sk.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_sk.ts index d21841d95..02ddaa999 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_sk.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_sk.ts @@ -1153,6 +1153,36 @@ Vyčistiť + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_tr.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_tr.ts index e639d3f8c..149a780b8 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_tr.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_tr.ts @@ -1153,6 +1153,36 @@ + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_uk_UA.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_uk_UA.ts index c745dd58c..c94d89f41 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_uk_UA.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_uk_UA.ts @@ -1153,6 +1153,36 @@ Очистити + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_zh_CN.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_zh_CN.ts index ce17243e4..997788022 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_zh_CN.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_zh_CN.ts @@ -1153,6 +1153,36 @@ + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/plugins/Ui/skinned/translations/skinned_plugin_zh_TW.ts b/src/plugins/Ui/skinned/translations/skinned_plugin_zh_TW.ts index 35c0673bc..29f2c234e 100644 --- a/src/plugins/Ui/skinned/translations/skinned_plugin_zh_TW.ts +++ b/src/plugins/Ui/skinned/translations/skinned_plugin_zh_TW.ts @@ -1153,6 +1153,36 @@ + + SkinnedFactory + + + Skinned User Interface + + + + + About Qmmp Skinned User Interface + + + + + Qmmp Skinned User Interface + + + + + Simple user interface with Winamp-2.x/XMMS skins support + + + + + Written by: +Vladimir Kuznetsov <vovanec@gmail.com> +Ilya Kotov <forkotov02@hotmail.ru> + + + SkinnedSettings diff --git a/src/qmmpui/configdialog.cpp b/src/qmmpui/configdialog.cpp index fbb7d0018..19c1cc00e 100644 --- a/src/qmmpui/configdialog.cpp +++ b/src/qmmpui/configdialog.cpp @@ -45,6 +45,7 @@ #include "generalfactory.h" #include "general.h" #include "uihelper.h" +#include "uiloader.h" #include "filedialog.h" #include "mediaplayer.h" #include "playlistmodel.h" @@ -72,6 +73,7 @@ ConfigDialog::ConfigDialog (QWidget *parent) : QDialog (parent) m_ui->informationButton->setIcon(QIcon::fromTheme("dialog-information")); m_ui->fdInformationButton->setIcon(QIcon::fromTheme("dialog-information")); m_ui->outputInformationButton->setIcon(QIcon::fromTheme("dialog-information")); + m_ui->uiInformationButton->setIcon(QIcon::fromTheme("dialog-information")); m_ui->outputPreferencesButton->setIcon(QIcon::fromTheme("configure")); } @@ -221,6 +223,7 @@ void ConfigDialog::loadPluginsInfo() /* load output plugins information */ + m_ui->outputInformationButton->setEnabled(false); m_ui->outputPreferencesButton->setEnabled(false); QList *outputs = Output::factories(); @@ -242,6 +245,19 @@ void ConfigDialog::loadPluginsInfo() if (FileDialog::isEnabled(factory)) m_ui->fileDialogComboBox->setCurrentIndex(m_ui->fileDialogComboBox->count()-1); } + /* + load ui information + */ + m_ui->uiInformationButton->setEnabled(false); + foreach(UiFactory *factory, *UiLoader::factories()) + { + m_ui->uiComboBox->addItem(factory->properties().name); + if (UiLoader::selected() == factory) + { + m_ui->uiComboBox->setCurrentIndex(m_ui->uiComboBox->count()-1); + on_uiComboBox_activated(m_ui->uiComboBox->count()-1); + } + } } void ConfigDialog::on_preferencesButton_clicked() @@ -380,8 +396,20 @@ void ConfigDialog::on_outputPreferencesButton_clicked() Output::factories()->at(index)->showSettings(this); } +void ConfigDialog::on_uiComboBox_activated (int index) +{ + UiFactory *factory = UiLoader::factories()->at(index); + m_ui->uiInformationButton->setEnabled(factory->properties().hasAbout); +} + void ConfigDialog::on_outputInformationButton_clicked() { int index = m_ui->outputComboBox->currentIndex(); Output::factories()->at(index)->showAbout(this); } + +void ConfigDialog::on_uiInformationButton_clicked() +{ + int index = m_ui->uiComboBox->currentIndex(); + UiLoader::factories()->at(index)->showAbout(this); +} diff --git a/src/qmmpui/configdialog.h b/src/qmmpui/configdialog.h index fe9819919..8300e39d1 100644 --- a/src/qmmpui/configdialog.h +++ b/src/qmmpui/configdialog.h @@ -57,6 +57,8 @@ private slots: void on_outputComboBox_activated (int index); void on_outputPreferencesButton_clicked(); void on_outputInformationButton_clicked(); + void on_uiComboBox_activated (int index); + void on_uiInformationButton_clicked(); private: void readSettings(); diff --git a/src/qmmpui/forms/configdialog.ui b/src/qmmpui/forms/configdialog.ui index d1a1ca8d9..7a70aa937 100644 --- a/src/qmmpui/forms/configdialog.ui +++ b/src/qmmpui/forms/configdialog.ui @@ -424,10 +424,10 @@ - + - + Information diff --git a/src/qmmpui/translations/libqmmpui_cs.ts b/src/qmmpui/translations/libqmmpui_cs.ts index 003f41255..271d6eefa 100644 --- a/src/qmmpui/translations/libqmmpui_cs.ts +++ b/src/qmmpui/translations/libqmmpui_cs.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Popis - + Filename Soubor - + Artist Umělec - - + + Album Album - + Track Stopa - + Disabled Vypnuto - + Transports Protokoly - + Decoders Dekodéry - + Engines Přehrávače - + Title Název - + Track number Číslo stopy - + Two-digit track number Dvoumístné číslo stopy - + Disc number Číslo disku - + Condition Stav - + Composer Skladatel - + File name Název souboru - + File path Cesta k souboru - + Genre Žánr - + Year Rok - + Comment Poznámka @@ -110,228 +110,228 @@ Nastavení Qmmp - + Playlist Seznam skladeb - + Plugins Moduly - + Advanced Pokročilé - + Replay Gain Zisk při přehrávání - + ... ... - + Metadata Metadata - + Load metadata from files Číst ze souborů metadata - + Song Display Zobrazení skladby - + Title format: Formát titulku: - - + + Preferences Nastavení - - - - + + + + Information Informace - + Cover Image Retrieve Získat obrázek obalu - + Use separate image files Použít samostatné obrázky - + Include files: Zahrnout soubory: - + Exclude files: Vynechat soubory: - + Recursive search depth: Hloubka rekurzivního hledání: - + Playback Přehrávání - + Continue playback on startup Po startu pokračovat v přehrávání - + User Interface - + Replay Gain mode: Režim úpravy zisku při přehrávání: - + Preamp: Předzesílení: - - + + dB dB - + Default gain: Výchozí zisk: - + Use peak info to prevent clipping Použít informaci o vrcholu k zabránění ořezu - + Output: Výstup: - + Buffer size: - + ms ms - + 16-bit output 16bitový výstup - + Connectivity Síť - + File Dialog Souborový dialog - + Proxy Proxy - + Enable proxy usage Povolit používání proxy - + Proxy host name: Adresa proxy: - + Proxy port: Port proxy: - + Use authentication with proxy Použít autorizaci pro proxy - + Proxy user name: Uživatelské jméno: - + Proxy password: Heslo: - + Visualization Vizualizace - + Effects Efekty - + General Obecné - - + + Audio Zvuk - + Use software volume control Používat softwarové ovládání hlasitosti - + Convert underscores to blanks Převést podtržítka na mezery - + Convert %20 to blanks Převést %20 na mezery diff --git a/src/qmmpui/translations/libqmmpui_de.ts b/src/qmmpui/translations/libqmmpui_de.ts index 22788b0b8..c4de66dee 100644 --- a/src/qmmpui/translations/libqmmpui_de.ts +++ b/src/qmmpui/translations/libqmmpui_de.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Beschreibung - + Filename Dateiname - + Artist Interpret - - + + Album Album - + Track Stück - + Disabled Deaktiviert - + Transports Transporte - + Decoders Dekoder - + Engines - + Title Titel - + Track number Stücknummer - + Two-digit track number Zweistellige Stücknummer - + Disc number CD-Nummer - + Condition Zustand - + Genre Genre - + Composer Komponist - + File name Dateiname - + File path Dateipfad - + Year Jahr - + Comment Kommentar @@ -110,228 +110,228 @@ Einstellungen - + Playlist Wiedergabeliste - + Plugins Module - + Advanced Erweitert - + Replay Gain Replay Gain - + ... ... - + Metadata Metadaten - + Load metadata from files Metadaten aus Dateien laden - + Song Display Titelanzeige - + Title format: Titelformat: - - + + Preferences Konfiguration - - - - + + + + Information Information - + Cover Image Retrieve Holen von Cover-Bildern - + Use separate image files Separate Bilddateien verwenden - + Include files: Einzubeziehende Dateien: - + Exclude files: Auszuschließende Dateien: - + Recursive search depth: Rekursive Suchtiefe: - + Playback Wiedergabe - + Continue playback on startup Wiedergabe beim Start fortsetzen - + User Interface - + Replay Gain mode: Replay-Gain-Modus: - + Preamp: Vorverstärkung: - - + + dB dB - + Default gain: - + Use peak info to prevent clipping Peak-Informationen verwenden, um Clipping zu verhindern - + Output: Ausgabe: - + Buffer size: Puffergröße: - + ms ms - + 16-bit output 16-Bit-Ausgabe - + Connectivity Verbindung - + File Dialog Datei-Dialog - + Proxy Proxyserver - + Enable proxy usage Proxyserver verwenden - + Proxy host name: Name des Proxyservers: - + Proxy port: Port: - + Use authentication with proxy Authentisierung verwenden - + Proxy user name: Benutzername: - + Proxy password: Passwort: - + Visualization Visualisierung - + Effects Effekte - + General Sonstige - - + + Audio Audio - + Use software volume control Softwaregesteuerte Lautstärkeregelung - + Convert underscores to blanks Unterstriche in Leerzeichen umwandeln - + Convert %20 to blanks %20 in Leerzeichen umwandeln diff --git a/src/qmmpui/translations/libqmmpui_es.ts b/src/qmmpui/translations/libqmmpui_es.ts index d5c81c38d..ee495ea28 100644 --- a/src/qmmpui/translations/libqmmpui_es.ts +++ b/src/qmmpui/translations/libqmmpui_es.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Descripción - + Filename Nombre del archivo - + Artist Intérprete - - + + Album Album - + Track Pista - + Disabled Deshabilitado - + Transports Transportes - + Decoders Decodificadores - + Engines Motores - + Title Título - + Track number Número de pista - + Two-digit track number Número de pista con dos cifras - + Disc number Número de disco - + Condition Condición - + Genre Género - + Composer Compositor - + File name Nombre del archivo - + File path Ruta del archivo - + Year Año - + Comment Comentario @@ -110,228 +110,228 @@ Configuración de Qmmp - + ... ... - + Metadata Metainformación - + Load metadata from files Cargar la metainformación de los archivos - + Song Display Mostrar la canción - + Title format: Formato del título: - - + + Preferences Preferencias - - - - + + + + Information Información - + Playlist Lista de reproducción - + Plugins Módulos - + Advanced Avanzado - + 16-bit output Salida de 16 bits - + Connectivity Conectividad - + Visualization Visualización - + Effects Efectos - + General General - + File Dialog Diálogo de archivos - - + + Audio Sonido - + Replay Gain Normalización - + Replay Gain mode: Método de normalización: - + Preamp: Preamp: - - + + dB dB - + Default gain: Normalización predeterminada: - + Use peak info to prevent clipping Procesar picos para evitar cortes - + Output: Salida: - + Buffer size: Tamaño del buffer: - + ms ms - + Use software volume control Usar control de volumen por software - + Cover Image Retrieve Obtener las imagenes de carátula - + Use separate image files Usar archivos de imágen separados - + Include files: Incluir archivos: - + Exclude files: Excluir archivos: - + Recursive search depth: Profundidad de la búsqueda recursiva: - + Playback Reproducción - + Continue playback on startup Continuar la reproducción al iniciar - + User Interface - + Proxy Proxy - + Enable proxy usage Habilitar el uso de proxy - + Proxy host name: Nombre del servidor proxy: - + Proxy port: Puerto del proxy: - + Use authentication with proxy Usar autentificación con el proxy - + Proxy user name: Usuario del proxy: - + Proxy password: Contraseña del proxy: - + Convert underscores to blanks Convertir los guiones bajos en espacios - + Convert %20 to blanks Convertir los %20 en espacios diff --git a/src/qmmpui/translations/libqmmpui_it.ts b/src/qmmpui/translations/libqmmpui_it.ts index be8e4d2a6..2b5358041 100644 --- a/src/qmmpui/translations/libqmmpui_it.ts +++ b/src/qmmpui/translations/libqmmpui_it.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Descrizione - + Filename File - + Artist Interprete - - + + Album Album - + Track Traccia - + Disabled Disabilitato - + Transports Protocolli di trasporto - + Decoders Decodificatori - + Engines Meccanismi - + Title Titolo - + Track number Traccia n° - + Two-digit track number Traccia n° a due cifre - + Disc number Disco n° - + Condition Condizione - + Genre Genere - + Composer Compositore - + File name Nome file - + File path Percorso file - + Year Anno - + Comment Commento @@ -110,228 +110,228 @@ Configurazione di Qmmp - + ... ... - + Metadata Metadati - + Load metadata from files Carica i metadati dai brani - + Song Display Mostra il brano - + Title format: Formato del titolo : - - + + Preferences Impostazioni preferite - - - - + + + + Information Informazioni - + Playlist Lista dei brani - + Plugins Moduli - + Advanced Avanzato - + 16-bit output uscita a 16 bit - + Connectivity Connettività - + Visualization Visualizzazione - + Effects Effetti - + General Generale - + File Dialog Menu brani - - + + Audio Audio - + Replay Gain Normalizzazione - + Replay Gain mode: Metodo di normalizzazione - + Preamp: Preamp: - - + + dB dB - + Default gain: Normalizzazione predefinita - + Use peak info to prevent clipping Utilizza informazioni di picco per evitare tagli - + Output: Uscita: - + Buffer size: - + ms ms - + Use software volume control Utilizza il controllo volume del programma - + Cover Image Retrieve Trova immagine copertina - + Use separate image files Usa immagini separate - + Include files: Includi i file: - + Exclude files: Escludi i file: - + Recursive search depth: Profondità ricerca ricorsiva: - + Playback Riproduzione - + Continue playback on startup Continua la riproduzione all'avvio - + User Interface - + Proxy Proxy - + Enable proxy usage Attiva il proxy - + Proxy host name: Nome del server : - + Proxy port: Porta del server : - + Use authentication with proxy Usa autenticazione con il proxy - + Proxy user name: Utente: - + Proxy password: Password : - + Convert underscores to blanks Converti il carattere « _ » in spazi - + Convert %20 to blanks Converti il carattere « %20 » in spazi diff --git a/src/qmmpui/translations/libqmmpui_ja.ts b/src/qmmpui/translations/libqmmpui_ja.ts index 97b98d72a..0cdbcd50b 100644 --- a/src/qmmpui/translations/libqmmpui_ja.ts +++ b/src/qmmpui/translations/libqmmpui_ja.ts @@ -9,329 +9,329 @@ QMMP設定 - + Playlist プレイリスト - + Plugins プラグイン - + Advanced 上級 - + Connectivity 接続 - - + + Audio 音響 - + ... ... - + Metadata メタデータ - + Load metadata from files ファイルからメタデータを読み込む - + Song Display 演目表示 - + Title format: タイトルの表示形式: - + Convert underscores to blanks 下線記号_を空白文字で表示 - + Convert %20 to blanks %20を空白文字で表示 - - + + Preferences プラグイン調整 - - - - + + + + Information 情報 - + Description プラグイン分類 - + Filename ファイル名 - + File Dialog ファイルダイアログ - + Cover Image Retrieve アルバム表紙画像の取得 - + Use separate image files 分割された画像ファイルを利用 - + Include files: 対象ファイル形式: - + Exclude files: 除外ファイル形式: - + Recursive search depth: 再帰検索の深度: - + Playback 再生 - + Continue playback on startup 前回終了時の曲から継続して再生 - + User Interface - + Proxy 代理 - + Enable proxy usage 代理を利用する - + Proxy host name: 代理ホスト名: - + Proxy port: 代理ポート: - + Use authentication with proxy 代理経由の認証を利用 - + Proxy user name: 代理者ユーザ名: - + Proxy password: 代理者パスワード: - + Replay Gain リプレイゲイン - + Replay Gain mode: リプレイゲインモード: - + Preamp: プリアンプ: - - + + dB dB - + Default gain: デフォルトゲイン: - + Use peak info to prevent clipping クリッピング現象を抑えるためピーク情報を使う - + Output: 出力: - + Buffer size: バッファサイズ: - + ms ミリ秒 - + Use software volume control ソフトウェアによる音量制御を利用 - + 16-bit output 16ビット出力 - + Track トラック - - + + Album アルバム - + Disabled 無効 - + Transports 転送 - + Decoders デコーダ - + Engines エンジン - + Effects 音響効果 - + Visualization 視覚効果 - + General 一般 - + Artist アーティスト - + Title タイトル - + Track number トラック番号 - + Two-digit track number トラック番号 数字2桁 - + Genre ジャンル - + Comment コメント - + Composer 作曲者 - + Disc number ディスク番号 - + File name ファイル名 - + File path ファイルパス - + Year - + Condition 定番 diff --git a/src/qmmpui/translations/libqmmpui_lt.ts b/src/qmmpui/translations/libqmmpui_lt.ts index b0bb39d02..dc3eb3145 100644 --- a/src/qmmpui/translations/libqmmpui_lt.ts +++ b/src/qmmpui/translations/libqmmpui_lt.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Aprašymas - + Filename Bylos pavadinimas - + Artist Atlikėjas - - + + Album Albumas - + Track Takelis - + Disabled Išjungta - + Transports Transportas - + Decoders Dekoderiai - + Engines Varikliai - + Title Pavadinimas - + Track number Takelio numeris - + Two-digit track number Dviejų skaičių takelio numeris - + Disc number Disko numeris - + Condition Būklė - + Composer Autorius - + File name Bylos pavadinimas - + File path Bylos kelias - + Genre Žanras - + Year Metai - + Comment Komentaras @@ -110,229 +110,229 @@ Qmmp nustatymai - + ... ... - + Metadata Meta duomenys - + Load metadata from files Įkelti metaduomenis iš bylų - + Song Display Dainų sąrašas - + Title format: Pavadinimo formatas: - - + + Preferences Nustatymai - - - - + + + + Information Informacija - + Playlist Grojaraštis - + Plugins Įskiepiai - + Advanced Papildomi - + 16-bit output 16 bitų išvestis - + Connectivity Tinklas - + Visualization Vizualizacija - + Effects Efektai - + General Bendri - + File Dialog Pasirinkimo langas - - + + Audio Audio - + Replay Gain Neįsivaizduoju kaip verst Replay Gain - + Replay Gain mode: Replay Gain metodas: - + Preamp: Išankstinis stiprinimas: - - + + dB dB - + Default gain: Stiprinimas pagal nutylėjima: - + Use peak info to prevent clipping Naudoti pikų informaciją trūkinėjimo išvengimui - + Output: Išvestis - + Buffer size: Buferio dydis: - + ms ms - + Use software volume control Naudoti programinį garso valdymą - + Cover Image Retrieve Parsiųsti cd viršelį - + Use separate image files Naudoti atskiras paveiksliukų bylas - + Include files: Įtraukti bylas - + Exclude files: Išskirti bylas - + Recursive search depth: Rekursinės paieškos gylis - + Playback Grojimas - + Continue playback on startup Tęsti grojimą įjungus - + User Interface - + Proxy Proxy - + Enable proxy usage Įjungti proxy palaikymą - + Proxy host name: Proxy serveris: - + Proxy port: Proxy portas: - + Use authentication with proxy Naudoti proxy autentifikavimą - + Proxy user name: Proxy vartotojo vardas: - + Proxy password: Proxy slaptažodis: - + Convert underscores to blanks Paversti brūkšnius į tarpus - + Convert %20 to blanks Paversti %20 į tarpus diff --git a/src/qmmpui/translations/libqmmpui_nl.ts b/src/qmmpui/translations/libqmmpui_nl.ts index 7e8ebde8e..282569203 100644 --- a/src/qmmpui/translations/libqmmpui_nl.ts +++ b/src/qmmpui/translations/libqmmpui_nl.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Popis - + Filename Bestandsnaam - + Artist Artiest - - + + Album Album - + Track Nummer - + Disabled Uitgeschakeld - + Transports Protocols - + Decoders Decoders - + Engines Engines - + Title Naam - + Track number Liednummer - + Two-digit track number Twee-getal liednummer - + Disc number CD nummer - + Condition Staat - + Composer Componist - + File name Bestandsnaam - + File path Pad - + Genre Genre - + Year Jaar - + Comment Commentaar @@ -110,228 +110,228 @@ Qmmp Instellingen - + Playlist Afspeellijst - + Plugins Modules - + Advanced Geavanceerd - + Replay Gain Replay Gain - + ... ... - + Metadata Metadata - + Load metadata from files Laad metadata van bestanden - + Song Display Nummer Weergave - + Title format: Titel formaat: - - + + Preferences Voorkeuren - - - - + + + + Information Informatie - + Cover Image Retrieve Lees Hoes Af - + Use separate image files Gebruik aparte afbeeldingsbestanden - + Include files: Inclusief de bestanden: - + Exclude files: Exclusief de bestanden: - + Recursive search depth: Recursieve zoekdiepte: - + Playback Afspelen - + Continue playback on startup Verdergaan met afspelen bij opstarten - + User Interface - + Replay Gain mode: Replay Gain stand: - + Preamp: Voorversterking: - - + + dB dB - + Default gain: Standaard verhoging: - + Use peak info to prevent clipping Gebruik piek info om stotteren te voorkomen - + Output: Uitvoer: - + Buffer size: - + ms ms - + 16-bit output 16bit uitvoer - + Connectivity Connectiviteit - + File Dialog Bestandsdialoog - + Proxy Proxy - + Enable proxy usage Gebruik proxy - + Proxy host name: Proxy host naam: - + Proxy port: Proxy poort: - + Use authentication with proxy Gebruik authenticatie bij proxy - + Proxy user name: Proxy gebruikersnaam: - + Proxy password: Proxy wachtwoord: - + Visualization Visualisatie - + Effects Effecten - + General Algemeen - - + + Audio Audio - + Use software volume control Gebruik software volume - + Convert underscores to blanks Zet lage strepen om in spaties - + Convert %20 to blanks Zet %20 om in spaties diff --git a/src/qmmpui/translations/libqmmpui_pl.ts b/src/qmmpui/translations/libqmmpui_pl.ts index b8b9a332a..af5cf0950 100644 --- a/src/qmmpui/translations/libqmmpui_pl.ts +++ b/src/qmmpui/translations/libqmmpui_pl.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Opis - + Filename Nazwa pliku - + Artist Artysta - - + + Album Album - + Track Utwór - + Disabled Wyłączone - + Transports Transporty - + Decoders Dekodery - + Engines Silniki - + Title Tytuł - + Track number Numer utworu - + Two-digit track number Dwuznakowy numer utworu - + Disc number Numer albumu - + Condition Warunek - + Genre Gatunek - + Composer Kompozytor - + File name Nazwa pliku - + File path Lokalizacja - + Year Rok - + Comment Komentarz @@ -110,228 +110,228 @@ Ustawienia Qmmp - + ... ... - + Metadata Metadane - + Load metadata from files Załaduj metadane z pliku - + Song Display Wyświetlanie utworu - + Title format: Format tytułu: - - + + Preferences Ustawienia - - - - + + + + Information Informacje - + Playlist Lista odtwarzania - + Plugins Wtyczki - + Advanced Zaawansowane - + 16-bit output 16-bitowe odtwarzanie - + Connectivity Sieć - + Visualization Wizualizacje - + Effects Efekty - + General Ogólne - + File Dialog Okno dialogowe - - + + Audio Dźwięk - + Replay Gain - + Replay Gain mode: Tryb Replay Gain: - + Preamp: - - + + dB - + Default gain: Domyślne wzmocnienie: - + Use peak info to prevent clipping Użyj informacji peak by zapobiec "klipnięciom" - + Output: Wyjście: - + Buffer size: Rozmiar bufora: - + ms ms - + Use software volume control Użyj programowej regulacji głośności - + Cover Image Retrieve Pobieranie okładek - + Use separate image files Użyj oddzielnych obrazków - + Include files: Użyj plików: - + Exclude files: Wyłącz pliki: - + Recursive search depth: Głębokość rekursywnego przeszukiwania: - + Playback Odtwarzanie - + Continue playback on startup Wznów odtwarzanie po uruchomieniu programu - + User Interface - + Proxy Proxy - + Enable proxy usage Włącz proxy - + Proxy host name: Nazwa hosta proxy: - + Proxy port: Port proxy: - + Use authentication with proxy Użyj autoryzacji z proxy - + Proxy user name: Nazwa użytkownika: - + Proxy password: Hasło: - + Convert underscores to blanks Konwertuj podkreślenia na spacje - + Convert %20 to blanks Konwertuj sekwencje %20 na spacje diff --git a/src/qmmpui/translations/libqmmpui_pt_BR.ts b/src/qmmpui/translations/libqmmpui_pt_BR.ts index 40f506fbf..14c1cbbed 100644 --- a/src/qmmpui/translations/libqmmpui_pt_BR.ts +++ b/src/qmmpui/translations/libqmmpui_pt_BR.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Descrição - + Filename Nome do Arquivo - + Artist Artista - - + + Album Álbum - + Track - + Disabled - + Transports - + Decoders - + Engines - + Title Título - + Track number - + Two-digit track number - + Disc number - + Condition - + Genre Gênero - + Composer - + File name - + File path - + Year Ano - + Comment Comentário @@ -110,228 +110,228 @@ Configurações - + ... ... - + Metadata MetaData - + Load metadata from files Carregar arquivo MetaData - + Song Display Mostrar música - + Title format: Tipo de Formato: - - + + Preferences Preferências - - - - + + + + Information Informações - + Playlist Lista de músicas - + Plugins Plugins - + Advanced Avançado - + 16-bit output - + Connectivity - + Visualization - + Effects - + General - + File Dialog - - + + Audio - + Replay Gain - + Replay Gain mode: - + Preamp: - - + + dB - + Default gain: - + Use peak info to prevent clipping - + Output: - + Buffer size: - + ms - + Use software volume control - + Cover Image Retrieve - + Use separate image files - + Include files: - + Exclude files: - + Recursive search depth: - + Playback - + Continue playback on startup - + User Interface - + Proxy - + Enable proxy usage - + Proxy host name: - + Proxy port: - + Use authentication with proxy - + Proxy user name: - + Proxy password: - + Convert underscores to blanks - + Convert %20 to blanks diff --git a/src/qmmpui/translations/libqmmpui_ru.ts b/src/qmmpui/translations/libqmmpui_ru.ts index 06e7285ce..711c41fc8 100644 --- a/src/qmmpui/translations/libqmmpui_ru.ts +++ b/src/qmmpui/translations/libqmmpui_ru.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Описание - + Filename Имя файла - + Artist Исполнитель - - + + Album Альбом - + Track Дорожка - + Disabled Отключено - + Transports Транспорты - + Decoders Декодеры - + Engines Внешние проигрыватели - + Title Название - + Track number Номер трека - + Two-digit track number 2-x разрядный номер трека - + Disc number Номер диска - + Condition Условие - + Genre Жанр - + Composer Композитор - + File name Имя файла - + File path Путь к файлу - + Year Год - + Comment Комментарий @@ -110,228 +110,228 @@ Настройки Qmmp - + ... ... - + Metadata Метаданные - + Load metadata from files Считывать метаданные из файлов - + Song Display Список песен - + Title format: Формат названия: - - + + Preferences Настройки - - - - + + + + Information Информация - + Playlist Список - + Plugins Модули - + Advanced Дополнительно - + 16-bit output 16-битный вывод - + Connectivity Сеть - + Visualization Визуализация - + Effects Эффекты - + General Общие - + File Dialog Файловый диалог - - + + Audio Аудио - + Replay Gain Выравнивание громкости (Replay Gain) - + Replay Gain mode: Режим Replay Gain: - + Preamp: Предусиление: - - + + dB дБ - + Default gain: Усиление по умолчанию: - + Use peak info to prevent clipping Использовать пиковое значение для предотвращения срезания - + Output: Вывод: - + Buffer size: Размер буфера: - + ms мс - + Use software volume control Использовать программную регулировку громкости - + Cover Image Retrieve Поиск обложки альбома - + Use separate image files Использовать отдельные файлы с изображениями - + Include files: Включить файлы: - + Exclude files: Исключить файлы: - + Recursive search depth: Глубина рекурсивного поиска: - + Playback Воспроизведение - + Continue playback on startup Продолжить воспроизведение после запуска - + User Interface - + Proxy Прокси - + Enable proxy usage Использовать прокси - + Proxy host name: Прокси сервер: - + Proxy port: Прокси порт: - + Use authentication with proxy Использовать авторизацию на прокси - + Proxy user name: Имя пользователя прокси: - + Proxy password: Пароль прокси: - + Convert underscores to blanks Преобразовывать подчёркивание в пробел - + Convert %20 to blanks Преобразовывать %20 в пробел diff --git a/src/qmmpui/translations/libqmmpui_tr.ts b/src/qmmpui/translations/libqmmpui_tr.ts index f7ef3ed64..4911f79a9 100644 --- a/src/qmmpui/translations/libqmmpui_tr.ts +++ b/src/qmmpui/translations/libqmmpui_tr.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Açıklama - + Filename Dosya adı - + Artist Sanatçı - - + + Album Albüm - + Track - + Disabled - + Transports - + Decoders - + Engines - + Title Başlık - + Track number - + Two-digit track number - + Disc number - + Condition - + Genre Tarz - + Composer - + File name - + File path - + Year Yıl - + Comment Yorum @@ -110,228 +110,228 @@ Qmmp Ayarları - + ... ... - + Metadata Veri bilgisi - + Load metadata from files Veri bilgisini dosyadan yükle - + Song Display Şarkı Göstergesi - + Title format: Başlık formatı: - - + + Preferences Tercihler - - - - + + + + Information Bilgi - + Playlist Çalma Listesi - + Plugins Eklentiler - + Advanced Gelişmiş - + 16-bit output - + Connectivity Bağlanırlık - + Visualization Görsellik - + Effects Efektler - + General Genel - + File Dialog Dosya Diyaloğu - - + + Audio Ses - + Replay Gain - + Replay Gain mode: - + Preamp: - - + + dB - + Default gain: - + Use peak info to prevent clipping - + Output: - + Buffer size: - + ms - + Use software volume control Yazılımsal ses kontrolünü kullan - + Cover Image Retrieve - + Use separate image files - + Include files: - + Exclude files: - + Recursive search depth: - + Playback - + Continue playback on startup - + User Interface - + Proxy Vekil sunucu - + Enable proxy usage Vekil sunucu kullanımını etkinleştir - + Proxy host name: Vekil sunucu adı: - + Proxy port: Vekil sunucu portu: - + Use authentication with proxy Vekil sunucu yetkilendirmesi kullan - + Proxy user name: Vekil sunucu kullanıcı adı: - + Proxy password: Vekil sunucu parolası: - + Convert underscores to blanks Alt çizgileri boşluğa çevir - + Convert %20 to blanks %20 yi boşluğa çevir diff --git a/src/qmmpui/translations/libqmmpui_uk_UA.ts b/src/qmmpui/translations/libqmmpui_uk_UA.ts index 4c6936de2..28079e6b5 100644 --- a/src/qmmpui/translations/libqmmpui_uk_UA.ts +++ b/src/qmmpui/translations/libqmmpui_uk_UA.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description Пояснення - + Filename Ім'я файлу - + Artist Виконавець - - + + Album Альбом - + Track Трек - + Disabled Вимкнено - + Transports Транспорти - + Decoders Декодери - + Engines Зовнішні програвачі - + Title Назва - + Track number Номер треку - + Two-digit track number 2- розрядний номер трека - + Disc number Номер диску - + Condition Умова - + Genre Жанр - + Composer Композитор - + File name Ім'я файлу - + File path Шлях файлу - + Year Рік - + Comment Коментар @@ -110,228 +110,228 @@ Налаштування Qmmp - + ... ... - + Metadata Метадані - + Load metadata from files Зчитувати метадані з файлів - + Song Display Список пісень - + Title format: Формат назви: - - + + Preferences Налаштування - - - - + + + + Information Інформація - + Playlist Список - + Plugins Модулі - + Advanced Додатково - + 16-bit output 16-бітний вивід - + Connectivity Мережа - + Visualization Візуалізація - + Effects Ефекти - + General Загальне - + File Dialog Файловий діалог - - + + Audio Звук - + Replay Gain Нормалізація гучності - + Replay Gain mode: Режим нормалізації гучності: - + Preamp: Преамплітуда: - - + + dB - + Default gain: Нормалізація за умовчанням: - + Use peak info to prevent clipping Використовувати інформацію піків для запобігання відсікання - + Output: Виведення: - + Buffer size: Розмір буферу: - + ms мс - + Use software volume control Використовувати програмний контроль гучності - + Cover Image Retrieve Пошук обладинки альбома - + Use separate image files Використовувати окремі файли зображень - + Include files: Включити файли: - + Exclude files: Виключити файли: - + Recursive search depth: Глибина рекурсивного пошуку: - + Playback Відтворення - + Continue playback on startup Продовжити відтворення при запуску - + User Interface Інтерфейс користувача - + Proxy Проксі - + Enable proxy usage Використосувати проксі - + Proxy host name: Сервер проксі: - + Proxy port: Порт проксі: - + Use authentication with proxy Використовувати авторизацію на проксі - + Proxy user name: Ім'я користвача проксі: - + Proxy password: Пароль проксі: - + Convert underscores to blanks Конвертувати підкреслювання в пробіл - + Convert %20 to blanks Конвертувати %20 в пробіл diff --git a/src/qmmpui/translations/libqmmpui_zh_CN.ts b/src/qmmpui/translations/libqmmpui_zh_CN.ts index c52cf2ef9..7ba9631c7 100644 --- a/src/qmmpui/translations/libqmmpui_zh_CN.ts +++ b/src/qmmpui/translations/libqmmpui_zh_CN.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description 描述 - + Filename 文件名 - + Artist 艺术家 - - + + Album 专辑 - + Track 音轨 - + Disabled - + Transports - + Decoders - + Engines - + Title 标题 - + Track number 音轨编号 - + Two-digit track number 两位数音轨编号 - + Disc number 光盘编号 - + Condition 条件 - + Genre 流派 - + Composer 作曲 - + File name 文件名 - + File path 文件路径 - + Year 年代 - + Comment 备注 @@ -110,228 +110,228 @@ Qmmp 设置 - + ... ... - + Metadata 元数据 - + Load metadata from files 从文件载入元数据 - + Song Display 显示歌曲 - + Title format: 标题格式: - - + + Preferences 参数设置 - - - - + + + + Information 信息 - + Playlist 播放列表 - + Plugins 插件 - + Advanced 高级 - + 16-bit output - + Connectivity 连接 - + Visualization 可视化 - + Effects 特效 - + General 常规 - + File Dialog 文件对话 - - + + Audio 音频 - + Replay Gain - + Replay Gain mode: - + Preamp: - - + + dB - + Default gain: - + Use peak info to prevent clipping - + Output: - + Buffer size: - + ms - + Use software volume control 使用软设备音量控制 - + Cover Image Retrieve - + Use separate image files - + Include files: - + Exclude files: - + Recursive search depth: - + Playback - + Continue playback on startup - + User Interface - + Proxy 代理 - + Enable proxy usage 启用代理 - + Proxy host name: 主机名: - + Proxy port: 端口: - + Use authentication with proxy 需要身份验证 - + Proxy user name: 用户名: - + Proxy password: 密码: - + Convert underscores to blanks 转换下划线为空格 - + Convert %20 to blanks 转换 %20 为空格 diff --git a/src/qmmpui/translations/libqmmpui_zh_TW.ts b/src/qmmpui/translations/libqmmpui_zh_TW.ts index ebb11abed..1dfbe2556 100644 --- a/src/qmmpui/translations/libqmmpui_zh_TW.ts +++ b/src/qmmpui/translations/libqmmpui_zh_TW.ts @@ -4,103 +4,103 @@ ConfigDialog - + Description 說明 - + Filename 檔名 - + Artist 藝術家 - - + + Album 專輯 - + Track 音軌 - + Disabled - + Transports - + Decoders - + Engines - + Title 標題 - + Track number 音軌編號 - + Two-digit track number 兩位數音軌編號 - + Disc number 光槃編號 - + Condition 條件 - + Genre 流派 - + Composer 作曲 - + File name 文件名 - + File path 文件路徑 - + Year 年代 - + Comment 備註 @@ -110,228 +110,228 @@ Qmmp 設定 - + ... ... - + Metadata 元資料 - + Load metadata from files 從檔案載入元資料 - + Song Display 察看歌曲 - + Title format: 標題格式: - - + + Preferences 引數設定 - - - - + + + + Information 資訊 - + Playlist 播放清單 - + Plugins 插件 - + Advanced 進階 - + 16-bit output - + Connectivity 連線 - + Visualization 可視化 - + Effects 特效 - + General 常規 - + File Dialog 檔案對話 - - + + Audio 聲訊 - + Replay Gain - + Replay Gain mode: - + Preamp: - - + + dB - + Default gain: - + Use peak info to prevent clipping - + Output: - + Buffer size: - + ms - + Use software volume control 使用軟裝置音量控制 - + Cover Image Retrieve - + Use separate image files - + Include files: - + Exclude files: - + Recursive search depth: - + Playback - + Continue playback on startup - + User Interface - + Proxy 代理 - + Enable proxy usage 啟用代理 - + Proxy host name: 主機名: - + Proxy port: 通訊埠: - + Use authentication with proxy 需要身份驗證 - + Proxy user name: 用戶名: - + Proxy password: 密碼: - + Convert underscores to blanks 轉換底線為空格 - + Convert %20 to blanks 轉換 %20 為空格 diff --git a/src/qmmpui/uihelper.h b/src/qmmpui/uihelper.h index 3fc7732e5..ae171acc9 100644 --- a/src/qmmpui/uihelper.h +++ b/src/qmmpui/uihelper.h @@ -27,8 +27,8 @@ #include #include #include -#include -#include +#include "playlistmanager.h" +#include "playlistmodel.h" class QAction; class QMenu; @@ -135,7 +135,6 @@ private: QPointer m_toolsMenu; QPointer m_playlistMenu; QString m_lastDir; - //JumpToTrackDialog *m_jumpDialog; QPointer m_jumpDialog; static UiHelper* m_instance; }; diff --git a/src/qmmpui/uiloader.cpp b/src/qmmpui/uiloader.cpp index 09979d18a..0209d5682 100644 --- a/src/qmmpui/uiloader.cpp +++ b/src/qmmpui/uiloader.cpp @@ -71,7 +71,7 @@ QStringList UiLoader::files() return m_files; } -void UiLoader::setCurrentUiFactory(UiFactory* factory) +void UiLoader::select(UiFactory* factory) { checkFactories(); if (!m_factories->contains(factory)) @@ -80,7 +80,7 @@ void UiLoader::setCurrentUiFactory(UiFactory* factory) settings.setValue ("Ui/current_plugin", factory->properties().shortName); } -UiFactory *UiLoader::currentUiFactory() +UiFactory *UiLoader::selected() { checkFactories(); QSettings settings (Qmmp::configFile(), QSettings::IniFormat); diff --git a/src/qmmpui/uiloader.h b/src/qmmpui/uiloader.h index 0852ca901..27b766f39 100644 --- a/src/qmmpui/uiloader.h +++ b/src/qmmpui/uiloader.h @@ -42,12 +42,12 @@ public: * Selects active user interface factory. * @param factory Ui plugin factory. */ - static void setCurrentUiFactory(UiFactory* factory); + static void select(UiFactory* factory); /*! * Returns \b true if general plugin is enabled, otherwise returns \b false * @param factory General plugin factory. */ - static UiFactory *currentUiFactory(); + static UiFactory *selected(); private: static QList *m_factories; -- cgit v1.2.3-13-gbd6f