diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-09-18 16:50:38 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-09-18 16:50:38 +0000 |
| commit | 5717444b38b4f45ad185bbc6ea81cdb141befb8c (patch) | |
| tree | 9ab1fdb4070f7dab49ce5da8b8cf07b79c508eb4 | |
| parent | 42aa3971c31736f04f668f84884c05f4dad793bd (diff) | |
| download | qmmp-5717444b38b4f45ad185bbc6ea81cdb141befb8c.tar.gz qmmp-5717444b38b4f45ad185bbc6ea81cdb141befb8c.tar.bz2 qmmp-5717444b38b4f45ad185bbc6ea81cdb141befb8c.zip | |
added --status and --nowplaying command line option (Closes issue 266)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1893 90c681e8-e032-0410-971d-27865f9a5e38
47 files changed, 1728 insertions, 191 deletions
diff --git a/src/plugins/CommandLineOptions/CMakeLists.txt b/src/plugins/CommandLineOptions/CMakeLists.txt index 558dfd0ea..da214e334 100644 --- a/src/plugins/CommandLineOptions/CMakeLists.txt +++ b/src/plugins/CommandLineOptions/CMakeLists.txt @@ -1,2 +1,3 @@ add_subdirectory(IncDecVolumeOption) add_subdirectory(SeekOption) +add_subdirectory(StatusOption) diff --git a/src/plugins/CommandLineOptions/CommandLineOptions.pro b/src/plugins/CommandLineOptions/CommandLineOptions.pro index 1f4ed9c33..5476ca429 100644 --- a/src/plugins/CommandLineOptions/CommandLineOptions.pro +++ b/src/plugins/CommandLineOptions/CommandLineOptions.pro @@ -1,4 +1,4 @@ TEMPLATE = subdirs SUBDIRS = IncDecVolumeOption \ - SeekOption - + SeekOption \ + StatusOption diff --git a/src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.cpp b/src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.cpp index 9ba8566ee..5384bcb39 100644 --- a/src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.cpp +++ b/src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.cpp @@ -46,7 +46,7 @@ const QString IncDecVolumeCommandLineOption::helpString() const ); } -void IncDecVolumeCommandLineOption::executeCommand(const QString& opt_str, const QStringList &args) +QString IncDecVolumeCommandLineOption::executeCommand(const QString& opt_str, const QStringList &args) { Q_UNUSED(args); SoundCore *core = SoundCore::instance(); @@ -67,6 +67,7 @@ void IncDecVolumeCommandLineOption::executeCommand(const QString& opt_str, const } core->setVolume(volume-qMax(balance,0)*volume/100, volume+qMin(balance,0)*volume/100); + return QString(); } const QString IncDecVolumeCommandLineOption::name() const diff --git a/src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.h b/src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.h index 55c3579c4..7a1b5768a 100644 --- a/src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.h +++ b/src/plugins/CommandLineOptions/IncDecVolumeOption/incdecvolumeoption.h @@ -36,7 +36,7 @@ public: virtual bool identify(const QString& opt_str)const; virtual const QString name()const; virtual const QString helpString()const; - virtual void executeCommand(const QString& opt_str, const QStringList &args); + virtual QString executeCommand(const QString& opt_str, const QStringList &args); virtual QTranslator *createTranslator(QObject *parent); }; diff --git a/src/plugins/CommandLineOptions/SeekOption/seekoption.cpp b/src/plugins/CommandLineOptions/SeekOption/seekoption.cpp index 444bc73be..e8dbacd30 100644 --- a/src/plugins/CommandLineOptions/SeekOption/seekoption.cpp +++ b/src/plugins/CommandLineOptions/SeekOption/seekoption.cpp @@ -41,13 +41,13 @@ const QString SeekOption::helpString() const return help; } -void SeekOption::executeCommand(const QString &opt_str, const QStringList &args) +QString SeekOption::executeCommand(const QString &opt_str, const QStringList &args) { SoundCore *core = SoundCore::instance(); if(core->state() != Qmmp::Playing && core->totalTime()) - return; + return QString(); if(args.isEmpty()) - return; + return QString(); int seek_pos = -1; int elapsed = core->elapsed()/1000; @@ -71,6 +71,9 @@ void SeekOption::executeCommand(const QString &opt_str, const QStringList &args) if(seek_pos >= 0 && seek_pos < core->totalTime()) core->seek(seek_pos * 1000); + else + return QString(); + return QString(); } const QString SeekOption::name() const diff --git a/src/plugins/CommandLineOptions/SeekOption/seekoption.h b/src/plugins/CommandLineOptions/SeekOption/seekoption.h index 544819d63..e60e9d048 100644 --- a/src/plugins/CommandLineOptions/SeekOption/seekoption.h +++ b/src/plugins/CommandLineOptions/SeekOption/seekoption.h @@ -36,7 +36,7 @@ public: virtual bool identify(const QString& opt_str)const; virtual const QString name()const; virtual const QString helpString()const; - virtual void executeCommand(const QString& opt_str, const QStringList &args); + virtual QString executeCommand(const QString& opt_str, const QStringList &args); virtual QTranslator *createTranslator(QObject *parent); }; diff --git a/src/plugins/CommandLineOptions/StatusOption/CMakeLists.txt b/src/plugins/CommandLineOptions/StatusOption/CMakeLists.txt new file mode 100644 index 000000000..1b695c4bf --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/CMakeLists.txt @@ -0,0 +1,52 @@ +project(statusoption) + +cmake_minimum_required(VERSION 2.4.7) + +if(COMMAND cmake_policy) +cmake_policy(SET CMP0003 NEW) +endif(COMMAND cmake_policy) + + +# qt plugin +ADD_DEFINITIONS( -Wall ) +ADD_DEFINITIONS(${QT_DEFINITIONS}) +ADD_DEFINITIONS(-DQT_PLUGIN) +ADD_DEFINITIONS(-DQT_NO_DEBUG) +ADD_DEFINITIONS(-DQT_SHARED) +ADD_DEFINITIONS(-DQT_THREAD) + +include_directories(${CMAKE_CURRENT_BINARY_DIR}) + +SET(QT_INCLUDES + ${QT_INCLUDES} + ${CMAKE_CURRENT_SOURCE_DIR}/../../../ +) + +# libqmmpui +include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../../) +link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmpui) +link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmp) + +SET(statusoption_SRCS + statusoption.cpp +) + +SET(statusoption_MOC_HDRS + statusoption.h +) + +SET(statusoption_RCCS translations/translations.qrc) + +QT4_ADD_RESOURCES(statusoption_RCC_SRCS ${statusoption_RCCS}) + +QT4_WRAP_CPP(statusoption_MOC_SRCS ${statusoption_MOC_HDRS}) + + +# Don't forget to include output directory, otherwise +# the UI file won't be wrapped! +include_directories(${CMAKE_CURRENT_BINARY_DIR}) + +ADD_LIBRARY(statusoption MODULE ${statusoption_SRCS} ${statusoption_MOC_SRCS} ${statusoption_RCC_SRCS}) +add_dependencies(statusoption qmmpui) +target_link_libraries(statusoption ${QT_LIBRARIES} -lqmmpui -lqmmp) +install(TARGETS statusoption DESTINATION ${LIB_DIR}/qmmp/CommandLineOptions) diff --git a/src/plugins/CommandLineOptions/StatusOption/StatusOption.pro b/src/plugins/CommandLineOptions/StatusOption/StatusOption.pro new file mode 100644 index 000000000..0d87ad454 --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/StatusOption.pro @@ -0,0 +1,41 @@ +include(../../plugins.pri) + +CONFIG += release \ +warn_on \ +plugin \ + lib + +TARGET = $$PLUGINS_PREFIX/CommandLineOptions/statusoption +QMAKE_CLEAN = $$PLUGINS_PREFIX/CommandLineOptions/libstatusoption.so + +TEMPLATE = lib +QMAKE_LIBDIR += ../../../../lib + +TRANSLATIONS = translations/status_plugin_cs.ts \ + translations/status_plugin_de.ts \ + translations/status_plugin_pl.ts \ + translations/status_plugin_ru.ts \ + translations/status_plugin_uk_UA.ts \ + translations/status_plugin_zh_TW.ts \ + translations/status_plugin_zh_CN.ts \ + translations/status_plugin_it.ts \ + translations/status_plugin_tr.ts \ + translations/status_plugin_lt.ts \ + translations/status_plugin_nl.ts \ + translations/status_plugin_ja.ts \ + translations/status_plugin_es.ts +RESOURCES = translations/translations.qrc + +isEmpty(LIB_DIR){ + LIB_DIR = /lib +} +target.path = $$LIB_DIR/qmmp/CommandLineOptions +INSTALLS += target + +INCLUDEPATH += ../../../../src + +LIBS += -lqmmpui -lqmmp + +HEADERS += statusoption.h + +SOURCES += statusoption.cpp diff --git a/src/plugins/CommandLineOptions/StatusOption/statusoption.cpp b/src/plugins/CommandLineOptions/StatusOption/statusoption.cpp new file mode 100644 index 000000000..b43e57f60 --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/statusoption.cpp @@ -0,0 +1,141 @@ +/*************************************************************************** + * Copyright (C) 2010 by Ilya Kotov * + * forkotov02@hotmail.ru * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include <QtPlugin> +#include <QTranslator> +#include <QLocale> +#include <QMap> +#include <qmmp/soundcore.h> +#include <qmmpui/metadataformatter.h> +#include "statusoption.h" + +bool StatusOption::identify(const QString &str) const +{ + QStringList opts; + opts << "--status" << "--nowplaying" << "--nowplaying-syntax"; + return opts.contains(str); +} + +const QString StatusOption::helpString() const +{ + QString help; + help += QString("--status ") + tr("Print playback status") + "\n"; + help += QString("--nowplaying <fmt> ") + + tr("Print formatted track name (example: qmmp --nowplaying \"%t - %a\")") + "\n"; + help += QString("--nowplaying-syntax ") + tr("Print --nowplaying syntax") + "\n"; + return help; +} + +QString StatusOption::executeCommand(const QString &opt_str, const QStringList &args) +{ + SoundCore *core = SoundCore::instance(); + QString out; + if(opt_str == "--status") + { + QMap<int, QString> state_names; + state_names.insert(Qmmp::Playing, "[playing]"); + state_names.insert(Qmmp::Paused, "[paused]"); + state_names.insert(Qmmp::Stopped, "[stopped]"); + state_names.insert(Qmmp::Buffering, "[buffering]"); + state_names.insert(Qmmp::NormalError, "[error]"); + state_names.insert(Qmmp::FatalError, "[error]"); + out += state_names[core->state()]; + + if(core->state() == Qmmp::Playing || core->state() == Qmmp::Paused) + { + out += " "; + out += genProgressBar() + "\n"; + out += "ARTIST = %p\n"; + out += "TITLE = %t\n"; + out += "ALBUM = %a\n"; + out += "COMMENT = %c\n"; + out += "GENRE = %g\n"; + out += "YEAR = %y\n"; + out += "TRACK = %n\n"; + MetaDataFormatter formatter(out); + out = formatter.parse(core->metaData(), core->totalTime()); + } + else + out += "\n"; + } + else if(opt_str == "--nowplaying") + { + QString t = args.join(" "); + MetaDataFormatter formatter(t); + out = formatter.parse(core->metaData(), core->totalTime()); + out += "\n"; + } + else if(opt_str == "--nowplaying-syntax") + { + out += tr("Syntax:") + "\n"; + out += tr("%p - artist") + "\n"; + out += tr("%a - album") + "\n"; + out += tr("%t - title") + "\n"; + out += tr("%n - track") + "\n"; + out += tr("%NN - 2-digit track") + "\n"; + out += tr("%g - genre") + "\n"; + out += tr("%c - comment") + "\n"; + out += tr("%C - composer") + "\n"; + out += tr("%D - disc number") + "\n"; + out += tr("%f - file name") + "\n"; + out += tr("%F - full path") + "\n"; + out += tr("%y - year") + "\n"; + out += tr("%l - duration") + "\n"; + out += tr("%if(A&B&C,D,E)") + "\n"; + } + return out; +} + +const QString StatusOption::name() const +{ + return "StatusOption"; +} + +QTranslator *StatusOption::createTranslator(QObject *parent) +{ + QTranslator *translator = new QTranslator(parent); + QString locale = Qmmp::systemLanguageID(); + translator->load(QString(":/status_plugin_") + locale); + return translator; +} + +QString StatusOption::genProgressBar() +{ + SoundCore *core = SoundCore::instance(); + QString totalTime = QString("%1:%2").arg(core->totalTime()/60000) + .arg(core->totalTime()%60000/1000, 2, 10, QChar('0')); + QString currentTime = QString("%1:%2").arg(core->elapsed()/60000) + .arg(core->elapsed()%60000/1000, 2, 10, QChar('0')); + QString out = currentTime; + if(core->totalTime()) + { + out.clear(); + int played_count = 22 * (double)core->elapsed()/core->totalTime(); + for(int i = 0; i < played_count; ++i) + out += "="; + out += "#"; + for(int i = played_count; i < 22; ++i) + out += "-"; + out += " " + currentTime + "/" +totalTime; + } + return out; +} + +Q_EXPORT_PLUGIN2(statusoption, StatusOption) diff --git a/src/plugins/CommandLineOptions/StatusOption/statusoption.h b/src/plugins/CommandLineOptions/StatusOption/statusoption.h new file mode 100644 index 000000000..fa1737ead --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/statusoption.h @@ -0,0 +1,47 @@ +/*************************************************************************** + * Copyright (C) 2010 by Ilya Kotov * + * forkotov02@hotmail.ru * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef STATUSOPTION_H +#define STATUSOPTION_H + +#include <QString> +#include <QObject> +#include <QStringList> +#include <qmmpui/commandlineoption.h> +#include <qmmpui/commandlinemanager.h> + + +class StatusOption : public QObject, public CommandLineOption +{ +Q_OBJECT +Q_INTERFACES(CommandLineOption) +public: + virtual bool identify(const QString& opt_str)const; + virtual const QString name()const; + virtual const QString helpString()const; + virtual QString executeCommand(const QString& opt_str, const QStringList &args); + virtual QTranslator *createTranslator(QObject *parent); + +private: + QString genProgressBar(); +}; + +#endif + diff --git a/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_cs.ts b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_cs.ts new file mode 100644 index 000000000..bf1899124 --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_cs.ts @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="cs_CZ"> +<context> + <name>StatusOption</name> + <message> + <location filename="../statusoption.cpp" line="39"/> + <source>Print playback status</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="41"/> + <source>Print formatted track name (example: qmmp --nowplaying "%t - %a")</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="42"/> + <source>Print --nowplaying syntax</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="87"/> + <source>Syntax:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="88"/> + <source>%p - artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="89"/> + <source>%a - album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="90"/> + <source>%t - title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="91"/> + <source>%n - track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="92"/> + <source>%NN - 2-digit track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="93"/> + <source>%g - genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="94"/> + <source>%c - comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="95"/> + <source>%C - composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="96"/> + <source>%D - disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="97"/> + <source>%f - file name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="98"/> + <source>%F - full path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="99"/> + <source>%y - year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="100"/> + <source>%l - duration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="101"/> + <source>%if(A&B&C,D,E)</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_de.ts b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_de.ts new file mode 100644 index 000000000..967c78118 --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_de.ts @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="de_DE"> +<context> + <name>StatusOption</name> + <message> + <location filename="../statusoption.cpp" line="39"/> + <source>Print playback status</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="41"/> + <source>Print formatted track name (example: qmmp --nowplaying "%t - %a")</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="42"/> + <source>Print --nowplaying syntax</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="87"/> + <source>Syntax:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="88"/> + <source>%p - artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="89"/> + <source>%a - album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="90"/> + <source>%t - title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="91"/> + <source>%n - track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="92"/> + <source>%NN - 2-digit track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="93"/> + <source>%g - genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="94"/> + <source>%c - comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="95"/> + <source>%C - composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="96"/> + <source>%D - disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="97"/> + <source>%f - file name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="98"/> + <source>%F - full path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="99"/> + <source>%y - year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="100"/> + <source>%l - duration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="101"/> + <source>%if(A&B&C,D,E)</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_es.ts b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_es.ts new file mode 100644 index 000000000..3d02f530d --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_es.ts @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="es"> +<context> + <name>StatusOption</name> + <message> + <location filename="../statusoption.cpp" line="39"/> + <source>Print playback status</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="41"/> + <source>Print formatted track name (example: qmmp --nowplaying "%t - %a")</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="42"/> + <source>Print --nowplaying syntax</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="87"/> + <source>Syntax:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="88"/> + <source>%p - artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="89"/> + <source>%a - album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="90"/> + <source>%t - title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="91"/> + <source>%n - track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="92"/> + <source>%NN - 2-digit track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="93"/> + <source>%g - genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="94"/> + <source>%c - comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="95"/> + <source>%C - composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="96"/> + <source>%D - disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="97"/> + <source>%f - file name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="98"/> + <source>%F - full path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="99"/> + <source>%y - year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="100"/> + <source>%l - duration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="101"/> + <source>%if(A&B&C,D,E)</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_it.ts b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_it.ts new file mode 100644 index 000000000..b7460ce48 --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_it.ts @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="it_IT"> +<context> + <name>StatusOption</name> + <message> + <location filename="../statusoption.cpp" line="39"/> + <source>Print playback status</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="41"/> + <source>Print formatted track name (example: qmmp --nowplaying "%t - %a")</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="42"/> + <source>Print --nowplaying syntax</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="87"/> + <source>Syntax:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="88"/> + <source>%p - artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="89"/> + <source>%a - album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="90"/> + <source>%t - title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="91"/> + <source>%n - track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="92"/> + <source>%NN - 2-digit track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="93"/> + <source>%g - genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="94"/> + <source>%c - comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="95"/> + <source>%C - composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="96"/> + <source>%D - disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="97"/> + <source>%f - file name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="98"/> + <source>%F - full path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="99"/> + <source>%y - year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="100"/> + <source>%l - duration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="101"/> + <source>%if(A&B&C,D,E)</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_ja.ts b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_ja.ts new file mode 100644 index 000000000..fe7934c4a --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_ja.ts @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ja_JP"> +<context> + <name>StatusOption</name> + <message> + <location filename="../statusoption.cpp" line="39"/> + <source>Print playback status</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="41"/> + <source>Print formatted track name (example: qmmp --nowplaying "%t - %a")</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="42"/> + <source>Print --nowplaying syntax</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="87"/> + <source>Syntax:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="88"/> + <source>%p - artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="89"/> + <source>%a - album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="90"/> + <source>%t - title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="91"/> + <source>%n - track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="92"/> + <source>%NN - 2-digit track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="93"/> + <source>%g - genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="94"/> + <source>%c - comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="95"/> + <source>%C - composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="96"/> + <source>%D - disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="97"/> + <source>%f - file name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="98"/> + <source>%F - full path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="99"/> + <source>%y - year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="100"/> + <source>%l - duration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="101"/> + <source>%if(A&B&C,D,E)</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_lt.ts b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_lt.ts new file mode 100644 index 000000000..aa12d1d3d --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_lt.ts @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="lt_LT"> +<context> + <name>StatusOption</name> + <message> + <location filename="../statusoption.cpp" line="39"/> + <source>Print playback status</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="41"/> + <source>Print formatted track name (example: qmmp --nowplaying "%t - %a")</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="42"/> + <source>Print --nowplaying syntax</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="87"/> + <source>Syntax:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="88"/> + <source>%p - artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="89"/> + <source>%a - album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="90"/> + <source>%t - title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="91"/> + <source>%n - track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="92"/> + <source>%NN - 2-digit track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="93"/> + <source>%g - genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="94"/> + <source>%c - comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="95"/> + <source>%C - composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="96"/> + <source>%D - disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="97"/> + <source>%f - file name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="98"/> + <source>%F - full path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="99"/> + <source>%y - year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="100"/> + <source>%l - duration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="101"/> + <source>%if(A&B&C,D,E)</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_nl.ts b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_nl.ts new file mode 100644 index 000000000..87017bda8 --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_nl.ts @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="nl"> +<context> + <name>StatusOption</name> + <message> + <location filename="../statusoption.cpp" line="39"/> + <source>Print playback status</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="41"/> + <source>Print formatted track name (example: qmmp --nowplaying "%t - %a")</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="42"/> + <source>Print --nowplaying syntax</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="87"/> + <source>Syntax:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="88"/> + <source>%p - artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="89"/> + <source>%a - album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="90"/> + <source>%t - title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="91"/> + <source>%n - track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="92"/> + <source>%NN - 2-digit track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="93"/> + <source>%g - genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="94"/> + <source>%c - comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="95"/> + <source>%C - composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="96"/> + <source>%D - disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="97"/> + <source>%f - file name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="98"/> + <source>%F - full path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="99"/> + <source>%y - year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="100"/> + <source>%l - duration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="101"/> + <source>%if(A&B&C,D,E)</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_pl.ts b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_pl.ts new file mode 100644 index 000000000..ac75ba189 --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_pl.ts @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="pl_PL"> +<context> + <name>StatusOption</name> + <message> + <location filename="../statusoption.cpp" line="39"/> + <source>Print playback status</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="41"/> + <source>Print formatted track name (example: qmmp --nowplaying "%t - %a")</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="42"/> + <source>Print --nowplaying syntax</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="87"/> + <source>Syntax:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="88"/> + <source>%p - artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="89"/> + <source>%a - album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="90"/> + <source>%t - title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="91"/> + <source>%n - track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="92"/> + <source>%NN - 2-digit track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="93"/> + <source>%g - genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="94"/> + <source>%c - comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="95"/> + <source>%C - composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="96"/> + <source>%D - disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="97"/> + <source>%f - file name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="98"/> + <source>%F - full path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="99"/> + <source>%y - year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="100"/> + <source>%l - duration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="101"/> + <source>%if(A&B&C,D,E)</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_ru.ts b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_ru.ts new file mode 100644 index 000000000..d937d8895 --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_ru.ts @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ru_RU"> +<context> + <name>StatusOption</name> + <message> + <location filename="../statusoption.cpp" line="39"/> + <source>Print playback status</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="41"/> + <source>Print formatted track name (example: qmmp --nowplaying "%t - %a")</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="42"/> + <source>Print --nowplaying syntax</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="87"/> + <source>Syntax:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="88"/> + <source>%p - artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="89"/> + <source>%a - album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="90"/> + <source>%t - title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="91"/> + <source>%n - track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="92"/> + <source>%NN - 2-digit track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="93"/> + <source>%g - genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="94"/> + <source>%c - comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="95"/> + <source>%C - composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="96"/> + <source>%D - disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="97"/> + <source>%f - file name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="98"/> + <source>%F - full path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="99"/> + <source>%y - year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="100"/> + <source>%l - duration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="101"/> + <source>%if(A&B&C,D,E)</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_tr.ts b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_tr.ts new file mode 100644 index 000000000..b8a9e022d --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_tr.ts @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="tr_TR"> +<context> + <name>StatusOption</name> + <message> + <location filename="../statusoption.cpp" line="39"/> + <source>Print playback status</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="41"/> + <source>Print formatted track name (example: qmmp --nowplaying "%t - %a")</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="42"/> + <source>Print --nowplaying syntax</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="87"/> + <source>Syntax:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="88"/> + <source>%p - artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="89"/> + <source>%a - album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="90"/> + <source>%t - title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="91"/> + <source>%n - track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="92"/> + <source>%NN - 2-digit track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="93"/> + <source>%g - genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="94"/> + <source>%c - comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="95"/> + <source>%C - composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="96"/> + <source>%D - disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="97"/> + <source>%f - file name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="98"/> + <source>%F - full path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="99"/> + <source>%y - year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="100"/> + <source>%l - duration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="101"/> + <source>%if(A&B&C,D,E)</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_uk_UA.ts b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_uk_UA.ts new file mode 100644 index 000000000..1659f36c9 --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_uk_UA.ts @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="uk"> +<context> + <name>StatusOption</name> + <message> + <location filename="../statusoption.cpp" line="39"/> + <source>Print playback status</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="41"/> + <source>Print formatted track name (example: qmmp --nowplaying "%t - %a")</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="42"/> + <source>Print --nowplaying syntax</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="87"/> + <source>Syntax:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="88"/> + <source>%p - artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="89"/> + <source>%a - album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="90"/> + <source>%t - title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="91"/> + <source>%n - track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="92"/> + <source>%NN - 2-digit track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="93"/> + <source>%g - genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="94"/> + <source>%c - comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="95"/> + <source>%C - composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="96"/> + <source>%D - disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="97"/> + <source>%f - file name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="98"/> + <source>%F - full path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="99"/> + <source>%y - year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="100"/> + <source>%l - duration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="101"/> + <source>%if(A&B&C,D,E)</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_zh_CN.ts b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_zh_CN.ts new file mode 100644 index 000000000..2a2acf86e --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_zh_CN.ts @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="zh_CN"> +<context> + <name>StatusOption</name> + <message> + <location filename="../statusoption.cpp" line="39"/> + <source>Print playback status</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="41"/> + <source>Print formatted track name (example: qmmp --nowplaying "%t - %a")</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="42"/> + <source>Print --nowplaying syntax</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="87"/> + <source>Syntax:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="88"/> + <source>%p - artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="89"/> + <source>%a - album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="90"/> + <source>%t - title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="91"/> + <source>%n - track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="92"/> + <source>%NN - 2-digit track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="93"/> + <source>%g - genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="94"/> + <source>%c - comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="95"/> + <source>%C - composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="96"/> + <source>%D - disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="97"/> + <source>%f - file name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="98"/> + <source>%F - full path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="99"/> + <source>%y - year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="100"/> + <source>%l - duration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="101"/> + <source>%if(A&B&C,D,E)</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_zh_TW.ts b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_zh_TW.ts new file mode 100644 index 000000000..7f5eaa03a --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_zh_TW.ts @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="zh_TW"> +<context> + <name>StatusOption</name> + <message> + <location filename="../statusoption.cpp" line="39"/> + <source>Print playback status</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="41"/> + <source>Print formatted track name (example: qmmp --nowplaying "%t - %a")</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="42"/> + <source>Print --nowplaying syntax</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="87"/> + <source>Syntax:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="88"/> + <source>%p - artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="89"/> + <source>%a - album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="90"/> + <source>%t - title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="91"/> + <source>%n - track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="92"/> + <source>%NN - 2-digit track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="93"/> + <source>%g - genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="94"/> + <source>%c - comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="95"/> + <source>%C - composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="96"/> + <source>%D - disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="97"/> + <source>%f - file name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="98"/> + <source>%F - full path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="99"/> + <source>%y - year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="100"/> + <source>%l - duration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../statusoption.cpp" line="101"/> + <source>%if(A&B&C,D,E)</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/CommandLineOptions/StatusOption/translations/translations.qrc b/src/plugins/CommandLineOptions/StatusOption/translations/translations.qrc new file mode 100644 index 000000000..671f4bd43 --- /dev/null +++ b/src/plugins/CommandLineOptions/StatusOption/translations/translations.qrc @@ -0,0 +1,18 @@ +<!DOCTYPE RCC> +<RCC version="1.0"> + <qresource> + <file>status_plugin_it.qm</file> + <file>status_plugin_pl.qm</file> + <file>status_plugin_ru.qm</file> + <file>status_plugin_de.qm</file> + <file>status_plugin_cs.qm</file> + <file>status_plugin_uk_UA.qm</file> + <file>status_plugin_zh_TW.qm</file> + <file>status_plugin_zh_CN.qm</file> + <file>status_plugin_tr.qm</file> + <file>status_plugin_lt.qm</file> + <file>status_plugin_nl.qm</file> + <file>status_plugin_ja.qm</file> + <file>status_plugin_es.qm</file> + </qresource> +</RCC> diff --git a/src/qmmpui/commandlinemanager.cpp b/src/qmmpui/commandlinemanager.cpp index 85d822b1e..fde1da6d4 100644 --- a/src/qmmpui/commandlinemanager.cpp +++ b/src/qmmpui/commandlinemanager.cpp @@ -22,10 +22,12 @@ #include <QObject> #include <QList> #include <QApplication> - #include <cstdlib> #include <iostream> #include <qmmp/qmmp.h> +#include <qmmp/soundcore.h> +#include <qmmpui/generalhandler.h> +#include <qmmpui/mediaplayer.h> #include "commandlinemanager.h" using namespace std; @@ -65,31 +67,22 @@ void CommandLineManager::checkOptions() } } -CommandLineManager::CommandLineManager(QObject *parent) - : General(parent) -{ - //m_state = General::Stopped; - m_left = 0; - m_right = 0; - m_time = 0; -} - - -CommandLineManager::~CommandLineManager() -{ -} - -void CommandLineManager::executeCommand(const QString& opt_str, const QStringList &args) +QString CommandLineManager::executeCommand(const QString& opt_str, const QStringList &args) { checkOptions(); + if(!GeneralHandler::instance() || !SoundCore::instance() || !MediaPlayer::instance()) + { + qWarning("CommandLineManager: player objects are not created"); + return QString(); + } foreach(CommandLineOption *opt, *m_options) { if (opt->identify(opt_str)) { - opt->executeCommand(opt_str, args); - return; + return opt->executeCommand(opt_str, args); } } + return QString(); } bool CommandLineManager::hasOption(const QString &opt_str) @@ -107,5 +100,5 @@ void CommandLineManager::printUsage() { checkOptions(); foreach(CommandLineOption *opt, *m_options) - cout << qPrintable(opt->helpString()); + cout << qPrintable(opt->helpString()); } diff --git a/src/qmmpui/commandlinemanager.h b/src/qmmpui/commandlinemanager.h index aa393ac42..eab7c46e1 100644 --- a/src/qmmpui/commandlinemanager.h +++ b/src/qmmpui/commandlinemanager.h @@ -27,25 +27,16 @@ /*! @brief Helper class used for handle command line plugins * @author Ilya Kotov <forkotov02@hotmail.ru> */ -class CommandLineManager : public General +class CommandLineManager { - Q_OBJECT public: /*! - * Constructs a command line manager. - * @param parent QObject parent - */ - CommandLineManager(QObject *parent = 0); - /*! - * Object destructor. - */ - ~CommandLineManager(); - /*! * Executes command \b opt_str * @param opt_str Command line option string * @param args Command arguments + * @return Command output result */ - void executeCommand(const QString& opt_str, const QStringList &args = QStringList()); + static QString executeCommand(const QString& opt_str, const QStringList &args = QStringList()); /*! * Return \b true if command \b opt_str is supported, otherwise returns \b false */ @@ -57,9 +48,6 @@ public: private: static void checkOptions(); - uint m_state; - int m_left, m_right; - int m_time; static QList<CommandLineOption *> *m_options; static QStringList m_files; }; diff --git a/src/qmmpui/commandlineoption.h b/src/qmmpui/commandlineoption.h index edbd40a5c..bd06cf0ee 100644 --- a/src/qmmpui/commandlineoption.h +++ b/src/qmmpui/commandlineoption.h @@ -50,8 +50,9 @@ public: * Parses \b opt_str args(if needed), executes command. * @param opt_str Command to execute * @param args Command arguments + * @return Command output */ - virtual void executeCommand(const QString &opt_str, const QStringList &args) = 0; + virtual QString executeCommand(const QString &opt_str, const QStringList &args) = 0; /*! * Creates translator with parent object \b parent */ diff --git a/src/qmmpui/generalhandler.cpp b/src/qmmpui/generalhandler.cpp index 794156e08..2a163b0c1 100644 --- a/src/qmmpui/generalhandler.cpp +++ b/src/qmmpui/generalhandler.cpp @@ -48,8 +48,6 @@ GeneralHandler::GeneralHandler(QObject *parent) m_generals.insert(factory, general); } } - m_commandLineManager = new CommandLineManager(this); - m_generals.insert(0, m_commandLineManager); } GeneralHandler::~GeneralHandler() @@ -102,12 +100,6 @@ bool GeneralHandler::visibilityControl() return false; } -void GeneralHandler::executeCommand(const QString &opt_str, const QStringList &args) -{ - if (CommandLineManager::hasOption(opt_str)) - m_commandLineManager->executeCommand(opt_str, args); -} - void GeneralHandler::addAction(QAction *action, MenuType type) { connect(action, SIGNAL(destroyed (QObject *)), SLOT(removeAction(QObject*))); diff --git a/src/qmmpui/generalhandler.h b/src/qmmpui/generalhandler.h index 5d2e9cef0..f7dcff968 100644 --- a/src/qmmpui/generalhandler.h +++ b/src/qmmpui/generalhandler.h @@ -32,7 +32,6 @@ class QWidget; class General; class Control; class GeneralFactory; -class CommandLineManager; /*! @brief The GeneralHandler class provides simple api to access general and command line plugins. * @author Ilya Kotov <forkotov02@hotmail.ru> @@ -75,12 +74,6 @@ public: */ bool visibilityControl(); /*! - * Executes command by command line plugins - * @param opt_str Command line option string - * @param args Command arguments - */ - void executeCommand(const QString &opt_str, const QStringList &args = QStringList()); - /*! * Adds the newly created action to the menu with type \b type. * Menu with type \b type should be created first. * @param action Pointer of action. @@ -124,7 +117,6 @@ private slots: private: QMap <GeneralFactory*, General*> m_generals; - CommandLineManager *m_commandLineManager; QList <QAction*> m_toolsActions; QList <QAction*> m_playlistActions; QPointer<QMenu> m_toolsMenu; diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index 99cbc0ae2..27ac8217e 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -573,10 +573,10 @@ void MainWindow::playPause() play(); } -bool MainWindow::processCommandArgs(const QStringList &slist, const QString& cwd) +QString MainWindow::processCommandArgs(const QStringList &slist, const QString& cwd) { if(slist.isEmpty()) - return true; + return QString(); QStringList paths; foreach(QString arg, slist) { @@ -596,11 +596,11 @@ bool MainWindow::processCommandArgs(const QStringList &slist, const QString& cwd full_path_list << cwd + "/" + s; } setFileList(full_path_list); - return true; + return QString(); } QHash<QString, QStringList> commands = m_option_manager->splitArgs(slist); if(commands.isEmpty()) - return false; + return QString(); foreach(QString key, commands.keys()) { if(key == "--enqueue" || key == "-e") @@ -619,13 +619,13 @@ bool MainWindow::processCommandArgs(const QStringList &slist, const QString& cwd m_pl_manager->currentPlayList()->addFileList(full_path_list); } else if (CommandLineManager::hasOption(key)) - m_generalHandler->executeCommand(key, commands.value(key)); + return CommandLineManager::executeCommand(key, commands.value(key)); else if (m_option_manager->identify(key)) m_option_manager->executeCommand(key, commands.value(key), this); else - return false; + return QString(); } - return true; + return QString(); } void MainWindow::jumpToFile() diff --git a/src/ui/mainwindow.h b/src/ui/mainwindow.h index 0fdabdd7b..1b8d1784b 100644 --- a/src/ui/mainwindow.h +++ b/src/ui/mainwindow.h @@ -60,7 +60,7 @@ public: void setVolume(int volume, int balance); SoundCore* soundCore()const; MainDisplay* mainDisplay()const; - bool processCommandArgs(const QStringList &list,const QString& cwd); + QString processCommandArgs(const QStringList &list,const QString& cwd); public slots: void seek(qint64); diff --git a/src/ui/qmmpstarter.cpp b/src/ui/qmmpstarter.cpp index bccd6e250..05422d4e7 100644 --- a/src/ui/qmmpstarter.cpp +++ b/src/ui/qmmpstarter.cpp @@ -136,6 +136,9 @@ void QMMPStarter::writeCommand() barray.remove(0, size); } m_socket->flush(); + //reading answer + if(m_socket->waitForReadyRead(1500)) + cout << m_socket->readAll().data(); } else { @@ -148,17 +151,20 @@ void QMMPStarter::writeCommand() void QMMPStarter::readCommand() { QLocalSocket *socket = m_server->nextPendingConnection(); - socket->waitForDisconnected(); + socket->waitForReadyRead(); QByteArray inputArray = socket->readAll(); - socket->deleteLater(); if(inputArray.isEmpty()) return; QStringList slist = QString::fromUtf8(inputArray.data()).split("\n",QString::SkipEmptyParts); QString cwd = slist.takeAt(0); - if (mw) + QString out = mw ? mw->processCommandArgs(slist, cwd) : QString(); + if(!out.isEmpty()) { - mw->processCommandArgs(slist,cwd); + //writing answer + socket->write(out.toLocal8Bit()); + socket->flush(); } + socket->deleteLater(); } void QMMPStarter::printUsage() diff --git a/src/ui/translations/qmmp_cs.ts b/src/ui/translations/qmmp_cs.ts index cab2d97ca..a24c8de31 100644 --- a/src/ui/translations/qmmp_cs.ts +++ b/src/ui/translations/qmmp_cs.ts @@ -1567,27 +1567,27 @@ <context> <name>QMMPStarter</name> <message> - <location filename="../qmmpstarter.cpp" line="166"/> + <location filename="../qmmpstarter.cpp" line="172"/> <source>Usage: qmmp [options] [files]</source> <translation>Použití: qmmp [volby] [soubory]</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="167"/> + <location filename="../qmmpstarter.cpp" line="173"/> <source>Options:</source> <translation>Volby:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="173"/> + <location filename="../qmmpstarter.cpp" line="179"/> <source>Print version number and exit</source> <translation>Vypsat číslo verze a skončit</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="174"/> + <location filename="../qmmpstarter.cpp" line="180"/> <source>Ideas, patches, bugreports send to forkotov02@hotmail.ru</source> <translation>Nápady, patche, hlášení chyb posílejte na forkotov02@hotmail.ru (anglicky)</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="172"/> + <location filename="../qmmpstarter.cpp" line="178"/> <source>Display this text and exit</source> <translation>Zobrazit tento text a skončit</translation> </message> @@ -1597,17 +1597,17 @@ <translation>Neznámý příkaz</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="179"/> + <location filename="../qmmpstarter.cpp" line="185"/> <source>QMMP version:</source> <translation>Verze QMMP:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="169"/> + <location filename="../qmmpstarter.cpp" line="175"/> <source>Don't clear the playlist</source> <translation>Nevyprazdňovat seznam skladeb</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="180"/> + <location filename="../qmmpstarter.cpp" line="186"/> <source>Qt version:</source> <translation>Verze Qt:</translation> </message> diff --git a/src/ui/translations/qmmp_de.ts b/src/ui/translations/qmmp_de.ts index 779150097..3a8ddbaf3 100644 --- a/src/ui/translations/qmmp_de.ts +++ b/src/ui/translations/qmmp_de.ts @@ -1567,27 +1567,27 @@ <context> <name>QMMPStarter</name> <message> - <location filename="../qmmpstarter.cpp" line="166"/> + <location filename="../qmmpstarter.cpp" line="172"/> <source>Usage: qmmp [options] [files]</source> <translation>Aufruf: qmmp [Optionen] [Dateien]</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="167"/> + <location filename="../qmmpstarter.cpp" line="173"/> <source>Options:</source> <translation>Optionen:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="173"/> + <location filename="../qmmpstarter.cpp" line="179"/> <source>Print version number and exit</source> <translation>Gibt die Versionsnummer aus</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="174"/> + <location filename="../qmmpstarter.cpp" line="180"/> <source>Ideas, patches, bugreports send to forkotov02@hotmail.ru</source> <translation>Ideen, Patches und Bugreports an <forkotov02@hotmail.ru> senden</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="172"/> + <location filename="../qmmpstarter.cpp" line="178"/> <source>Display this text and exit</source> <translation>Zeigt diesen Hilfetext an</translation> </message> @@ -1597,17 +1597,17 @@ <translation>Unbekannter Befehl</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="179"/> + <location filename="../qmmpstarter.cpp" line="185"/> <source>QMMP version:</source> <translation>Qmmp-Version:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="169"/> + <location filename="../qmmpstarter.cpp" line="175"/> <source>Don't clear the playlist</source> <translation>Titel an Wiedergabeliste anhängen</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="180"/> + <location filename="../qmmpstarter.cpp" line="186"/> <source>Qt version:</source> <translation>Qt-Version:</translation> </message> diff --git a/src/ui/translations/qmmp_es.ts b/src/ui/translations/qmmp_es.ts index 18c0c1a39..b85221f9e 100644 --- a/src/ui/translations/qmmp_es.ts +++ b/src/ui/translations/qmmp_es.ts @@ -1567,37 +1567,37 @@ <context> <name>QMMPStarter</name> <message> - <location filename="../qmmpstarter.cpp" line="166"/> + <location filename="../qmmpstarter.cpp" line="172"/> <source>Usage: qmmp [options] [files]</source> <translation>Uso: qmmp [opciones] [archivos]</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="167"/> + <location filename="../qmmpstarter.cpp" line="173"/> <source>Options:</source> <translation>Opciones: </translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="169"/> + <location filename="../qmmpstarter.cpp" line="175"/> <source>Don't clear the playlist</source> <translation>No limpiar la lista de reproducción</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="173"/> + <location filename="../qmmpstarter.cpp" line="179"/> <source>Print version number and exit</source> <translation>Mostrar el número de versión y salir</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="174"/> + <location filename="../qmmpstarter.cpp" line="180"/> <source>Ideas, patches, bugreports send to forkotov02@hotmail.ru</source> <translation>Enviar ideas, parches, errores a: forkotov02@hotmail.ru</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="180"/> + <location filename="../qmmpstarter.cpp" line="186"/> <source>Qt version:</source> <translation>Versión de Qt:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="172"/> + <location filename="../qmmpstarter.cpp" line="178"/> <source>Display this text and exit</source> <translation>Muestra este texto y sale</translation> </message> @@ -1607,7 +1607,7 @@ <translation>Comando desconocido</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="179"/> + <location filename="../qmmpstarter.cpp" line="185"/> <source>QMMP version:</source> <translation>Versión de QMMP: </translation> </message> diff --git a/src/ui/translations/qmmp_hu.ts b/src/ui/translations/qmmp_hu.ts index 610b97663..b8d1b48a2 100644 --- a/src/ui/translations/qmmp_hu.ts +++ b/src/ui/translations/qmmp_hu.ts @@ -1572,42 +1572,42 @@ <translation>Ismeretlen parancs</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="166"/> + <location filename="../qmmpstarter.cpp" line="172"/> <source>Usage: qmmp [options] [files]</source> <translation>Használat: qmmp [opciók] [fájlok]</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="167"/> + <location filename="../qmmpstarter.cpp" line="173"/> <source>Options:</source> <translation>Opciók:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="169"/> + <location filename="../qmmpstarter.cpp" line="175"/> <source>Don't clear the playlist</source> <translation>Ne töröld a lejátszási listát</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="172"/> + <location filename="../qmmpstarter.cpp" line="178"/> <source>Display this text and exit</source> <translation>Mutasd ezt a szöveget, majd lépj ki</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="173"/> + <location filename="../qmmpstarter.cpp" line="179"/> <source>Print version number and exit</source> <translation>Mutasd a verziószámot, majd lépj ki</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="174"/> + <location filename="../qmmpstarter.cpp" line="180"/> <source>Ideas, patches, bugreports send to forkotov02@hotmail.ru</source> <translation>Ötleteket, foltokat, hibajelentéseket küld a forkotov02@hotmail.ru címre</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="179"/> + <location filename="../qmmpstarter.cpp" line="185"/> <source>QMMP version:</source> <translation>QMMP verzió:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="180"/> + <location filename="../qmmpstarter.cpp" line="186"/> <source>Qt version:</source> <translation>Qt verzió:</translation> </message> diff --git a/src/ui/translations/qmmp_it.ts b/src/ui/translations/qmmp_it.ts index 1ab789db0..6ee34b2ea 100644 --- a/src/ui/translations/qmmp_it.ts +++ b/src/ui/translations/qmmp_it.ts @@ -1567,37 +1567,37 @@ <context> <name>QMMPStarter</name> <message> - <location filename="../qmmpstarter.cpp" line="166"/> + <location filename="../qmmpstarter.cpp" line="172"/> <source>Usage: qmmp [options] [files]</source> <translation>Uso: qmmp [options] [fichiers]</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="167"/> + <location filename="../qmmpstarter.cpp" line="173"/> <source>Options:</source> <translation>Opzioni: </translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="169"/> + <location filename="../qmmpstarter.cpp" line="175"/> <source>Don't clear the playlist</source> <translation>Non ripulire la lista esecuzione</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="173"/> + <location filename="../qmmpstarter.cpp" line="179"/> <source>Print version number and exit</source> <translation>Stampa il numero di versione ed esci</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="174"/> + <location filename="../qmmpstarter.cpp" line="180"/> <source>Ideas, patches, bugreports send to forkotov02@hotmail.ru</source> <translation>Per idee, modifiche, segnalazione di errori scrivire a: forkotov02@hotmail.ru</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="180"/> + <location filename="../qmmpstarter.cpp" line="186"/> <source>Qt version:</source> <translation>Versione Qt:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="172"/> + <location filename="../qmmpstarter.cpp" line="178"/> <source>Display this text and exit</source> <translation>Mostra questo testo ed esci</translation> </message> @@ -1607,7 +1607,7 @@ <translation>Comando sconosciuto</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="179"/> + <location filename="../qmmpstarter.cpp" line="185"/> <source>QMMP version:</source> <translation>Versione di Qmmp: </translation> </message> diff --git a/src/ui/translations/qmmp_ja.ts b/src/ui/translations/qmmp_ja.ts index a1db9a711..c47acee78 100644 --- a/src/ui/translations/qmmp_ja.ts +++ b/src/ui/translations/qmmp_ja.ts @@ -1572,42 +1572,42 @@ <translation>不明なコマンドです</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="166"/> + <location filename="../qmmpstarter.cpp" line="172"/> <source>Usage: qmmp [options] [files]</source> <translation>使用法: qmmp [オプション] [ファイル名:複数可]</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="167"/> + <location filename="../qmmpstarter.cpp" line="173"/> <source>Options:</source> <translation>オプション:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="169"/> + <location filename="../qmmpstarter.cpp" line="175"/> <source>Don't clear the playlist</source> <translation>プレイリストをクリアしない</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="172"/> + <location filename="../qmmpstarter.cpp" line="178"/> <source>Display this text and exit</source> <translation>このメッセージを表示して終了</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="173"/> + <location filename="../qmmpstarter.cpp" line="179"/> <source>Print version number and exit</source> <translation>バージョン番号を表示して終了</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="174"/> + <location filename="../qmmpstarter.cpp" line="180"/> <source>Ideas, patches, bugreports send to forkotov02@hotmail.ru</source> <translation>名案, パッチ, バグ報告は forkotov02@hotmail.ru まで</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="179"/> + <location filename="../qmmpstarter.cpp" line="185"/> <source>QMMP version:</source> <translation>QMMP 版番号:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="180"/> + <location filename="../qmmpstarter.cpp" line="186"/> <source>Qt version:</source> <translation>Qt 版番号:</translation> </message> diff --git a/src/ui/translations/qmmp_lt.ts b/src/ui/translations/qmmp_lt.ts index 1d3b96755..8e33814af 100644 --- a/src/ui/translations/qmmp_lt.ts +++ b/src/ui/translations/qmmp_lt.ts @@ -1568,22 +1568,22 @@ <context> <name>QMMPStarter</name> <message> - <location filename="../qmmpstarter.cpp" line="166"/> + <location filename="../qmmpstarter.cpp" line="172"/> <source>Usage: qmmp [options] [files]</source> <translation>Naudojimas: qmmp [nuostatos] [bylos]</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="167"/> + <location filename="../qmmpstarter.cpp" line="173"/> <source>Options:</source> <translation>Nustatymai:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="173"/> + <location filename="../qmmpstarter.cpp" line="179"/> <source>Print version number and exit</source> <translation>Parodyti versiją ir išeiti</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="172"/> + <location filename="../qmmpstarter.cpp" line="178"/> <source>Display this text and exit</source> <translation>Parodyti šį tekstą ir išeiti</translation> </message> @@ -1593,22 +1593,22 @@ <translation>Nežinoma komanda</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="174"/> + <location filename="../qmmpstarter.cpp" line="180"/> <source>Ideas, patches, bugreports send to forkotov02@hotmail.ru</source> <translation>Idėjas, pataisymus, klaidas siųsti forkotov02@hotmail.ru</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="179"/> + <location filename="../qmmpstarter.cpp" line="185"/> <source>QMMP version:</source> <translation>QMMP versija:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="169"/> + <location filename="../qmmpstarter.cpp" line="175"/> <source>Don't clear the playlist</source> <translation>Neišvalyti sąrašo</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="180"/> + <location filename="../qmmpstarter.cpp" line="186"/> <source>Qt version:</source> <translation>Qt versija:</translation> </message> diff --git a/src/ui/translations/qmmp_nl.ts b/src/ui/translations/qmmp_nl.ts index 6eb40190f..306eb65ed 100644 --- a/src/ui/translations/qmmp_nl.ts +++ b/src/ui/translations/qmmp_nl.ts @@ -1567,27 +1567,27 @@ <context> <name>QMMPStarter</name> <message> - <location filename="../qmmpstarter.cpp" line="166"/> + <location filename="../qmmpstarter.cpp" line="172"/> <source>Usage: qmmp [options] [files]</source> <translation>Gebruik: qmmp [opties] [bestanden]</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="167"/> + <location filename="../qmmpstarter.cpp" line="173"/> <source>Options:</source> <translation>Opties:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="173"/> + <location filename="../qmmpstarter.cpp" line="179"/> <source>Print version number and exit</source> <translation>Print versienummer en sluit</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="174"/> + <location filename="../qmmpstarter.cpp" line="180"/> <source>Ideas, patches, bugreports send to forkotov02@hotmail.ru</source> <translation>Ideëen, patches, foutrapporten zenden naar forkotov02@hotmail.ru (anglicky)</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="172"/> + <location filename="../qmmpstarter.cpp" line="178"/> <source>Display this text and exit</source> <translation>Toon dit tekstje en sluit</translation> </message> @@ -1597,17 +1597,17 @@ <translation>Onbekend commando</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="179"/> + <location filename="../qmmpstarter.cpp" line="185"/> <source>QMMP version:</source> <translation>QMMP versie:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="169"/> + <location filename="../qmmpstarter.cpp" line="175"/> <source>Don't clear the playlist</source> <translation>Niet de afspellijst leeghalen</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="180"/> + <location filename="../qmmpstarter.cpp" line="186"/> <source>Qt version:</source> <translation>Qt versie:</translation> </message> diff --git a/src/ui/translations/qmmp_pl_PL.ts b/src/ui/translations/qmmp_pl_PL.ts index 97f3c9444..3137fa701 100644 --- a/src/ui/translations/qmmp_pl_PL.ts +++ b/src/ui/translations/qmmp_pl_PL.ts @@ -1567,27 +1567,27 @@ <context> <name>QMMPStarter</name> <message> - <location filename="../qmmpstarter.cpp" line="166"/> + <location filename="../qmmpstarter.cpp" line="172"/> <source>Usage: qmmp [options] [files]</source> <translation>Użycie: qmmp [opcje] [pliki]</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="167"/> + <location filename="../qmmpstarter.cpp" line="173"/> <source>Options:</source> <translation>Opcje:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="173"/> + <location filename="../qmmpstarter.cpp" line="179"/> <source>Print version number and exit</source> <translation>Wyświetla wersję programu i wychodzi</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="174"/> + <location filename="../qmmpstarter.cpp" line="180"/> <source>Ideas, patches, bugreports send to forkotov02@hotmail.ru</source> <translation>Pomysły, poprawki, raporty o błędach proszę wysyłać na forkotov02@hotmail.ru</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="172"/> + <location filename="../qmmpstarter.cpp" line="178"/> <source>Display this text and exit</source> <translation>Wyświetla ten tekst i wychodzi</translation> </message> @@ -1597,17 +1597,17 @@ <translation>Nieznane polecenie</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="179"/> + <location filename="../qmmpstarter.cpp" line="185"/> <source>QMMP version:</source> <translation>Wersja QMMP:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="169"/> + <location filename="../qmmpstarter.cpp" line="175"/> <source>Don't clear the playlist</source> <translation>Nie czyść listy</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="180"/> + <location filename="../qmmpstarter.cpp" line="186"/> <source>Qt version:</source> <translation>Wersja QT:</translation> </message> diff --git a/src/ui/translations/qmmp_pt_BR.ts b/src/ui/translations/qmmp_pt_BR.ts index ddbd31e82..4b71c7fb0 100644 --- a/src/ui/translations/qmmp_pt_BR.ts +++ b/src/ui/translations/qmmp_pt_BR.ts @@ -1567,27 +1567,27 @@ <context> <name>QMMPStarter</name> <message> - <location filename="../qmmpstarter.cpp" line="166"/> + <location filename="../qmmpstarter.cpp" line="172"/> <source>Usage: qmmp [options] [files]</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="167"/> + <location filename="../qmmpstarter.cpp" line="173"/> <source>Options:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="173"/> + <location filename="../qmmpstarter.cpp" line="179"/> <source>Print version number and exit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="174"/> + <location filename="../qmmpstarter.cpp" line="180"/> <source>Ideas, patches, bugreports send to forkotov02@hotmail.ru</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="172"/> + <location filename="../qmmpstarter.cpp" line="178"/> <source>Display this text and exit</source> <translation type="unfinished"></translation> </message> @@ -1597,17 +1597,17 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="179"/> + <location filename="../qmmpstarter.cpp" line="185"/> <source>QMMP version:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="169"/> + <location filename="../qmmpstarter.cpp" line="175"/> <source>Don't clear the playlist</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="180"/> + <location filename="../qmmpstarter.cpp" line="186"/> <source>Qt version:</source> <translation type="unfinished"></translation> </message> diff --git a/src/ui/translations/qmmp_ru.ts b/src/ui/translations/qmmp_ru.ts index 406616e98..db542b5d5 100644 --- a/src/ui/translations/qmmp_ru.ts +++ b/src/ui/translations/qmmp_ru.ts @@ -1567,27 +1567,27 @@ <context> <name>QMMPStarter</name> <message> - <location filename="../qmmpstarter.cpp" line="166"/> + <location filename="../qmmpstarter.cpp" line="172"/> <source>Usage: qmmp [options] [files]</source> <translation>Использование: qmmp [options] [files]</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="167"/> + <location filename="../qmmpstarter.cpp" line="173"/> <source>Options:</source> <translation>Опции:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="173"/> + <location filename="../qmmpstarter.cpp" line="179"/> <source>Print version number and exit</source> <translation>Показать версии и выйти</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="174"/> + <location filename="../qmmpstarter.cpp" line="180"/> <source>Ideas, patches, bugreports send to forkotov02@hotmail.ru</source> <translation>Идеи, исправления, отчёты об ошибках: forkotov02@hotmail.ru</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="172"/> + <location filename="../qmmpstarter.cpp" line="178"/> <source>Display this text and exit</source> <translation>Показать этот текст и выйти</translation> </message> @@ -1597,17 +1597,17 @@ <translation>Неизвестная команда</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="179"/> + <location filename="../qmmpstarter.cpp" line="185"/> <source>QMMP version:</source> <translation>Версия QMMP:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="169"/> + <location filename="../qmmpstarter.cpp" line="175"/> <source>Don't clear the playlist</source> <translation>Не очищать лист</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="180"/> + <location filename="../qmmpstarter.cpp" line="186"/> <source>Qt version:</source> <translation>Версия Qt:</translation> </message> diff --git a/src/ui/translations/qmmp_tr.ts b/src/ui/translations/qmmp_tr.ts index c1675a6d6..18c8a00e9 100644 --- a/src/ui/translations/qmmp_tr.ts +++ b/src/ui/translations/qmmp_tr.ts @@ -1567,27 +1567,27 @@ <context> <name>QMMPStarter</name> <message> - <location filename="../qmmpstarter.cpp" line="166"/> + <location filename="../qmmpstarter.cpp" line="172"/> <source>Usage: qmmp [options] [files]</source> <translation>Kullanım:qmmp [seçenek] [dosyalar]</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="167"/> + <location filename="../qmmpstarter.cpp" line="173"/> <source>Options:</source> <translation>Seçenekler:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="173"/> + <location filename="../qmmpstarter.cpp" line="179"/> <source>Print version number and exit</source> <translation>Sürüm numarasını yazdır ve çık</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="174"/> + <location filename="../qmmpstarter.cpp" line="180"/> <source>Ideas, patches, bugreports send to forkotov02@hotmail.ru</source> <translation>Fikirleinizi, yamalarınızı, hata raporlarınızı forkotov02@hotmail.ru adresine gönderin</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="172"/> + <location filename="../qmmpstarter.cpp" line="178"/> <source>Display this text and exit</source> <translation>Bu metni göster ve çık</translation> </message> @@ -1597,17 +1597,17 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="179"/> + <location filename="../qmmpstarter.cpp" line="185"/> <source>QMMP version:</source> <translation>QMMP sürümü:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="169"/> + <location filename="../qmmpstarter.cpp" line="175"/> <source>Don't clear the playlist</source> <translation>Çalma listesini temizleme</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="180"/> + <location filename="../qmmpstarter.cpp" line="186"/> <source>Qt version:</source> <translation>Qt sürümü:</translation> </message> diff --git a/src/ui/translations/qmmp_uk_UA.ts b/src/ui/translations/qmmp_uk_UA.ts index 4f8ed4a5b..cdc675a90 100644 --- a/src/ui/translations/qmmp_uk_UA.ts +++ b/src/ui/translations/qmmp_uk_UA.ts @@ -1567,27 +1567,27 @@ <context> <name>QMMPStarter</name> <message> - <location filename="../qmmpstarter.cpp" line="166"/> + <location filename="../qmmpstarter.cpp" line="172"/> <source>Usage: qmmp [options] [files]</source> <translation>Використання: qmmp [options] [files]</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="167"/> + <location filename="../qmmpstarter.cpp" line="173"/> <source>Options:</source> <translation>Опції:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="173"/> + <location filename="../qmmpstarter.cpp" line="179"/> <source>Print version number and exit</source> <translation>Показати версію та вийти</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="174"/> + <location filename="../qmmpstarter.cpp" line="180"/> <source>Ideas, patches, bugreports send to forkotov02@hotmail.ru</source> <translation>Ідеї, виправлення, звіти про помилки: forkotov02@hotmail.ru</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="172"/> + <location filename="../qmmpstarter.cpp" line="178"/> <source>Display this text and exit</source> <translation>Показати цей текст та вийти</translation> </message> @@ -1597,17 +1597,17 @@ <translation>Невідома команда</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="179"/> + <location filename="../qmmpstarter.cpp" line="185"/> <source>QMMP version:</source> <translation>Версія QMMP:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="169"/> + <location filename="../qmmpstarter.cpp" line="175"/> <source>Don't clear the playlist</source> <translation>Не очищати список</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="180"/> + <location filename="../qmmpstarter.cpp" line="186"/> <source>Qt version:</source> <translation>Версія Qt:</translation> </message> diff --git a/src/ui/translations/qmmp_zh_CN.ts b/src/ui/translations/qmmp_zh_CN.ts index 687ae441f..7c909a4b7 100644 --- a/src/ui/translations/qmmp_zh_CN.ts +++ b/src/ui/translations/qmmp_zh_CN.ts @@ -1567,27 +1567,27 @@ <context> <name>QMMPStarter</name> <message> - <location filename="../qmmpstarter.cpp" line="166"/> + <location filename="../qmmpstarter.cpp" line="172"/> <source>Usage: qmmp [options] [files]</source> <translation>使用:qmmp [设置] [文件]</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="167"/> + <location filename="../qmmpstarter.cpp" line="173"/> <source>Options:</source> <translation>设置:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="173"/> + <location filename="../qmmpstarter.cpp" line="179"/> <source>Print version number and exit</source> <translation>显示版本并退出</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="174"/> + <location filename="../qmmpstarter.cpp" line="180"/> <source>Ideas, patches, bugreports send to forkotov02@hotmail.ru</source> <translation>建议、补丁或提交 bug 请发送到 forkotov02@hotmail.ru</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="172"/> + <location filename="../qmmpstarter.cpp" line="178"/> <source>Display this text and exit</source> <translation>显示这些文本并退出</translation> </message> @@ -1597,17 +1597,17 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="179"/> + <location filename="../qmmpstarter.cpp" line="185"/> <source>QMMP version:</source> <translation>Qmmp 版本:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="169"/> + <location filename="../qmmpstarter.cpp" line="175"/> <source>Don't clear the playlist</source> <translation>不要清除这个播放列表</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="180"/> + <location filename="../qmmpstarter.cpp" line="186"/> <source>Qt version:</source> <translation>Qt 版本:</translation> </message> diff --git a/src/ui/translations/qmmp_zh_TW.ts b/src/ui/translations/qmmp_zh_TW.ts index ad77ae070..e30dbf90a 100644 --- a/src/ui/translations/qmmp_zh_TW.ts +++ b/src/ui/translations/qmmp_zh_TW.ts @@ -1567,27 +1567,27 @@ <context> <name>QMMPStarter</name> <message> - <location filename="../qmmpstarter.cpp" line="166"/> + <location filename="../qmmpstarter.cpp" line="172"/> <source>Usage: qmmp [options] [files]</source> <translation>使用:qmmp [設定] [檔案]</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="167"/> + <location filename="../qmmpstarter.cpp" line="173"/> <source>Options:</source> <translation>設定:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="173"/> + <location filename="../qmmpstarter.cpp" line="179"/> <source>Print version number and exit</source> <translation>察看版本並結束</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="174"/> + <location filename="../qmmpstarter.cpp" line="180"/> <source>Ideas, patches, bugreports send to forkotov02@hotmail.ru</source> <translation>建議、補丁或提交 bug 請傳送到 forkotov02@hotmail.ru</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="172"/> + <location filename="../qmmpstarter.cpp" line="178"/> <source>Display this text and exit</source> <translation>察看這些字檔並結束</translation> </message> @@ -1597,17 +1597,17 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="179"/> + <location filename="../qmmpstarter.cpp" line="185"/> <source>QMMP version:</source> <translation>Qmmp 版本:</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="169"/> + <location filename="../qmmpstarter.cpp" line="175"/> <source>Don't clear the playlist</source> <translation>不要清除這個播放清單</translation> </message> <message> - <location filename="../qmmpstarter.cpp" line="180"/> + <location filename="../qmmpstarter.cpp" line="186"/> <source>Qt version:</source> <translation>Qt 版本:</translation> </message> |
