From 61cfbabecf27c4fe636e00aea57d8b2a9c6e634a Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 5 Oct 2011 18:04:59 +0000 Subject: converter: added default presets, fixed some bugs git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2379 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/converter/CMakeLists.txt | 2 +- src/plugins/General/converter/converter.cpp | 2 +- src/plugins/General/converter/converter.pro | 2 +- src/plugins/General/converter/converterdialog.cpp | 107 +++++++++++++++------ src/plugins/General/converter/converterdialog.h | 3 + src/plugins/General/converter/converterdialog.ui | 2 +- src/plugins/General/converter/converterhelper.cpp | 4 +- src/plugins/General/converter/preseteditor.cpp | 10 +- src/plugins/General/converter/preseteditor.h | 3 +- src/plugins/General/converter/presets.conf | 36 +++++++ src/plugins/General/converter/presets.qrc | 6 ++ .../converter/translations/converter_plugin_cs.ts | 38 ++++---- .../converter/translations/converter_plugin_de.ts | 40 ++++---- .../converter/translations/converter_plugin_es.ts | 38 ++++---- .../converter/translations/converter_plugin_it.ts | 38 ++++---- .../converter/translations/converter_plugin_ja.ts | 38 ++++---- .../converter/translations/converter_plugin_lt.ts | 38 ++++---- .../converter/translations/converter_plugin_nl.ts | 38 ++++---- .../converter/translations/converter_plugin_pl.ts | 38 ++++---- .../converter/translations/converter_plugin_ru.ts | 38 ++++---- .../converter/translations/converter_plugin_tr.ts | 38 ++++---- .../translations/converter_plugin_uk_UA.ts | 40 ++++---- .../translations/converter_plugin_zh_CN.ts | 38 ++++---- .../translations/converter_plugin_zh_TW.ts | 38 ++++---- 24 files changed, 384 insertions(+), 291 deletions(-) create mode 100644 src/plugins/General/converter/presets.conf create mode 100644 src/plugins/General/converter/presets.qrc (limited to 'src/plugins/General/converter') diff --git a/src/plugins/General/converter/CMakeLists.txt b/src/plugins/General/converter/CMakeLists.txt index e3f28412c..e16e90c62 100644 --- a/src/plugins/General/converter/CMakeLists.txt +++ b/src/plugins/General/converter/CMakeLists.txt @@ -44,7 +44,7 @@ SET(libconverter_MOC_HDRS ) SET(libconverter_RCCS - translations/translations.qrc) + translations/translations.qrc presets.qrc) QT4_ADD_RESOURCES(libconverter_RCC_SRCS ${libconverter_RCCS}) diff --git a/src/plugins/General/converter/converter.cpp b/src/plugins/General/converter/converter.cpp index dac064102..68746ff2f 100644 --- a/src/plugins/General/converter/converter.cpp +++ b/src/plugins/General/converter/converter.cpp @@ -50,7 +50,7 @@ void Converter::add(const QString &url) if(source->ioDevice()) { - if(source->ioDevice()->open(QIODevice::ReadOnly)) + if(!source->ioDevice()->open(QIODevice::ReadOnly)) { source->deleteLater(); qWarning("Converter: cannot open input stream, error: %s", diff --git a/src/plugins/General/converter/converter.pro b/src/plugins/General/converter/converter.pro index e9b2f8db3..c9588d508 100644 --- a/src/plugins/General/converter/converter.pro +++ b/src/plugins/General/converter/converter.pro @@ -29,7 +29,7 @@ TRANSLATIONS = translations/converter_plugin_cs.ts \ translations/converter_plugin_nl.ts \ translations/converter_plugin_ja.ts \ translations/converter_plugin_es.ts -RESOURCES = translations/translations.qrc +RESOURCES = translations/translations.qrc presets.qrc unix{ isEmpty(LIB_DIR){ LIB_DIR = /lib diff --git a/src/plugins/General/converter/converterdialog.cpp b/src/plugins/General/converter/converterdialog.cpp index 125d7e035..8a54a1885 100644 --- a/src/plugins/General/converter/converterdialog.cpp +++ b/src/plugins/General/converter/converterdialog.cpp @@ -21,6 +21,8 @@ #include #include #include +#include +#include #include #include #include @@ -48,8 +50,14 @@ ConverterDialog::ConverterDialog(QList items, QWidget *parent) ui.outFileEdit->setText(settings.value("file_name","%p - %t").toString()); settings.endGroup(); createMenus(); - readPresets(":/default_converter_preset"); - readPresets(QDir::homePath() + "/.qmmp/converterrc"); + + readPresets(":/converter/presets.conf"); + readPresets(QDir::homePath() + "/.qmmp/converter/presets.conf"); +} + +ConverterDialog::~ConverterDialog() +{ + savePresets(); } QStringList ConverterDialog::selectedUrls() const @@ -79,7 +87,7 @@ void ConverterDialog::accept() settings.value("file_name", ui.outFileEdit->text()); settings.endGroup(); - QSettings preset_settings(QDir::homePath() + "/.qmmp/converterrc", QSettings::IniFormat); + /*QSettings preset_settings(QDir::homePath() + "/.qmmp/converterrc", QSettings::IniFormat); preset_settings.clear(); for(int i = 0; i < ui.presetComboBox->count(); ++i) { @@ -93,7 +101,7 @@ void ConverterDialog::accept() preset_settings.setValue("use_16bit", data["use_16bit"].toBool()); preset_settings.setValue("tags", data["tags"].toBool()); preset_settings.endGroup(); - } + }*/ QDialog::accept(); } @@ -136,13 +144,13 @@ void ConverterDialog::addTitleString(QAction *a) void ConverterDialog::createPreset() { - PresetEditor *editor = new PresetEditor(QString(), QVariantMap(), this); + PresetEditor *editor = new PresetEditor(QVariantMap(), this); if(editor->exec() == QDialog::Accepted) { - QString name = uniqueName(editor->name()); QVariantMap data = editor->data(); - if(!name.isEmpty() && data["ext"].isValid() && data["command"].isValid()) - ui.presetComboBox->addItem (name, data); + data["name"] = uniqueName(data["name"].toString()); + if(data["name"].isValid() && data["ext"].isValid() && data["command"].isValid()) + ui.presetComboBox->addItem (data["name"].toString(), data); } editor->deleteLater(); } @@ -154,15 +162,15 @@ void ConverterDialog::editPreset() int index = ui.presetComboBox->currentIndex(); if(ui.presetComboBox->itemData(index).toMap()["read_only"].toBool()) return; - PresetEditor *editor = new PresetEditor(ui.presetComboBox->currentText(), - ui.presetComboBox->itemData(index).toMap(), this); + PresetEditor *editor = new PresetEditor(ui.presetComboBox->itemData(index).toMap(), this); if(editor->exec() == QDialog::Accepted) { - QString name = uniqueName(editor->name()); QVariantMap data = editor->data(); - if(!name.isEmpty() && data["ext"].isValid() && data["command"].isValid()) + if(ui.presetComboBox->currentText() != data["name"].toString()) + data["name"] = uniqueName(data["name"].toString()); + if(data["name"].isValid() && data["ext"].isValid() && data["command"].isValid()) { - ui.presetComboBox->setItemText(index, name); + ui.presetComboBox->setItemText(index, data["name"].toString()); ui.presetComboBox->setItemData(index, data); } } @@ -174,9 +182,9 @@ void ConverterDialog::copyPreset() if(ui.presetComboBox->currentIndex() == -1) return; int index = ui.presetComboBox->currentIndex(); - QString name = ui.presetComboBox->currentText(); - QVariant data = ui.presetComboBox->itemData(index); - ui.presetComboBox->addItem (uniqueName(name), data); + QVariantMap data = ui.presetComboBox->itemData(index).toMap(); + data["name"] = uniqueName(data["name"].toString()); + ui.presetComboBox->addItem (data["name"].toString(), data); } void ConverterDialog::deletePreset() @@ -190,18 +198,63 @@ void ConverterDialog::deletePreset() void ConverterDialog::readPresets(const QString &path) { - QSettings settings(path, QSettings::IniFormat); - foreach(QString group_name, settings.childGroups()) + QFile file(path); + if(!file.open(QIODevice::ReadOnly)) + return; + + QList dataList; + while(!file.atEnd()) { - settings.beginGroup(group_name); - QVariantMap data; - data.insert("ext", settings.value("ext").toString()); - data.insert("command", settings.value("command").toString()); - data.insert("use_16bit", settings.value("use_16bit").toBool()); - data.insert("tags", settings.value("tags").toBool()); - data.insert("read_only", path.startsWith(":/")); - ui.presetComboBox->addItem (group_name, data); - settings.endGroup(); + QString line = QString::fromUtf8(file.readLine().trimmed()); + if(!line.contains("=")) + continue; + QString key = line.split("=").at(0); + QString value = line.split("=").at(1); + if(key == "name") + dataList.append(QVariantMap()); + if(dataList.isEmpty()) + continue; + if(key == "use_16bit" && key == "tags") //boolean keys + dataList.last()[key] = (value == "true"); + else + dataList.last()[key] = value; + } + + foreach(QVariantMap data, dataList) + { + data["read_only"] = path.startsWith(":/"); + QString title = data["name"].toString(); + if(data["read_only"].toBool()) + title += " *" ; + ui.presetComboBox->addItem (title, data); + } +} + +void ConverterDialog::savePresets() +{ + QDir dir(QDir::homePath() + "/.qmmp/"); + dir.mkdir("converter"); + + QFile file(QDir::homePath() + "/.qmmp/converter/presets.conf"); + if(!file.open(QIODevice::WriteOnly | QIODevice::Truncate)) + { + qWarning("ConverterDialog: unable to save presets; error %s", qPrintable(file.errorString())); + return; + } + + for(int i = 0; i < ui.presetComboBox->count(); ++i) + { + QVariantMap data = ui.presetComboBox->itemData(i).toMap(); + if(data["read_only"].toBool()) + continue; + file.write(QString("%1=%2\n").arg("name").arg(data["name"].toString()).toUtf8()); + file.write(QString("%1=%2\n").arg("ext").arg(data["ext"].toString()).toUtf8()); + file.write(QString("%1=%2\n").arg("command").arg(data["command"].toString()).toUtf8()); + file.write(QString("%1=%2\n").arg("use_16bit") + .arg(data["use_16bit"].toBool() ? "true" : "false" ).toUtf8()); + file.write(QString("%1=%2\n").arg("tags") + .arg(data["tags"].toBool() ? "true" : "false" ).toUtf8()); + file.write("\n"); } } diff --git a/src/plugins/General/converter/converterdialog.h b/src/plugins/General/converter/converterdialog.h index b3349618d..acb223b11 100644 --- a/src/plugins/General/converter/converterdialog.h +++ b/src/plugins/General/converter/converterdialog.h @@ -37,6 +37,8 @@ class ConverterDialog : public QDialog Q_OBJECT public: explicit ConverterDialog(QList items, QWidget *parent = 0); + virtual ~ConverterDialog(); + QStringList selectedUrls() const; public slots: @@ -53,6 +55,7 @@ private slots: private: void createMenus(); void readPresets(const QString &path); + void savePresets(); QString uniqueName(const QString &name); Ui::ConverterDialog ui; diff --git a/src/plugins/General/converter/converterdialog.ui b/src/plugins/General/converter/converterdialog.ui index 83fca3478..4762e5753 100644 --- a/src/plugins/General/converter/converterdialog.ui +++ b/src/plugins/General/converter/converterdialog.ui @@ -26,7 +26,7 @@ - Select files to convert: + Select tracks to convert: diff --git a/src/plugins/General/converter/converterhelper.cpp b/src/plugins/General/converter/converterhelper.cpp index 66f3895c7..2bde69119 100644 --- a/src/plugins/General/converter/converterhelper.cpp +++ b/src/plugins/General/converter/converterhelper.cpp @@ -37,7 +37,7 @@ ConverterHelper::ConverterHelper(QObject *parent) : QObject(parent) UiHelper::instance()->addAction(m_action, UiHelper::PLAYLIST_MENU); connect (m_action, SIGNAL(triggered ()), SLOT(openConverter())); m_converter = new Converter(this); - m_progress = new QProgressDialog(qApp->activeWindow()); + m_progress = new QProgressDialog(); m_progress->setRange(0,100); m_progress->setWindowTitle(tr("Converting...")); m_progress->setCancelButtonText(tr("Cancel")); @@ -59,7 +59,7 @@ void ConverterHelper::openConverter() return; ConverterDialog *d = new ConverterDialog(items, qApp->activeWindow ()); - if(QDialog::Accepted == d->exec()) + if(d->exec() == QDialog::Accepted) { QStringList urls = d->selectedUrls(); m_converter->add(urls); diff --git a/src/plugins/General/converter/preseteditor.cpp b/src/plugins/General/converter/preseteditor.cpp index 4a1865d92..e1e75e217 100644 --- a/src/plugins/General/converter/preseteditor.cpp +++ b/src/plugins/General/converter/preseteditor.cpp @@ -21,11 +21,11 @@ #include "preseteditor.h" #include "ui_preseteditor.h" -PresetEditor::PresetEditor(const QString &name, const QVariantMap &data, QWidget *parent) : +PresetEditor::PresetEditor(const QVariantMap &data, QWidget *parent) : QDialog(parent), m_ui(new Ui::PresetEditor) { m_ui->setupUi(this); - m_ui->nameLineEdit->setText(name); + m_ui->nameLineEdit->setText(data.value("name").toString()); m_ui->extensionLineEdit->setText(data.value("ext").toString()); m_ui->commandLineEdit->setText(data.value("command").toString()); m_ui->us16bitCheckBox->setChecked(data.value("use_16bit").toBool()); @@ -37,14 +37,10 @@ PresetEditor::~PresetEditor() delete m_ui; } -const QString PresetEditor::name() const -{ - return m_ui->nameLineEdit->text(); -} - const QVariantMap PresetEditor::data() const { QVariantMap data; + data.insert("name", m_ui->nameLineEdit->text()); data.insert("ext", m_ui->extensionLineEdit->text()); data.insert("command", m_ui->commandLineEdit->text()); data.insert("use_16bit", m_ui->us16bitCheckBox->isChecked()); diff --git a/src/plugins/General/converter/preseteditor.h b/src/plugins/General/converter/preseteditor.h index 07bf2087f..babf2a028 100644 --- a/src/plugins/General/converter/preseteditor.h +++ b/src/plugins/General/converter/preseteditor.h @@ -36,10 +36,9 @@ class PresetEditor : public QDialog Q_OBJECT public: - explicit PresetEditor(const QString &name, const QVariantMap &data, QWidget *parent = 0); + explicit PresetEditor(const QVariantMap &data, QWidget *parent = 0); virtual ~PresetEditor(); - const QString name() const; const QVariantMap data() const; private: diff --git a/src/plugins/General/converter/presets.conf b/src/plugins/General/converter/presets.conf new file mode 100644 index 000000000..5b2ebb03e --- /dev/null +++ b/src/plugins/General/converter/presets.conf @@ -0,0 +1,36 @@ +name=Ogg Vorbis (oggenc) +ext=ogg +command=oggenc -q 5 -o %o - +use_16bit=true +tags=true + +name=MPEG layer 3, 320 kB/s (lame) +ext=mp3 +command=lame --preset cbr 320 - %o +use_16bit=true +tags=true + +name=MPEG layer 3, 192 kB/s (lame) +ext=mp3 +command=lame -V2 - %o +use_16bit=true +tags=true + +name=MPEG layer 3, 128 kB/s (lame) +ext=mp3 +command=lame --preset cbr 128 - %o +use_16bit=true +tags=true + +name=WavPack +ext=wv +command=wavpack -i - -o %o +use_16bit=false +tags=true + +name=FLAC +ext=flac +command=flac -o %o -5 - +use_16bit=false +tags=true + diff --git a/src/plugins/General/converter/presets.qrc b/src/plugins/General/converter/presets.qrc new file mode 100644 index 000000000..a534d4b1f --- /dev/null +++ b/src/plugins/General/converter/presets.qrc @@ -0,0 +1,6 @@ + + + + presets.conf + + diff --git a/src/plugins/General/converter/translations/converter_plugin_cs.ts b/src/plugins/General/converter/translations/converter_plugin_cs.ts index fb56778ba..4faa2ef56 100644 --- a/src/plugins/General/converter/translations/converter_plugin_cs.ts +++ b/src/plugins/General/converter/translations/converter_plugin_cs.ts @@ -10,7 +10,7 @@ - Select files to convert: + Select tracks to convert: @@ -41,92 +41,92 @@ - + Choose a directory Vyberte adresář - + Artist Umělec - + Album Album - + Title Název - + Track number Číslo stopy - + Two-digit track number Dvoumístné číslo stopy - + Genre Žánr - + Comment Poznámka - + Composer Skladatel - + Duration Délka - + Disc number Číslo disku - + File name Název souboru - + Create a copy - + Year Rok - + Condition Stav - + Create - + Edit - + Delete diff --git a/src/plugins/General/converter/translations/converter_plugin_de.ts b/src/plugins/General/converter/translations/converter_plugin_de.ts index 87c1313ac..75137bfab 100644 --- a/src/plugins/General/converter/translations/converter_plugin_de.ts +++ b/src/plugins/General/converter/translations/converter_plugin_de.ts @@ -10,8 +10,8 @@ - Select files to convert: - Wählen Sie die zu konvertierenden Dateien aus: + Select tracks to convert: + @@ -41,92 +41,92 @@ - + Choose a directory Ein Verzeichnis wählen - + Artist Interpret - + Album Album - + Title Titel - + Track number Stücknummer - + Two-digit track number Zweistellige Stücknummer - + Genre Genre - + Comment Kommentar - + Composer Komponist - + Duration Abspieldauer - + Disc number CD-Nummer - + File name Dateiname - + Create a copy - + Year Jahr - + Condition Zustand - + Create - + Edit - + Delete diff --git a/src/plugins/General/converter/translations/converter_plugin_es.ts b/src/plugins/General/converter/translations/converter_plugin_es.ts index 61e8e8d47..8ba2870c6 100644 --- a/src/plugins/General/converter/translations/converter_plugin_es.ts +++ b/src/plugins/General/converter/translations/converter_plugin_es.ts @@ -10,7 +10,7 @@ - Select files to convert: + Select tracks to convert: @@ -41,92 +41,92 @@ ... - + Choose a directory Elija un directorio - + Artist Intérprete - + Album Album - + Title Título - + Track number Número de pista - + Two-digit track number Número de pista con dos cifras - + Genre Género - + Comment Comentario - + Composer Compositor - + Duration Duración - + Disc number Número de disco - + File name Nombre del archivo - + Create a copy - + Year Año - + Condition Condición - + Create - + Edit - + Delete diff --git a/src/plugins/General/converter/translations/converter_plugin_it.ts b/src/plugins/General/converter/translations/converter_plugin_it.ts index 63a268d92..1d1657b90 100644 --- a/src/plugins/General/converter/translations/converter_plugin_it.ts +++ b/src/plugins/General/converter/translations/converter_plugin_it.ts @@ -10,7 +10,7 @@ - Select files to convert: + Select tracks to convert: @@ -41,92 +41,92 @@ ... - + Choose a directory Scegli una cartella - + Artist Interprete - + Album Album - + Title Titolo - + Track number Numero traccia - + Two-digit track number Numero traccia su due cifre - + Genre Genere - + Comment Commento - + Composer Compositore - + Duration Durata - + Disc number Disco num. - + File name Nome documento - + Create a copy - + Year Anno - + Condition PErcorso documento - + Create - + Edit - + Delete diff --git a/src/plugins/General/converter/translations/converter_plugin_ja.ts b/src/plugins/General/converter/translations/converter_plugin_ja.ts index 4f2dea30d..a5175541f 100644 --- a/src/plugins/General/converter/translations/converter_plugin_ja.ts +++ b/src/plugins/General/converter/translations/converter_plugin_ja.ts @@ -10,7 +10,7 @@ - Select files to convert: + Select tracks to convert: @@ -41,92 +41,92 @@ ... - + Choose a directory ディレクトリを選択 - + Artist アーティスト - + Album アルバム - + Title タイトル - + Track number トラック番号 - + Two-digit track number トラック番号 数字2桁 - + Genre ジャンル - + Comment コメント - + Composer 作曲者 - + Duration 演奏時間 - + Disc number ディスク番号 - + File name ファイル名 - + Create a copy - + Year - + Condition 定番 - + Create - + Edit - + Delete diff --git a/src/plugins/General/converter/translations/converter_plugin_lt.ts b/src/plugins/General/converter/translations/converter_plugin_lt.ts index d86b5a50d..bc19ff4af 100644 --- a/src/plugins/General/converter/translations/converter_plugin_lt.ts +++ b/src/plugins/General/converter/translations/converter_plugin_lt.ts @@ -10,7 +10,7 @@ - Select files to convert: + Select tracks to convert: @@ -41,92 +41,92 @@ ... - + Choose a directory Pasirinkite aplanką - + Artist Atlikėjas - + Album Albumas - + Title Pavadinimas - + Track number Takelio numeris - + Two-digit track number Dviejų skaitmenų takelio numeris - + Genre Žanras - + Comment Komentaras - + Composer Autorius - + Duration Trukmė - + Disc number Disko numeris - + File name Bylos pavadinimas - + Create a copy - + Year Metai - + Condition Būklė - + Create - + Edit - + Delete diff --git a/src/plugins/General/converter/translations/converter_plugin_nl.ts b/src/plugins/General/converter/translations/converter_plugin_nl.ts index d552167b0..38619ca4f 100644 --- a/src/plugins/General/converter/translations/converter_plugin_nl.ts +++ b/src/plugins/General/converter/translations/converter_plugin_nl.ts @@ -10,7 +10,7 @@ - Select files to convert: + Select tracks to convert: @@ -41,92 +41,92 @@ - + Choose a directory Kies een map - + Artist Artiest - + Album Album - + Title Naam - + Track number Liednummer - + Two-digit track number Twee-getal liednummer - + Genre Genre - + Comment Commentaar - + Composer Componist - + Duration Duur - + Disc number CD nummer - + File name Bestandsnaam - + Create a copy - + Year Jaar - + Condition Staat - + Create - + Edit - + Delete diff --git a/src/plugins/General/converter/translations/converter_plugin_pl.ts b/src/plugins/General/converter/translations/converter_plugin_pl.ts index e640ac5be..f655a5589 100644 --- a/src/plugins/General/converter/translations/converter_plugin_pl.ts +++ b/src/plugins/General/converter/translations/converter_plugin_pl.ts @@ -10,7 +10,7 @@ - Select files to convert: + Select tracks to convert: @@ -41,92 +41,92 @@ - + Choose a directory Wybierz katalog - + Artist Artysta - + Album Album - + Title Tytuł - + Track number Numer utworu - + Two-digit track number Dwucyfrowy numer utworu - + Genre Gatunek - + Comment Komentarz - + Composer Kompozytor - + Duration Długość - + Disc number Numer płyty - + File name Nazwa pliku - + Create a copy - + Year Rok - + Condition Warunek - + Create - + Edit - + Delete diff --git a/src/plugins/General/converter/translations/converter_plugin_ru.ts b/src/plugins/General/converter/translations/converter_plugin_ru.ts index 0e020838f..4b0c9212e 100644 --- a/src/plugins/General/converter/translations/converter_plugin_ru.ts +++ b/src/plugins/General/converter/translations/converter_plugin_ru.ts @@ -10,7 +10,7 @@ - Select files to convert: + Select tracks to convert: @@ -41,92 +41,92 @@ ... - + Choose a directory Выберите директорию - + Artist Исполнитель - + Album Альбом - + Title Название - + Track number Номер трека - + Two-digit track number 2-х разрядный номер трека - + Genre Жанр - + Comment Комментарий - + Composer Композитор - + Duration Длительность - + Disc number Номер диска - + File name Имя файла - + Create a copy - + Year Год - + Condition Условие - + Create - + Edit - + Delete diff --git a/src/plugins/General/converter/translations/converter_plugin_tr.ts b/src/plugins/General/converter/translations/converter_plugin_tr.ts index da59e23a5..f54926c27 100644 --- a/src/plugins/General/converter/translations/converter_plugin_tr.ts +++ b/src/plugins/General/converter/translations/converter_plugin_tr.ts @@ -10,7 +10,7 @@ - Select files to convert: + Select tracks to convert: @@ -41,92 +41,92 @@ ... - + Choose a directory Dizin seç - + Artist - + Album - + Title - + Track number - + Two-digit track number - + Genre - + Comment Yorum - + Composer - + Duration - + Disc number - + File name - + Create a copy - + Year Yıl - + Condition - + Create - + Edit - + Delete diff --git a/src/plugins/General/converter/translations/converter_plugin_uk_UA.ts b/src/plugins/General/converter/translations/converter_plugin_uk_UA.ts index 174c2f748..2f3048e06 100644 --- a/src/plugins/General/converter/translations/converter_plugin_uk_UA.ts +++ b/src/plugins/General/converter/translations/converter_plugin_uk_UA.ts @@ -10,8 +10,8 @@ - Select files to convert: - Виберіть файли для конвертування: + Select tracks to convert: + @@ -41,92 +41,92 @@ - + Choose a directory Виберіть теку - + Artist Виконавець - + Album Альбом - + Title Назва - + Track number Номер трека - + Two-digit track number 2-розрядний номер трека - + Genre Жанр - + Comment Коментар - + Composer Композитор - + Duration Тривалість - + Disc number Номер диска - + File name Ім'я файла - + Create a copy - + Year Рік - + Condition Умова - + Create Створити - + Edit Редагувати - + Delete Видалити diff --git a/src/plugins/General/converter/translations/converter_plugin_zh_CN.ts b/src/plugins/General/converter/translations/converter_plugin_zh_CN.ts index 505d6eac7..c7e6269e8 100644 --- a/src/plugins/General/converter/translations/converter_plugin_zh_CN.ts +++ b/src/plugins/General/converter/translations/converter_plugin_zh_CN.ts @@ -10,7 +10,7 @@ - Select files to convert: + Select tracks to convert: @@ -41,92 +41,92 @@ ... - + Choose a directory 选择一个目录 - + Artist 艺术家 - + Album 专辑 - + Title 标题 - + Track number 音轨编号 - + Two-digit track number 两位数音轨编号 - + Genre 流派 - + Comment 备注 - + Composer 作曲 - + Duration 持续时间 - + Disc number 光盘编号 - + File name 文件名 - + Create a copy - + Year 年代 - + Condition 条件 - + Create - + Edit - + Delete diff --git a/src/plugins/General/converter/translations/converter_plugin_zh_TW.ts b/src/plugins/General/converter/translations/converter_plugin_zh_TW.ts index db26b8472..8c52466bf 100644 --- a/src/plugins/General/converter/translations/converter_plugin_zh_TW.ts +++ b/src/plugins/General/converter/translations/converter_plugin_zh_TW.ts @@ -10,7 +10,7 @@ - Select files to convert: + Select tracks to convert: @@ -41,92 +41,92 @@ ... - + Choose a directory 選取一個目錄 - + Artist 藝術家 - + Album 專輯 - + Title 標題 - + Track number 音軌編號 - + Two-digit track number 兩位數音軌編號 - + Genre 流派 - + Comment 備註 - + Composer 作曲 - + Duration 持續時間 - + Disc number 光槃編號 - + File name 文件名 - + Create a copy - + Year 年代 - + Condition 條件 - + Create - + Edit - + Delete -- cgit v1.2.3-13-gbd6f