From f196608bb14331834dfd9ccc71d5f5b884119d67 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 27 Sep 2010 18:21:27 +0000 Subject: added '--no-start' command line option git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1917 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/builtincommandlineoption.cpp | 50 ++++++++++++++++++++++------------ src/ui/builtincommandlineoption.h | 7 ++++- src/ui/mainwindow.cpp | 43 +++++++++--------------------- src/ui/mainwindow.h | 2 +- src/ui/qmmpstarter.cpp | 22 ++++++++------- src/ui/translations/qmmp_cs.ts | 53 ++++++++++++++++++++----------------- src/ui/translations/qmmp_de.ts | 53 ++++++++++++++++++++----------------- src/ui/translations/qmmp_es.ts | 53 ++++++++++++++++++++----------------- src/ui/translations/qmmp_hu.ts | 49 +++++++++++++++++++--------------- src/ui/translations/qmmp_it.ts | 53 ++++++++++++++++++++----------------- src/ui/translations/qmmp_ja.ts | 49 +++++++++++++++++++--------------- src/ui/translations/qmmp_lt.ts | 53 ++++++++++++++++++++----------------- src/ui/translations/qmmp_nl.ts | 53 ++++++++++++++++++++----------------- src/ui/translations/qmmp_pl_PL.ts | 53 ++++++++++++++++++++----------------- src/ui/translations/qmmp_pt_BR.ts | 53 ++++++++++++++++++++----------------- src/ui/translations/qmmp_ru.ts | 53 ++++++++++++++++++++----------------- src/ui/translations/qmmp_tr.ts | 53 ++++++++++++++++++++----------------- src/ui/translations/qmmp_uk_UA.ts | 53 ++++++++++++++++++++----------------- src/ui/translations/qmmp_zh_CN.ts | 53 ++++++++++++++++++++----------------- src/ui/translations/qmmp_zh_TW.ts | 53 ++++++++++++++++++++----------------- 20 files changed, 497 insertions(+), 414 deletions(-) (limited to 'src/ui') diff --git a/src/ui/builtincommandlineoption.cpp b/src/ui/builtincommandlineoption.cpp index 899dea2ad..27bd85f59 100644 --- a/src/ui/builtincommandlineoption.cpp +++ b/src/ui/builtincommandlineoption.cpp @@ -26,34 +26,32 @@ BuiltinCommandLineOption::BuiltinCommandLineOption(QObject *parent) : QObject(parent) { + m_options << "--enqueue" << "-e" + << "--play" << "-p" + << "--pause" << "-u" + << "--play-pause" << "-t" + << "--stop" << "-s" + << "--jump-to-file" << "-j" + << "--volume" + << "--next" << "--previous" + << "--toggle-visibility" + << "--add-file" << "--add-dir"; } - BuiltinCommandLineOption::~BuiltinCommandLineOption() { } // BuiltinCommandLineOption methods implementation -bool BuiltinCommandLineOption::identify(const QString & str) const +bool BuiltinCommandLineOption::identify(const QString &str) const { - if (str == "--next" || - str == "--previous" || - str == "--play" || str == "-p" || - str == "--pause" || str == "-u" || - str == "--play-pause" || str == "-t" || - str == "--stop" || str == "-s" || - str == "--volume" || - str == "--jump-to-file" || str == "-j" || - str == "--toggle-visibility" || - str == "--add-file" || - str == "--add-dir") - return true; - return false; + return m_options.contains(str); } const QString BuiltinCommandLineOption::helpString() const { return QString( + "-e, --enqueue "+tr("Don't clear the playlist") + "\n" + "-p, --play "+tr("Start playing current song")+"\n" + "-u, --pause "+tr("Pause current song")+ "\n" "-t, --play-pause "+tr("Pause if playing, play otherwise")+ "\n" @@ -69,9 +67,27 @@ const QString BuiltinCommandLineOption::helpString() const } void BuiltinCommandLineOption::executeCommand(const QString &option_string, - const QStringList &args, MainWindow *mw) + const QStringList &args, + const QString &cwd, + MainWindow *mw) { - if (option_string == "--play" || option_string == "-p") + if(option_string == "--enqueue" || option_string == "-e" || option_string.isEmpty()) + { + //QStringList args = commands.value(key); + if(args.isEmpty()) + return; + QStringList full_path_list; + foreach(QString s, args) + { + if ((s.startsWith("/")) || (s.contains("://"))) //is it absolute path or url? + full_path_list << s; + else + full_path_list << cwd + "/" + s; + } + //clear playlist if option is empty + mw->setFileList(full_path_list, option_string.isEmpty()); + } + else if (option_string == "--play" || option_string == "-p") { mw->play(); } diff --git a/src/ui/builtincommandlineoption.h b/src/ui/builtincommandlineoption.h index a650aa585..fe9ca31bf 100644 --- a/src/ui/builtincommandlineoption.h +++ b/src/ui/builtincommandlineoption.h @@ -22,6 +22,7 @@ #include #include +#include class MainWindow; @@ -42,8 +43,12 @@ public: bool identify(const QString& str)const; const QString helpString()const; - void executeCommand(const QString& option, const QStringList &args, MainWindow* = NULL); + void executeCommand(const QString& option, const QStringList &args, + const QString &cwd, MainWindow *mw); QHash splitArgs(const QStringList &args) const; + +private: + QStringList m_options; }; #endif diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index 27ac8217e..5b5af9b2f 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -547,8 +547,13 @@ void MainWindow::savePlaylist() qWarning("Error: There is no registered playlist parsers"); } -void MainWindow::setFileList(const QStringList & l) +void MainWindow::setFileList(const QStringList &l, bool clear) { + if(!clear) + { + m_pl_manager->currentPlayList()->addFileList(l); + return; + } if (m_core->state() == Qmmp::Playing || m_core->state() == Qmmp::Paused) { stop(); @@ -578,24 +583,15 @@ QString MainWindow::processCommandArgs(const QStringList &slist, const QString& if(slist.isEmpty()) return QString(); QStringList paths; - foreach(QString arg, slist) + foreach(QString arg, slist) //detect file/directory paths { if(arg.startsWith("-")) break; - else - paths.append(arg); + paths.append(arg); } if(!paths.isEmpty()) { - QStringList full_path_list; - foreach(QString s, paths) - { - if ((s.startsWith("/")) || (s.contains("://"))) //is it absolute path or url? - full_path_list << s; - else - full_path_list << cwd + "/" + s; - } - setFileList(full_path_list); + m_option_manager->executeCommand(QString(), paths, cwd, this); //add paths only return QString(); } QHash commands = m_option_manager->splitArgs(slist); @@ -603,25 +599,12 @@ QString MainWindow::processCommandArgs(const QStringList &slist, const QString& return QString(); foreach(QString key, commands.keys()) { - if(key == "--enqueue" || key == "-e") - { - QStringList args = commands.value(key); - if(args.isEmpty()) - return false; - QStringList full_path_list; - foreach(QString s, args) - { - if ((s.startsWith("/")) || (s.contains("://"))) //is it absolute path or url? - full_path_list << s; - else - full_path_list << cwd + "/" + s; - } - m_pl_manager->currentPlayList()->addFileList(full_path_list); - } - else if (CommandLineManager::hasOption(key)) + if(key == "--no-start") + continue; + if (CommandLineManager::hasOption(key)) return CommandLineManager::executeCommand(key, commands.value(key)); else if (m_option_manager->identify(key)) - m_option_manager->executeCommand(key, commands.value(key), this); + m_option_manager->executeCommand(key, commands.value(key), cwd, this); else return QString(); } diff --git a/src/ui/mainwindow.h b/src/ui/mainwindow.h index 1b8d1784b..41258b0ff 100644 --- a/src/ui/mainwindow.h +++ b/src/ui/mainwindow.h @@ -80,7 +80,7 @@ public slots: void loadPlaylist(); void savePlaylist(); - void setFileList(const QStringList&); + void setFileList(const QStringList&, bool clear = true); void about(); void updateSettings(); diff --git a/src/ui/qmmpstarter.cpp b/src/ui/qmmpstarter.cpp index 05422d4e7..c084cf5aa 100644 --- a/src/ui/qmmpstarter.cpp +++ b/src/ui/qmmpstarter.cpp @@ -65,10 +65,8 @@ QMMPStarter::QMMPStarter(int argc,char **argv, QObject* parent) : QObject(parent { foreach(QString arg, commands.keys()) { - if(!m_option_manager->identify(arg) && - !CommandLineManager::hasOption(arg) && - arg != "--enqueue" && - arg != "-e") + if(!m_option_manager->identify(arg) && !CommandLineManager::hasOption(arg) && + arg != "--no-start") { cout << qPrintable(tr("Unknown command")) << endl; exit(0); @@ -78,24 +76,28 @@ QMMPStarter::QMMPStarter(int argc,char **argv, QObject* parent) : QObject(parent m_server = new QLocalServer(this); m_socket = new QLocalSocket(this); - if(m_server->listen (UDS_PATH)) //trying to create server + bool noStart = commands.keys().contains("--no-start"); + + if(!noStart && m_server->listen (UDS_PATH)) //trying to create server { startMainWindow(); } - else + else if(QFile::exists(UDS_PATH)) { m_socket->connectToServer(UDS_PATH); //connecting m_socket->waitForConnected(); if(!m_socket->isValid()) //invalid connection { - qWarning("QMMPStarter: trying to remove invalid socket file"); if(!QLocalServer::removeServer(UDS_PATH)) { qWarning("QMMPStarter: unable to remove invalid socket file"); exit(1); return; } - if(m_server->listen (UDS_PATH)) + qWarning("QMMPStarter: removed invalid socket file"); + if(noStart) + exit(0); + else if(m_server->listen (UDS_PATH)) startMainWindow(); else { @@ -106,6 +108,8 @@ QMMPStarter::QMMPStarter(int argc,char **argv, QObject* parent) : QObject(parent else writeCommand(); } + else + exit(0); } QMMPStarter::~ QMMPStarter() @@ -172,9 +176,9 @@ void QMMPStarter::printUsage() cout << qPrintable(tr("Usage: qmmp [options] [files]")) << endl; cout << qPrintable(tr("Options:")) << endl; cout << "--------" << endl; - cout << "-e, --enqueue " << qPrintable(tr("Don't clear the playlist")) << endl; cout << qPrintable(m_option_manager->helpString()) << endl; CommandLineManager::printUsage(); + cout << "--no-start " << qPrintable(tr("Don't start the application")) << endl; cout << "--help " << qPrintable(tr("Display this text and exit")) << endl; cout << "--version " << qPrintable(tr("Print version number and exit")) << endl; cout << qPrintable(tr("Ideas, patches, bugreports send to forkotov02@hotmail.ru")) << endl; diff --git a/src/ui/translations/qmmp_cs.ts b/src/ui/translations/qmmp_cs.ts index 56af5015d..b98645441 100644 --- a/src/ui/translations/qmmp_cs.ts +++ b/src/ui/translations/qmmp_cs.ts @@ -115,57 +115,62 @@ BuiltinCommandLineOption - + Skip forward in playlist Přejít vpřed v seznamu skladeb - + Skip backwards in playlist Přejít zpět v seznamu skladeb - + Start playing current song Spustit přehrávání aktuální skladby - + + Don't clear the playlist + Nevyprazdňovat seznam skladeb + + + Pause current song Pozastavit aktuální skladbu - + Pause if playing, play otherwise Pozastavit, přehrává-li se, jinak přehrávat - + Stop current song Zastavit aktuální skladbu - + Display Jump to File dialog Zobrazit dialog Přeskočit na soubor - + Set playback volume (example: qmmp --volume 20) Nastavit hlasitost přehrávání (příklad: qmmp --volume 20) - + Show/hide application Zobrazit/skrýt aplikaci - + Display Add File dialog Zobrazit dialog Přidat soubor - + Display Add Directory dialog Zobrazit dialog Přidat adresář @@ -1577,47 +1582,47 @@ 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 - + Unknown command Neznámý příkaz - + QMMP version: Verze QMMP: - - Don't clear the playlist - Nevyprazdňovat seznam skladeb - - - + Qt version: Verze Qt: diff --git a/src/ui/translations/qmmp_de.ts b/src/ui/translations/qmmp_de.ts index e17f77763..b86755f9e 100644 --- a/src/ui/translations/qmmp_de.ts +++ b/src/ui/translations/qmmp_de.ts @@ -115,57 +115,62 @@ BuiltinCommandLineOption - + Skip forward in playlist Nächsten Titel in Wiedergabeliste abspielen - + Skip backwards in playlist Vorherigen Titel in Wiedergabeliste abspielen - + Start playing current song Aktuellen Titel abspielen - + + Don't clear the playlist + Titel an Wiedergabeliste anhängen + + + Pause current song Aktuellen Titel anhalten - + Pause if playing, play otherwise Wiedergabe anhalten oder fortsetzen - + Stop current song Aktuellen Titel stoppen - + Display Jump to File dialog „Springe zu Titel“-Dialog anzeigen - + Set playback volume (example: qmmp --volume 20) Lautstärke der Wiedergabe einstellen (Beispiel: qmmp --volume 20) - + Show/hide application Anwendung ein-/ausblenden - + Display Add File dialog „Datei hinzufügen“-Dialog anzeigen - + Display Add Directory dialog „Verzeichnis hinzufügen“-Dialog anzeigen @@ -1577,47 +1582,47 @@ QMMPStarter - + Usage: qmmp [options] [files] Aufruf: qmmp [Optionen] [Dateien] - + Options: Optionen: - + + Don't start the application + + + + 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 - + Unknown command Unbekannter Befehl - + QMMP version: Qmmp-Version: - - Don't clear the playlist - Titel an Wiedergabeliste anhängen - - - + Qt version: Qt-Version: diff --git a/src/ui/translations/qmmp_es.ts b/src/ui/translations/qmmp_es.ts index 492bf71e6..d859d8863 100644 --- a/src/ui/translations/qmmp_es.ts +++ b/src/ui/translations/qmmp_es.ts @@ -115,57 +115,62 @@ BuiltinCommandLineOption - + Skip forward in playlist Avanzar en la lista de reproducción - + Skip backwards in playlist Retroceder en la lista de reproducción - + Start playing current song Empezar reproduciendo la canción actual - + + Don't clear the playlist + No limpiar la lista de reproducción + + + Pause current song Pausar la canción actual - + Pause if playing, play otherwise Pausar si se está reproduciendo, o viceversa - + Stop current song Detener la canción actual - + Display Jump to File dialog Mostrar el diálogo Saltar a archivo - + Set playback volume (example: qmmp --volume 20) Cambiar el volumen de reproducción (ejemplo: qmmp --volume 20) - + Show/hide application Mostrar/ocultar aplicación - + Display Add File dialog Mostrar el diálogo Añadir archivo - + Display Add Directory dialog Mostrar el diálogo Añadir directorio @@ -1577,47 +1582,47 @@ QMMPStarter - + Usage: qmmp [options] [files] Uso: qmmp [opciones] [archivos] - + Options: Opciones: - - Don't clear the playlist - No limpiar la lista de reproducción - - - + 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 - + Unknown command Comando desconocido - + + Don't start the application + + + + QMMP version: Versión de QMMP: diff --git a/src/ui/translations/qmmp_hu.ts b/src/ui/translations/qmmp_hu.ts index 7e10dc9af..2b1a7d1da 100644 --- a/src/ui/translations/qmmp_hu.ts +++ b/src/ui/translations/qmmp_hu.ts @@ -115,57 +115,62 @@ BuiltinCommandLineOption - + + Don't clear the playlist + Ne töröld a lejátszási listát + + + Start playing current song Aktuális szám lejátszásának indítása - + Pause current song Aktuális szám szüneteltetése - + Pause if playing, play otherwise Szünet ha lejátszás van, különben lejátszás - + Stop current song Aktuális szám megállítása - + Display Jump to File dialog Számra ugrás ablak mutatása - + Set playback volume (example: qmmp --volume 20) Lejátszási hangerő beállítása (pl.: qmmp --volume 20) - + Skip forward in playlist Lejátszási lista következő számának kihagyása - + Skip backwards in playlist Lejátszási lista előző számainak kihagyása - + Show/hide application Alkalmazás mutatása/elrejtése - + Display Add File dialog Fájl hozzáadása ablak mutatása - + Display Add Directory dialog Könyvtár hozzáadása ablak mutatása @@ -1577,47 +1582,47 @@ QMMPStarter - + Unknown command Ismeretlen parancs - + Usage: qmmp [options] [files] Használat: qmmp [opciók] [fájlok] - + Options: Opciók: - - Don't clear the playlist - Ne töröld a lejátszási listát + + 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/ui/translations/qmmp_it.ts b/src/ui/translations/qmmp_it.ts index 2cd27a8de..28eac3eb7 100644 --- a/src/ui/translations/qmmp_it.ts +++ b/src/ui/translations/qmmp_it.ts @@ -115,57 +115,62 @@ BuiltinCommandLineOption - + Skip forward in playlist Scorri in avanti lista dei brani - + Skip backwards in playlist Scorri indietro la lista dei brani - + Start playing current song Inizia il brano scelto - + + Don't clear the playlist + Non ripulire la lista esecuzione + + + Pause current song Sospendi il brano in esecuzione - + Pause if playing, play otherwise Sospendi il brano se in esecuzione; lo riprende se in pausa - + Stop current song Arresta il brano in esecuzione - + Display Jump to File dialog Mostra il menu «Vai al brano» - + Set playback volume (example: qmmp --volume 20) - + Show/hide application Mostra/nascondi Qmmp - + Display Add File dialog Mostra il menu «Aggiungi brani» - + Display Add Directory dialog Mostra il menu «Aggiungi cartella» @@ -1577,47 +1582,47 @@ QMMPStarter - + Usage: qmmp [options] [files] Uso: qmmp [options] [fichiers] - + Options: Opzioni: - - Don't clear the playlist - Non ripulire la lista esecuzione - - - + 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 - + Unknown command Comando sconosciuto - + + Don't start the application + + + + QMMP version: Versione di Qmmp: diff --git a/src/ui/translations/qmmp_ja.ts b/src/ui/translations/qmmp_ja.ts index a67f6208e..644774bee 100644 --- a/src/ui/translations/qmmp_ja.ts +++ b/src/ui/translations/qmmp_ja.ts @@ -115,57 +115,62 @@ BuiltinCommandLineOption - + + Don't clear the playlist + プレイリストをクリアしない + + + Start playing current song 今の曲から再生を開始 - + Pause current song 今の曲で一時停止 - + Pause if playing, play otherwise 再生中なら一時停止、一時停止しておれば再生 - + Stop current song 今の曲で終止 - + Display Jump to File dialog 「ファイルを指定して即刻再生」ダイアログを表示 - + Set playback volume (example: qmmp --volume 20) 音量設定 (例: qmmp --volume 20) - + Skip forward in playlist プレイリストでの次の曲にスキップ - + Skip backwards in playlist プレイリストで前の曲にスキップ - + Show/hide application アプリケーションウィンドウを表示/非表示 - + Display Add File dialog 「ファイル追加」ダイアログを表示 - + Display Add Directory dialog 「ディレクトリ追加」ダイアログを表示 @@ -1577,47 +1582,47 @@ QMMPStarter - + Unknown command 不明なコマンドです - + Usage: qmmp [options] [files] 使用法: qmmp [オプション] [ファイル名:複数可] - + Options: オプション: - - Don't clear the playlist - プレイリストをクリアしない + + 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/ui/translations/qmmp_lt.ts b/src/ui/translations/qmmp_lt.ts index a57bb22f1..b65b7d543 100644 --- a/src/ui/translations/qmmp_lt.ts +++ b/src/ui/translations/qmmp_lt.ts @@ -115,57 +115,62 @@ BuiltinCommandLineOption - + Skip forward in playlist Eiti prie sekančio elemento - + Skip backwards in playlist Eiti prie ankstesnio elemento - + Start playing current song Groti dainą - + + Don't clear the playlist + Neišvalyti sąrašo + + + Pause current song Pristabdyti dainą - + Pause if playing, play otherwise Pristabdyti/Groti - + Stop current song Sustabdyti dainą - + Display Jump to File dialog Parodyti langą bylos pasirinkimui - + Set playback volume (example: qmmp --volume 20) Nustatyti grojimo garsą (pvz: qmmp --volume 20) - + Show/hide application Parodyti/Slėpti programą - + Display Add File dialog Parodyti langą bylų pridėjimui - + Display Add Directory dialog Parodyti langą aplanko pridėjimui @@ -1578,47 +1583,47 @@ 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 - + Unknown command Nežinoma komanda - + + Don't start the application + + + + Ideas, patches, bugreports send to forkotov02@hotmail.ru Idėjas, pataisymus, klaidas siųsti forkotov02@hotmail.ru - + QMMP version: QMMP versija: - - Don't clear the playlist - Neišvalyti sąrašo - - - + Qt version: Qt versija: diff --git a/src/ui/translations/qmmp_nl.ts b/src/ui/translations/qmmp_nl.ts index 0101c5ea1..6c15f30b1 100644 --- a/src/ui/translations/qmmp_nl.ts +++ b/src/ui/translations/qmmp_nl.ts @@ -115,57 +115,62 @@ BuiltinCommandLineOption - + Skip forward in playlist Naar voren springen in afspeellijstb - + Skip backwards in playlist Naar achteren springen in afspeellijst - + Start playing current song Begin met afspelen van huidig nummer - + + Don't clear the playlist + Niet de afspellijst leeghalen + + + Pause current song Pauzeer huidig nummer - + Pause if playing, play otherwise Pauzeer als er wordt gespeeld, anders spelen - + Stop current song Stop huidig nummer - + Display Jump to File dialog Toon Ga Naar Bestandsdialoog - + Set playback volume (example: qmmp --volume 20) Zet afspeelvolume (voorbeeld: qmmp --volume 20) - + Show/hide application Toon/verberg programma - + Display Add File dialog Toon venster om bestanden toe te voegen - + Display Add Directory dialog Toon venster om mappen toe te voegen @@ -1577,47 +1582,47 @@ 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 - + Unknown command Onbekend commando - + QMMP version: QMMP versie: - - Don't clear the playlist - Niet de afspellijst leeghalen - - - + Qt version: Qt versie: diff --git a/src/ui/translations/qmmp_pl_PL.ts b/src/ui/translations/qmmp_pl_PL.ts index 10ed0ecf0..5d775e442 100644 --- a/src/ui/translations/qmmp_pl_PL.ts +++ b/src/ui/translations/qmmp_pl_PL.ts @@ -115,57 +115,62 @@ BuiltinCommandLineOption - + Skip forward in playlist Przeskocz do przodu na liście odtwarzania - + Skip backwards in playlist Przeskocz do tyłu na liście odtwarzania - + Start playing current song Zacznij odtwarzać bieżący utwór - + + Don't clear the playlist + Nie czyść listy + + + Pause current song Wstrzymaj bieżący utwór - + Pause if playing, play otherwise Wstrzymaj jeśli odtwarza, odtwarzaj w przeciwnym wypadku - + Stop current song Zatrzymaj bieżący utwór - + Display Jump to File dialog Wyświetl okno dialogowe Skocz do - + Set playback volume (example: qmmp --volume 20) Ustaw głośność odtwarzania (np: qmmp --volume 20) - + Show/hide application Pokaż/ukryj aplikację - + Display Add File dialog Wyświetl okno dialogowe dodawania plików - + Display Add Directory dialog Wyświetl okno dialogowe dodawania katalogów @@ -1577,47 +1582,47 @@ QMMPStarter - + Usage: qmmp [options] [files] Użycie: qmmp [opcje] [pliki] - + Options: Opcje: - + + Don't start the application + + + + 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 - + Unknown command Nieznane polecenie - + QMMP version: Wersja QMMP: - - Don't clear the playlist - Nie czyść listy - - - + Qt version: Wersja QT: diff --git a/src/ui/translations/qmmp_pt_BR.ts b/src/ui/translations/qmmp_pt_BR.ts index 40363fc88..114cace98 100644 --- a/src/ui/translations/qmmp_pt_BR.ts +++ b/src/ui/translations/qmmp_pt_BR.ts @@ -115,57 +115,62 @@ BuiltinCommandLineOption - + Skip forward in playlist - + Skip backwards in playlist - + Start playing current song - + + Don't clear the playlist + + + + Pause current song - + Pause if playing, play otherwise - + Stop current song - + Display Jump to File dialog - + Set playback volume (example: qmmp --volume 20) - + Show/hide application - + Display Add File dialog - + Display Add Directory dialog @@ -1577,47 +1582,47 @@ 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 - + Unknown command - + QMMP version: - - Don't clear the playlist - - - - + Qt version: diff --git a/src/ui/translations/qmmp_ru.ts b/src/ui/translations/qmmp_ru.ts index 11bf3925a..e09589c16 100644 --- a/src/ui/translations/qmmp_ru.ts +++ b/src/ui/translations/qmmp_ru.ts @@ -115,57 +115,62 @@ BuiltinCommandLineOption - + Skip forward in playlist Перейти к следующему фрагменту - + Skip backwards in playlist Перейти к предыдущему фрагменту - + Start playing current song Воспроизвести текущую песню - + + Don't clear the playlist + Не очищать лист + + + Pause current song Приостановить текущую песню - + Pause if playing, play otherwise Приостановить/воспроизвести - + Stop current song Остановить текущую песню - + Display Jump to File dialog Показать диалог перехода к файлу - + Set playback volume (example: qmmp --volume 20) Установить громкость (пример: qmmp --volume 20) - + Show/hide application Показать/скрыть приложение - + Display Add File dialog Показать диалог добавления файлов - + Display Add Directory dialog Показать диалог добавления директорий @@ -1577,47 +1582,47 @@ 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 Показать этот текст и выйти - + Unknown command Неизвестная команда - + QMMP version: Версия QMMP: - - Don't clear the playlist - Не очищать лист - - - + Qt version: Версия Qt: diff --git a/src/ui/translations/qmmp_tr.ts b/src/ui/translations/qmmp_tr.ts index f4483ceda..ff5949392 100644 --- a/src/ui/translations/qmmp_tr.ts +++ b/src/ui/translations/qmmp_tr.ts @@ -115,57 +115,62 @@ BuiltinCommandLineOption - + Skip forward in playlist İleri atla - + Skip backwards in playlist Geri atla - + Start playing current song Mevcut şarkıyı çalmaya başla - + + Don't clear the playlist + Çalma listesini temizleme + + + Pause current song Mevcut şarkıyı duraklat - + Pause if playing, play otherwise Çalıyorsa duraklat, değilse oynat - + Stop current song Mevcut şarkıyı durdur - + Display Jump to File dialog Dosyaya atlama diyaloğunu göster - + Set playback volume (example: qmmp --volume 20) - + Show/hide application Uygulamayı göster/gizle - + Display Add File dialog Dosya ekleme diyaloğunu göster - + Display Add Directory dialog Dizin ekleme diyaloğunu göster @@ -1577,47 +1582,47 @@ 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 - + Unknown command - + QMMP version: QMMP sürümü: - - Don't clear the playlist - Çalma listesini temizleme - - - + Qt version: Qt sürümü: diff --git a/src/ui/translations/qmmp_uk_UA.ts b/src/ui/translations/qmmp_uk_UA.ts index fced90208..d8541a5dc 100644 --- a/src/ui/translations/qmmp_uk_UA.ts +++ b/src/ui/translations/qmmp_uk_UA.ts @@ -115,57 +115,62 @@ BuiltinCommandLineOption - + Skip forward in playlist Перейти до наступного фрагменту - + Skip backwards in playlist Перейти до попереднього фрагменту - + Start playing current song Грати поточну пісню - + + Don't clear the playlist + Не очищати список + + + Pause current song Призупитини поточну пісню - + Pause if playing, play otherwise Призупинити/відтворити - + Stop current song Зупитини поточну пісню - + Display Jump to File dialog Показати діалог переходу до файла - + Set playback volume (example: qmmp --volume 20) Встановити гучність (приклад: qmmp --volume 20) - + Show/hide application Показати/сховати програму - + Display Add File dialog Показати діалог додавання файлів - + Display Add Directory dialog Показати діалог додавання тек @@ -1577,47 +1582,47 @@ 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 Показати цей текст та вийти - + Unknown command Невідома команда - + QMMP version: Версія QMMP: - - Don't clear the playlist - Не очищати список - - - + Qt version: Версія Qt: diff --git a/src/ui/translations/qmmp_zh_CN.ts b/src/ui/translations/qmmp_zh_CN.ts index 46cfe4084..d994926d3 100644 --- a/src/ui/translations/qmmp_zh_CN.ts +++ b/src/ui/translations/qmmp_zh_CN.ts @@ -115,57 +115,62 @@ BuiltinCommandLineOption - + Skip forward in playlist 跳到播放列表中的下一曲 - + Skip backwards in playlist 跳到播放列表中的上一曲 - + Start playing current song 开始播放当前曲目 - + + Don't clear the playlist + 不要清除这个播放列表 + + + Pause current song 暂停当前曲目 - + Pause if playing, play otherwise 正在播放则暂停,相反处于暂停则播放 - + Stop current song 停止当前曲目 - + Display Jump to File dialog 显示跳到文件对话 - + Set playback volume (example: qmmp --volume 20) - + Show/hide application 显示/隐藏程序 - + Display Add File dialog 显示添加文件对话 - + Display Add Directory dialog 显示添加目录对话 @@ -1577,47 +1582,47 @@ 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 显示这些文本并退出 - + Unknown command - + QMMP version: Qmmp 版本: - - Don't clear the playlist - 不要清除这个播放列表 - - - + Qt version: Qt 版本: diff --git a/src/ui/translations/qmmp_zh_TW.ts b/src/ui/translations/qmmp_zh_TW.ts index 040c44f2b..80991af19 100644 --- a/src/ui/translations/qmmp_zh_TW.ts +++ b/src/ui/translations/qmmp_zh_TW.ts @@ -115,57 +115,62 @@ BuiltinCommandLineOption - + Skip forward in playlist 跳到播放清單中的下一曲 - + Skip backwards in playlist 跳到播放清單中的上一曲 - + Start playing current song 開始播放目前曲目 - + + Don't clear the playlist + 不要清除這個播放清單 + + + Pause current song 暫停目前曲目 - + Pause if playing, play otherwise 正在播放則暫停,相反處於暫停則播放 - + Stop current song 停止目前曲目 - + Display Jump to File dialog 察看跳到檔案對話 - + Set playback volume (example: qmmp --volume 20) - + Show/hide application 察看/隱藏程式 - + Display Add File dialog 察看添加檔案對話 - + Display Add Directory dialog 察看添加目錄對話 @@ -1577,47 +1582,47 @@ 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 察看這些字檔並結束 - + Unknown command - + QMMP version: Qmmp 版本: - - Don't clear the playlist - 不要清除這個播放清單 - - - + Qt version: Qt 版本: -- cgit v1.2.3-13-gbd6f