aboutsummaryrefslogtreecommitdiff
path: root/src/qmmp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmp')
-rw-r--r--src/qmmp/CMakeLists.txt20
-rw-r--r--src/qmmp/abstractdetailsdialog.cpp163
-rw-r--r--src/qmmp/decoderfactory.h9
-rw-r--r--src/qmmp/forms/abstractdetailsdialog.ui372
-rw-r--r--src/qmmp/metadatamodel.cpp40
-rw-r--r--src/qmmp/metadatamodel.h40
-rw-r--r--src/qmmp/qmmp.pro28
-rw-r--r--src/qmmp/soundcore.cpp5
-rw-r--r--src/qmmp/tagmodel.cpp45
-rw-r--r--src/qmmp/tagmodel.h (renamed from src/qmmp/abstractdetailsdialog.h)55
-rw-r--r--src/qmmp/translations/libqmmp_cs.ts92
-rw-r--r--src/qmmp/translations/libqmmp_de.ts88
-rw-r--r--src/qmmp/translations/libqmmp_it.ts100
-rw-r--r--src/qmmp/translations/libqmmp_locales.qrc15
-rw-r--r--src/qmmp/translations/libqmmp_lt.ts88
-rw-r--r--src/qmmp/translations/libqmmp_pl.ts88
-rw-r--r--src/qmmp/translations/libqmmp_pl_PL.ts88
-rw-r--r--src/qmmp/translations/libqmmp_pt_BR.ts88
-rw-r--r--src/qmmp/translations/libqmmp_ru.ts88
-rw-r--r--src/qmmp/translations/libqmmp_tr.ts88
-rw-r--r--src/qmmp/translations/libqmmp_uk_UA.ts86
-rw-r--r--src/qmmp/translations/libqmmp_zh_CN.ts88
-rw-r--r--src/qmmp/translations/libqmmp_zh_TW.ts88
23 files changed, 161 insertions, 1701 deletions
diff --git a/src/qmmp/CMakeLists.txt b/src/qmmp/CMakeLists.txt
index e6a7823b0..6cee8ee22 100644
--- a/src/qmmp/CMakeLists.txt
+++ b/src/qmmp/CMakeLists.txt
@@ -52,8 +52,8 @@ SET(libqmmp_SRCS
qmmp.cpp
statehandler.cpp
volumecontrol.cpp
- abstractdetailsdialog.cpp
- coverwidget.cpp
+ metadatamodel.cpp
+ tagmodel.cpp
)
SET(libqmmp_MOC_HDRS
@@ -76,8 +76,8 @@ SET(libqmmp_MOC_HDRS
qmmp.h
statehandler.h
volumecontrol.h
- abstractdetailsdialog.h
- coverwidget.h
+ metadatamodel.h
+ tagmodel.h
)
SET(libqmmp_DEVEL_HDRS
@@ -96,23 +96,17 @@ SET(libqmmp_DEVEL_HDRS
visualfactory.h
visual.h
volumecontrol.h
- abstractdetailsdialog.h
-)
-
-SET(qmmp_UIS
- forms/abstractdetailsdialog.ui
+ metadatamodel.h
+ tagmodel.h
)
QT4_WRAP_CPP(libqmmp_MOC_SRCS ${libqmmp_MOC_HDRS})
-QT4_WRAP_UI(qmmp_UIS_H ${qmmp_UIS})
# Don't forget to include output directory, otherwise
# the UI file won't be wrapped!
include_directories(${CMAKE_CURRENT_BINARY_DIR})
-QT4_ADD_RESOURCES(libqmmpui_RCC_SRCS translations/libqmmp_locales.qrc)
-
-ADD_LIBRARY(libqmmp SHARED ${libqmmp_SRCS} ${libqmmp_MOC_SRCS} ${qmmp_UIS_H} ${libqmmpui_RCC_SRCS})
+ADD_LIBRARY(libqmmp SHARED ${libqmmp_SRCS} ${libqmmp_MOC_SRCS})
target_link_libraries(libqmmp ${QT_LIBRARIES} ${CURL_LDFLAGS} ${CURL_CFLAGS})
SET_TARGET_PROPERTIES(libqmmp PROPERTIES VERSION ${QMMP_VERSION} SOVERSION ${QMMP_SOVERSION} OUTPUT_NAME qmmp)
install(TARGETS libqmmp LIBRARY DESTINATION ${LIB_DIR}
diff --git a/src/qmmp/abstractdetailsdialog.cpp b/src/qmmp/abstractdetailsdialog.cpp
deleted file mode 100644
index 70bf07de3..000000000
--- a/src/qmmp/abstractdetailsdialog.cpp
+++ /dev/null
@@ -1,163 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2009 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 <QPushButton>
-#include <QFileInfo>
-#include <QDir>
-#include "decoder.h"
-#include "ui_abstractdetailsdialog.h"
-#include "abstractdetailsdialog.h"
-
-AbstractDetailsDialog::AbstractDetailsDialog(QWidget *parent)
- : QDialog(parent)
-{
- ui = new Ui::AbstractDetailsDialog();
- ui->setupUi(this);
- setAttribute(Qt::WA_DeleteOnClose);
- connect(ui->buttonBox, SIGNAL(clicked (QAbstractButton *)),SLOT(processButton(QAbstractButton *)));
-}
-
-AbstractDetailsDialog::~AbstractDetailsDialog()
-{
- delete ui;
-}
-
-void AbstractDetailsDialog::hideSaveButton(bool hide)
-{
- ui->buttonBox->button(QDialogButtonBox::Save)->setHidden(hide);
-}
-
-void AbstractDetailsDialog::blockSaveButton(bool block)
-{
- ui->buttonBox->button(QDialogButtonBox::Save)->setDisabled(block);
-}
-
-void AbstractDetailsDialog::setMetaData(Qmmp::MetaData key, const QString &value)
-{
- switch((int) key)
- {
- case Qmmp::TITLE:
- ui->titleLineEdit->setText(value);
- break;
- case Qmmp::ARTIST:
- ui->artistLineEdit->setText(value);
- break;
- case Qmmp::ALBUM:
- ui->albumLineEdit->setText(value);
- break;
- case Qmmp::COMMENT:
- ui->commentBrowser->setPlainText(value);
- break;
- case Qmmp::GENRE:
- ui->genreLineEdit->setText(value);
- break;
- case Qmmp::COMPOSER:
- return ui->composerLineEdit->setText(value);
- break;
- case Qmmp::YEAR:
- ui->yearSpinBox->setValue(value.toInt());
- break;
- case Qmmp::TRACK:
- ui->trackSpinBox->setValue(value.toInt());
- break;
- case Qmmp::DISCNUMBER:
- ui->discSpinBox->setValue(value.toInt());
- break;
- case Qmmp::URL:
- ui->pathLineEdit->setText(value);
- setWindowTitle (value.section('/',-1));
- QPixmap pix = Decoder::findCover(value);
- if(pix.isNull())
- ui->coverWidget->hide();
- else
- ui->coverWidget->setPixmap(pix);
- }
-}
-
-void AbstractDetailsDialog::writeTags()
-{
-
-}
-
-void AbstractDetailsDialog::setMetaData(Qmmp::MetaData key, int value)
-{
- setMetaData(key, QString("%1").arg(value));
-}
-
-void AbstractDetailsDialog::setAudioProperties(QMap <QString, QString> p)
-{
- QString formattedText;
- formattedText.append("<TABLE>");
- foreach(QString key, p.keys())
- {
- formattedText.append("<tr>");
- formattedText.append("<td>" + key + ":</td> <td style=\"padding-left: 5px; \"><b>"
- + p.value(key) + "</b></td>");
- formattedText.append("</tr>");
- }
- formattedText.append("</TABLE>");
- ui->propertiesLabel->setText(formattedText);
-}
-
-void AbstractDetailsDialog::processButton(QAbstractButton *button)
-{
- switch((int) ui->buttonBox->standardButton(button))
- {
- case QDialogButtonBox::Close:
- close();
- break;
- case QDialogButtonBox::Save:
- writeTags();
- break;
- }
-}
-
-const QString AbstractDetailsDialog::strMetaData(Qmmp::MetaData key)
-{
- switch((int) key)
- {
- case Qmmp::TITLE:
- return ui->titleLineEdit->text();
- case Qmmp::ARTIST:
- return ui->artistLineEdit->text();
- case Qmmp::ALBUM:
- return ui->albumLineEdit->text();
- case Qmmp::COMMENT:
- return ui->commentBrowser->toPlainText();
- case Qmmp::GENRE:
- return ui->genreLineEdit->text();
- case Qmmp::COMPOSER:
- return ui->composerLineEdit->text();
- case Qmmp::YEAR:
- return QString("%1").arg(ui->yearSpinBox->value());
- case Qmmp::TRACK:
- return QString("%1").arg(ui->trackSpinBox->value());
- case Qmmp::DISCNUMBER:
- return QString("%1").arg(ui->discSpinBox->value());
- case Qmmp::URL:
- return ui->pathLineEdit->text();
- }
- return QString();
-}
-
-int AbstractDetailsDialog::intMetaData(Qmmp::MetaData key)
-{
- return strMetaData(key).toInt();
-}
diff --git a/src/qmmp/decoderfactory.h b/src/qmmp/decoderfactory.h
index f96057e97..155c1f6fb 100644
--- a/src/qmmp/decoderfactory.h
+++ b/src/qmmp/decoderfactory.h
@@ -30,6 +30,7 @@ class QTranslator;
class Decoder;
class Output;
class FileInfo;
+class MetaDataModel;
/*! @brief Helper class to store input plugin properies.
* @author Ilya Kotov <forkotov02@hotmail.ru>
@@ -98,12 +99,12 @@ public:
*/
virtual QList<FileInfo *> createPlayList(const QString &fileName, bool useMetaData) = 0;
/*!
- * Shows details dialog.
- * @param parent Parent widget.
+ * Creats metadata object, which provides full access to file tags.
* @param path File path.
- * @return Dialog pointer.
+ * @param parent Parent object.
+ * @return MetaDataModel pointer.
*/
- virtual QObject* showDetails(QWidget *parent, const QString &path) = 0;
+ virtual MetaDataModel* createMetaDataModel(const QString &path, QObject *parent = 0) = 0;
/*!
* Shows settings dialog.
* @param parent Parent widget.
diff --git a/src/qmmp/forms/abstractdetailsdialog.ui b/src/qmmp/forms/abstractdetailsdialog.ui
deleted file mode 100644
index 39bf65528..000000000
--- a/src/qmmp/forms/abstractdetailsdialog.ui
+++ /dev/null
@@ -1,372 +0,0 @@
-<ui version="4.0" >
- <class>AbstractDetailsDialog</class>
- <widget class="QDialog" name="AbstractDetailsDialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>630</width>
- <height>383</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Details</string>
- </property>
- <layout class="QGridLayout" name="gridLayout" >
- <property name="leftMargin" >
- <number>6</number>
- </property>
- <property name="rightMargin" >
- <number>6</number>
- </property>
- <property name="bottomMargin" >
- <number>6</number>
- </property>
- <item row="0" column="0" colspan="3" >
- <widget class="QLineEdit" name="pathLineEdit" >
- <property name="readOnly" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item rowspan="2" row="1" column="0" >
- <layout class="QVBoxLayout" name="verticalLayout_2" >
- <item>
- <widget class="CoverWidget" native="1" name="coverWidget" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize" >
- <size>
- <width>110</width>
- <height>110</height>
- </size>
- </property>
- <property name="maximumSize" >
- <size>
- <width>110</width>
- <height>110</height>
- </size>
- </property>
- <property name="Visible" stdset="0" >
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_2" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize" >
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- <property name="title" >
- <string>Audio Properties</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout" >
- <item>
- <widget class="QLabel" name="propertiesLabel" >
- <property name="text" >
- <string>-</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </item>
- <item row="1" column="1" colspan="2" >
- <widget class="QGroupBox" name="tagGroupBox" >
- <property name="title" >
- <string>Metadata</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_2" >
- <item row="0" column="0" >
- <widget class="QLabel" name="label_47" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>Title:</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="0" column="1" >
- <widget class="QLineEdit" name="titleLineEdit" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QLabel" name="label_43" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>Artist:</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="1" column="1" >
- <widget class="QLineEdit" name="artistLineEdit" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </item>
- <item row="2" column="0" >
- <widget class="QLabel" name="label_45" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>Album:</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="2" column="1" >
- <widget class="QLineEdit" name="albumLineEdit" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string/>
- </property>
- </widget>
- </item>
- <item row="3" column="0" >
- <widget class="QLabel" name="label_8" >
- <property name="text" >
- <string>Composer:</string>
- </property>
- </widget>
- </item>
- <item row="3" column="1" >
- <widget class="QLineEdit" name="composerLineEdit" />
- </item>
- <item row="4" column="0" >
- <widget class="QLabel" name="label_46" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>Genre:</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="4" column="1" >
- <layout class="QHBoxLayout" name="horizontalLayout" >
- <item>
- <widget class="QLineEdit" name="genreLineEdit" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_11" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>Disc number:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="discSpinBox" >
- <property name="specialValueText" >
- <string>?</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="5" column="0" >
- <widget class="QLabel" name="label_42" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>Track:</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="5" column="1" >
- <layout class="QHBoxLayout" name="horizontalLayout_2" >
- <item>
- <widget class="QSpinBox" name="trackSpinBox" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="specialValueText" >
- <string>?</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_44" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>Year:</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="yearSpinBox" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="specialValueText" >
- <string>?</string>
- </property>
- <property name="suffix" >
- <string/>
- </property>
- <property name="maximum" >
- <number>2012</number>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="6" column="0" >
- <widget class="QLabel" name="label_48" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>Comment:</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="6" column="1" >
- <widget class="QTextBrowser" name="commentBrowser" >
- <property name="readOnly" >
- <bool>false</bool>
- </property>
- <property name="html" >
- <string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
-&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
-p, li { white-space: pre-wrap; }
-&lt;/style>&lt;/head>&lt;body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal;">
-&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;">&lt;/p>&lt;/body>&lt;/html></string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="2" column="1" >
- <spacer name="horizontalSpacer" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>192</width>
- <height>23</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="2" column="2" >
- <widget class="QDialogButtonBox" name="buttonBox" >
- <property name="standardButtons" >
- <set>QDialogButtonBox::Close|QDialogButtonBox::Save</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <customwidgets>
- <customwidget>
- <class>CoverWidget</class>
- <extends>QWidget</extends>
- <header>coverwidget.h</header>
- <container>1</container>
- </customwidget>
- </customwidgets>
- <resources/>
- <connections/>
-</ui>
diff --git a/src/qmmp/metadatamodel.cpp b/src/qmmp/metadatamodel.cpp
new file mode 100644
index 000000000..799928baa
--- /dev/null
+++ b/src/qmmp/metadatamodel.cpp
@@ -0,0 +1,40 @@
+/***************************************************************************
+ * Copyright (C) 2009 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 "metadatamodel.h"
+
+MetaDataModel::MetaDataModel(QObject *parent) : QObject(parent)
+{
+}
+
+MetaDataModel::~MetaDataModel()
+{
+
+}
+
+QHash<QString, QString> MetaDataModel::audioProperties()
+{
+ return QHash<QString, QString> ();
+}
+
+QList<TagModel* > MetaDataModel::tags()
+{
+ return QList<TagModel* > ();
+}
diff --git a/src/qmmp/metadatamodel.h b/src/qmmp/metadatamodel.h
new file mode 100644
index 000000000..f758c8ba3
--- /dev/null
+++ b/src/qmmp/metadatamodel.h
@@ -0,0 +1,40 @@
+/***************************************************************************
+ * Copyright (C) 2009 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 METADATAMODEL_H
+#define METADATAMODEL_H
+
+#include <QHash>
+#include <QList>
+#include <QString>
+#include <QObject>
+#include "tagmodel.h"
+
+class MetaDataModel : public QObject
+{
+Q_OBJECT
+public:
+ MetaDataModel(QObject *parent = 0);
+ virtual ~MetaDataModel();
+ virtual QHash<QString, QString> audioProperties();
+ virtual QList<TagModel* > tags();
+};
+
+#endif // METADATAMODEL_H
diff --git a/src/qmmp/qmmp.pro b/src/qmmp/qmmp.pro
index efaa6ce43..1c80f602f 100644
--- a/src/qmmp/qmmp.pro
+++ b/src/qmmp/qmmp.pro
@@ -21,7 +21,8 @@ HEADERS += recycler.h \
fileinfo.h \
volumecontrol.h \
coverwidget.h \
- abstractdetailsdialog.h
+ metadatamodel.h \
+ tagmodel.h
SOURCES += recycler.cpp \
decoder.cpp \
output.cpp \
@@ -38,8 +39,9 @@ SOURCES += recycler.cpp \
fileinfo.cpp \
volumecontrol.cpp \
coverwidget.cpp \
- abstractdetailsdialog.cpp
-FORMS += forms/abstractdetailsdialog.ui
+ metadatamodel.cpp \
+ tagmodel.cpp
+FORMS +=
unix:TARGET = ../../lib/qmmp
win32:TARGET = ../../../bin/qmmp
CONFIG += release \
@@ -56,27 +58,12 @@ unix:isEmpty(LIB_DIR):LIB_DIR = /lib
unix:DEFINES += LIB_DIR=\\\"$$LIB_DIR\\\"
DEFINES += QMMP_VERSION=$$QMMP_VERSION
DEFINES += QMMP_STR_VERSION=\\\"$$QMMP_VERSION\\\"
-contains(CONFIG, SVN_VERSION) {
+contains(CONFIG, SVN_VERSION) {
unix:DEFINES += SVN_REVISION=\\\"$$system(./svn_revision.sh)\\\"
win32:DEFINES += SVN_REVISION=\\\"svn\\\"
}
-TRANSLATIONS = translations/libqmmp_ru.ts \
- translations/libqmmp_tr.ts \
- translations/libqmmp_zh_CN.ts \
- translations/libqmmp_cs.ts \
- translations/libqmmp_pt_BR.ts \
- translations/libqmmp_uk_UA.ts \
- translations/libqmmp_zh_TW.ts \
- translations/libqmmp_de.ts \
- translations/libqmmp_pl_PL.ts \
- translations/libqmmp_it.ts \
- translations/libqmmp_lt.ts \
- translations/libqmmp_pl.ts
-
-RESOURCES += translations/libqmmp_locales.qrc
-
-unix {
+unix {
target.path = $$LIB_DIR
devel.files += buffer.h \
decoderfactory.h \
@@ -99,5 +86,4 @@ unix {
devel
DESTDIR = .
}
-
INCLUDEPATH += ./
diff --git a/src/qmmp/soundcore.cpp b/src/qmmp/soundcore.cpp
index 3c7ce7e79..44dbac11f 100644
--- a/src/qmmp/soundcore.cpp
+++ b/src/qmmp/soundcore.cpp
@@ -23,7 +23,6 @@
#include <QApplication>
#include <QSettings>
#include <QDir>
-#include <QTranslator>
#include "decoderfactory.h"
#include "streamreader.h"
@@ -64,10 +63,6 @@ SoundCore::SoundCore(QObject *parent)
connect(m_handler, SIGNAL(aboutToFinish()), SIGNAL(aboutToFinish()));
m_volumeControl = VolumeControl::create(this);
connect(m_volumeControl, SIGNAL(volumeChanged(int, int)), SIGNAL(volumeChanged(int, int)));
- //install translation
- QTranslator *translator = new QTranslator(parent);
- translator->load(QString(":/libqmmp_") + Qmmp::systemLanguageID());
- qApp->installTranslator(translator);
}
diff --git a/src/qmmp/tagmodel.cpp b/src/qmmp/tagmodel.cpp
new file mode 100644
index 000000000..d789d21e7
--- /dev/null
+++ b/src/qmmp/tagmodel.cpp
@@ -0,0 +1,45 @@
+/***************************************************************************
+ * Copyright (C) 2009 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 "tagmodel.h"
+
+TagModel::TagModel()
+{
+}
+
+void TagModel::setValue(Qmmp::MetaData key, int value)
+{
+ setValue(key, QString::number(value));
+}
+
+QList<Qmmp::MetaData> TagModel::keys()
+{
+ QList<Qmmp::MetaData> list;
+ list << Qmmp::TITLE;
+ list << Qmmp::ARTIST;
+ list << Qmmp::ALBUM;
+ list << Qmmp::COMMENT;
+ list << Qmmp::GENRE;
+ list << Qmmp::COMPOSER;
+ list << Qmmp::YEAR;
+ list << Qmmp::TRACK;
+ list << Qmmp::DISCNUMBER;
+ return list;
+}
diff --git a/src/qmmp/abstractdetailsdialog.h b/src/qmmp/tagmodel.h
index 77b3375f3..d3b513877 100644
--- a/src/qmmp/abstractdetailsdialog.h
+++ b/src/qmmp/tagmodel.h
@@ -17,49 +17,28 @@
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
-#ifndef ABSTRACTDETAILSDIALOG_H
-#define ABSTRACTDETAILSDIALOG_H
-#include <QDialog>
-#include <QMap>
+#ifndef TAGMODEL_H
+#define TAGMODEL_H
+#include <QString>
+#include <QList>
#include "qmmp.h"
-/**
- @author Ilya Kotov <forkotov02@hotmail.ru>
-*/
-
-namespace Ui
-{
- class AbstractDetailsDialog;
-}
-class QAbstractButton;
-
-class AbstractDetailsDialog : public QDialog
+class TagModel
{
- Q_OBJECT
public:
- AbstractDetailsDialog(QWidget *parent = 0);
-
- ~AbstractDetailsDialog();
-
- void hideSaveButton(bool hide = TRUE);
- void blockSaveButton(bool block = TRUE);
-
-protected:
- virtual void writeTags();
-
- void setMetaData(Qmmp::MetaData key, const QString &value);
- void setMetaData(Qmmp::MetaData key, int value);
- void setAudioProperties(QMap <QString, QString> p);
- const QString strMetaData(Qmmp::MetaData key);
- int intMetaData(Qmmp::MetaData key);
-
-private slots:
- void processButton(QAbstractButton *);
-
-private:
- Ui::AbstractDetailsDialog *ui;
+ TagModel();
+
+ virtual const QString name() = 0;
+ virtual QList<Qmmp::MetaData> keys();
+ virtual const QString value(Qmmp::MetaData key) = 0;
+ virtual void setValue(Qmmp::MetaData key, const QString &value) = 0;
+ virtual void setValue(Qmmp::MetaData key, int value);
+ virtual bool exists() = 0;
+ virtual void create() = 0;
+ virtual void remove() = 0;
+ virtual void save() = 0;
};
-#endif
+#endif // TAGMODEL_H
diff --git a/src/qmmp/translations/libqmmp_cs.ts b/src/qmmp/translations/libqmmp_cs.ts
deleted file mode 100644
index 99710dca4..000000000
--- a/src/qmmp/translations/libqmmp_cs.ts
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="cs">
-<context>
- <name>AbstractDetailsDialog</name>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="13"/>
- <source>Details</source>
- <translation>Podrobnosti</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="95"/>
- <source>Metadata</source>
- <translation>Metadata</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="107"/>
- <source>Title:</source>
- <translation>Název:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="133"/>
- <source>Artist:</source>
- <translation>Umělec:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="159"/>
- <source>Album:</source>
- <translation>Album:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="226"/>
- <source>Disc number:</source>
- <translation>Číslo disku:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="329"/>
- <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Arial&apos;; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Arial&apos;; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="182"/>
- <source>Composer:</source>
- <translation>Skladatel:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="198"/>
- <source>Genre:</source>
- <translation>Žánr:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="233"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="266"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="295"/>
- <source>?</source>
- <translation>?</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="248"/>
- <source>Track:</source>
- <translation>Stopa:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="279"/>
- <source>Year:</source>
- <translation>Rok:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="316"/>
- <source>Comment:</source>
- <translation>Komentář:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="74"/>
- <source>Audio Properties</source>
- <translation>Vlastnosti</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="80"/>
- <source>-</source>
- <translation>-</translation>
- </message>
-</context>
-</TS>
diff --git a/src/qmmp/translations/libqmmp_de.ts b/src/qmmp/translations/libqmmp_de.ts
deleted file mode 100644
index 537554453..000000000
--- a/src/qmmp/translations/libqmmp_de.ts
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="de">
-<context>
- <name>AbstractDetailsDialog</name>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="13"/>
- <source>Details</source>
- <translation>Details</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="95"/>
- <source>Metadata</source>
- <translation type="unfinished">Metadaten</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="107"/>
- <source>Title:</source>
- <translation>Titel:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="133"/>
- <source>Artist:</source>
- <translation>Interpret:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="159"/>
- <source>Album:</source>
- <translation>Album:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="226"/>
- <source>Disc number:</source>
- <translation>CD-Nummer:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="329"/>
- <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Arial&apos;; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="182"/>
- <source>Composer:</source>
- <translation>Komponist:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="198"/>
- <source>Genre:</source>
- <translation>Genre:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="233"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="266"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="295"/>
- <source>?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="248"/>
- <source>Track:</source>
- <translation>Stück:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="279"/>
- <source>Year:</source>
- <translation>Jahr:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="316"/>
- <source>Comment:</source>
- <translation>Kommentar:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="74"/>
- <source>Audio Properties</source>
- <translation>Audio-Eigenschaften</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="80"/>
- <source>-</source>
- <translation>-</translation>
- </message>
-</context>
-</TS>
diff --git a/src/qmmp/translations/libqmmp_it.ts b/src/qmmp/translations/libqmmp_it.ts
deleted file mode 100644
index d3c3706fd..000000000
--- a/src/qmmp/translations/libqmmp_it.ts
+++ /dev/null
@@ -1,100 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="it">
-<context>
- <name>AbstractDetailsDialog</name>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="13"/>
- <source>Details</source>
- <translation>Dettagli</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="74"/>
- <source>Audio Properties</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="95"/>
- <source>Metadata</source>
- <translation>Metadata</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="107"/>
- <source>Title:</source>
- <translation>Titolo:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="133"/>
- <source>Artist:</source>
- <translation>Interprete:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="159"/>
- <source>Album:</source>
- <translation>Album:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="226"/>
- <source>Disc number:</source>
- <translation>Disco numero</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="329"/>
- <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Arial&apos;; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="182"/>
- <source>Composer:</source>
- <translation>Compositore</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="198"/>
- <source>Genre:</source>
- <translation>Genere:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="233"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="266"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="295"/>
- <source>?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="248"/>
- <source>Track:</source>
- <translation>Traccia</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="279"/>
- <source>Year:</source>
- <translation>Anno:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="316"/>
- <source>Comment:</source>
- <translation>Commento:</translation>
- </message>
- <message>
- <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Arial&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="obsolete">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Arial&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="80"/>
- <source>-</source>
- <translation>-</translation>
- </message>
-</context>
-</TS>
diff --git a/src/qmmp/translations/libqmmp_locales.qrc b/src/qmmp/translations/libqmmp_locales.qrc
deleted file mode 100644
index 51e96efc1..000000000
--- a/src/qmmp/translations/libqmmp_locales.qrc
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE RCC>
-<RCC version="1.0">
- <qresource>
- <file>libqmmp_it.qm</file>
- <file>libqmmp_ru.qm</file>
- <file>libqmmp_uk_UA.qm</file>
- <file>libqmmp_zh_CN.qm</file>
- <file>libqmmp_zh_TW.qm</file>
- <file>libqmmp_cs.qm</file>
- <file>libqmmp_pl.qm</file>
- <file>libqmmp_de.qm</file>
- <file>libqmmp_tr.qm</file>
- <file>libqmmp_lt.qm</file>
- </qresource>
-</RCC>
diff --git a/src/qmmp/translations/libqmmp_lt.ts b/src/qmmp/translations/libqmmp_lt.ts
deleted file mode 100644
index 8b1f6bf7c..000000000
--- a/src/qmmp/translations/libqmmp_lt.ts
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="lt">
-<context>
- <name>AbstractDetailsDialog</name>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="13"/>
- <source>Details</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="95"/>
- <source>Metadata</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="107"/>
- <source>Title:</source>
- <translation type="unfinished">Pavadinimas:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="133"/>
- <source>Artist:</source>
- <translation type="unfinished">Atlikėjas:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="159"/>
- <source>Album:</source>
- <translation type="unfinished">Albumas:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="226"/>
- <source>Disc number:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="329"/>
- <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Arial&apos;; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="182"/>
- <source>Composer:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="198"/>
- <source>Genre:</source>
- <translation type="unfinished">Žanras:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="233"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="266"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="295"/>
- <source>?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="248"/>
- <source>Track:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="279"/>
- <source>Year:</source>
- <translation type="unfinished">Metai:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="316"/>
- <source>Comment:</source>
- <translation type="unfinished">Komentaras:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="74"/>
- <source>Audio Properties</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="80"/>
- <source>-</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/src/qmmp/translations/libqmmp_pl.ts b/src/qmmp/translations/libqmmp_pl.ts
deleted file mode 100644
index 4af57c1fe..000000000
--- a/src/qmmp/translations/libqmmp_pl.ts
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="pl">
-<context>
- <name>AbstractDetailsDialog</name>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="13"/>
- <source>Details</source>
- <translation>Informacje o pliku</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="95"/>
- <source>Metadata</source>
- <translation>Metadane</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="107"/>
- <source>Title:</source>
- <translation>Tytuł:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="133"/>
- <source>Artist:</source>
- <translation>Artysta:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="159"/>
- <source>Album:</source>
- <translation>Album:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="226"/>
- <source>Disc number:</source>
- <translation>Numer płyty:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="329"/>
- <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Arial&apos;; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="182"/>
- <source>Composer:</source>
- <translation>Kompozytor:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="198"/>
- <source>Genre:</source>
- <translation>Gatunek:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="233"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="266"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="295"/>
- <source>?</source>
- <translation></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="248"/>
- <source>Track:</source>
- <translation>Ścieżka:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="279"/>
- <source>Year:</source>
- <translation>Rok:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="316"/>
- <source>Comment:</source>
- <translation>Komentarz:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="74"/>
- <source>Audio Properties</source>
- <translation>Dane Audio</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="80"/>
- <source>-</source>
- <translation></translation>
- </message>
-</context>
-</TS>
diff --git a/src/qmmp/translations/libqmmp_pl_PL.ts b/src/qmmp/translations/libqmmp_pl_PL.ts
deleted file mode 100644
index 149d2f10a..000000000
--- a/src/qmmp/translations/libqmmp_pl_PL.ts
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
- <name>AbstractDetailsDialog</name>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="13"/>
- <source>Details</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="95"/>
- <source>Metadata</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="107"/>
- <source>Title:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="133"/>
- <source>Artist:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="159"/>
- <source>Album:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="226"/>
- <source>Disc number:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="329"/>
- <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Arial&apos;; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="182"/>
- <source>Composer:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="198"/>
- <source>Genre:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="233"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="266"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="295"/>
- <source>?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="248"/>
- <source>Track:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="279"/>
- <source>Year:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="316"/>
- <source>Comment:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="74"/>
- <source>Audio Properties</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="80"/>
- <source>-</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/src/qmmp/translations/libqmmp_pt_BR.ts b/src/qmmp/translations/libqmmp_pt_BR.ts
deleted file mode 100644
index 149d2f10a..000000000
--- a/src/qmmp/translations/libqmmp_pt_BR.ts
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
- <name>AbstractDetailsDialog</name>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="13"/>
- <source>Details</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="95"/>
- <source>Metadata</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="107"/>
- <source>Title:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="133"/>
- <source>Artist:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="159"/>
- <source>Album:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="226"/>
- <source>Disc number:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="329"/>
- <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Arial&apos;; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="182"/>
- <source>Composer:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="198"/>
- <source>Genre:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="233"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="266"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="295"/>
- <source>?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="248"/>
- <source>Track:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="279"/>
- <source>Year:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="316"/>
- <source>Comment:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="74"/>
- <source>Audio Properties</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="80"/>
- <source>-</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/src/qmmp/translations/libqmmp_ru.ts b/src/qmmp/translations/libqmmp_ru.ts
deleted file mode 100644
index 74c454c54..000000000
--- a/src/qmmp/translations/libqmmp_ru.ts
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="ru">
-<context>
- <name>AbstractDetailsDialog</name>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="13"/>
- <source>Details</source>
- <translation>Информация</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="95"/>
- <source>Metadata</source>
- <translation>Метаинформация</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="107"/>
- <source>Title:</source>
- <translation>Название:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="133"/>
- <source>Artist:</source>
- <translation>Исполнитель:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="159"/>
- <source>Album:</source>
- <translation>Альбом:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="226"/>
- <source>Disc number:</source>
- <translation>Номер диска:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="329"/>
- <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Arial&apos;; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="182"/>
- <source>Composer:</source>
- <translation>Композитор:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="198"/>
- <source>Genre:</source>
- <translation>Жанр:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="233"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="266"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="295"/>
- <source>?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="248"/>
- <source>Track:</source>
- <translation>Трек:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="279"/>
- <source>Year:</source>
- <translation>Год:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="316"/>
- <source>Comment:</source>
- <translation>Комментарий:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="74"/>
- <source>Audio Properties</source>
- <translation>Свойства аудио</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="80"/>
- <source>-</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/src/qmmp/translations/libqmmp_tr.ts b/src/qmmp/translations/libqmmp_tr.ts
deleted file mode 100644
index f8e6f8bdd..000000000
--- a/src/qmmp/translations/libqmmp_tr.ts
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="tr_TR">
-<context>
- <name>AbstractDetailsDialog</name>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="13"/>
- <source>Details</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="95"/>
- <source>Metadata</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="107"/>
- <source>Title:</source>
- <translation type="unfinished">Başlık:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="133"/>
- <source>Artist:</source>
- <translation type="unfinished">Artist:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="159"/>
- <source>Album:</source>
- <translation type="unfinished">Albüm:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="226"/>
- <source>Disc number:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="329"/>
- <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Arial&apos;; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="182"/>
- <source>Composer:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="198"/>
- <source>Genre:</source>
- <translation type="unfinished">Tür:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="233"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="266"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="295"/>
- <source>?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="248"/>
- <source>Track:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="279"/>
- <source>Year:</source>
- <translation type="unfinished">Yıl:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="316"/>
- <source>Comment:</source>
- <translation type="unfinished">Yorum:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="74"/>
- <source>Audio Properties</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="80"/>
- <source>-</source>
- <translation type="unfinished">-</translation>
- </message>
-</context>
-</TS>
diff --git a/src/qmmp/translations/libqmmp_uk_UA.ts b/src/qmmp/translations/libqmmp_uk_UA.ts
deleted file mode 100644
index 3f00cf8b7..000000000
--- a/src/qmmp/translations/libqmmp_uk_UA.ts
+++ /dev/null
@@ -1,86 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1" language="uk">
-<defaultcodec></defaultcodec>
-<context>
- <name>AbstractDetailsDialog</name>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="13"/>
- <source>Details</source>
- <translation>Інформація</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="95"/>
- <source>Metadata</source>
- <translation>Метадані</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="107"/>
- <source>Title:</source>
- <translation>Назва:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="133"/>
- <source>Artist:</source>
- <translation>Виконавець:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="159"/>
- <source>Album:</source>
- <translation>Альбом:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="226"/>
- <source>Disc number:</source>
- <translation>Номер диску:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="329"/>
- <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Arial&apos;; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="182"/>
- <source>Composer:</source>
- <translation>Композитор:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="198"/>
- <source>Genre:</source>
- <translation>Жанр:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="295"/>
- <source>?</source>
- <translation></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="248"/>
- <source>Track:</source>
- <translation>Трек:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="279"/>
- <source>Year:</source>
- <translation>Рік:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="316"/>
- <source>Comment:</source>
- <translation>Коментар:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="74"/>
- <source>Audio Properties</source>
- <translation>Властивості аудіо</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="80"/>
- <source>-</source>
- <translation></translation>
- </message>
-</context>
-</TS>
diff --git a/src/qmmp/translations/libqmmp_zh_CN.ts b/src/qmmp/translations/libqmmp_zh_CN.ts
deleted file mode 100644
index 1e40b7db8..000000000
--- a/src/qmmp/translations/libqmmp_zh_CN.ts
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="zh_CN">
-<context>
- <name>AbstractDetailsDialog</name>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="13"/>
- <source>Details</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="95"/>
- <source>Metadata</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="107"/>
- <source>Title:</source>
- <translation type="unfinished">标题:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="133"/>
- <source>Artist:</source>
- <translation type="unfinished">艺术家:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="159"/>
- <source>Album:</source>
- <translation type="unfinished">专辑:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="226"/>
- <source>Disc number:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="329"/>
- <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Arial&apos;; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="182"/>
- <source>Composer:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="198"/>
- <source>Genre:</source>
- <translation type="unfinished">流派:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="233"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="266"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="295"/>
- <source>?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="248"/>
- <source>Track:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="279"/>
- <source>Year:</source>
- <translation type="unfinished">年代:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="316"/>
- <source>Comment:</source>
- <translation type="unfinished">备注:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="74"/>
- <source>Audio Properties</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="80"/>
- <source>-</source>
- <translation type="unfinished">-</translation>
- </message>
-</context>
-</TS>
diff --git a/src/qmmp/translations/libqmmp_zh_TW.ts b/src/qmmp/translations/libqmmp_zh_TW.ts
deleted file mode 100644
index db150ca71..000000000
--- a/src/qmmp/translations/libqmmp_zh_TW.ts
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="zh_TW">
-<context>
- <name>AbstractDetailsDialog</name>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="13"/>
- <source>Details</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="95"/>
- <source>Metadata</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="107"/>
- <source>Title:</source>
- <translation type="unfinished">標題:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="133"/>
- <source>Artist:</source>
- <translation type="unfinished">藝術家:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="159"/>
- <source>Album:</source>
- <translation type="unfinished">專輯:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="226"/>
- <source>Disc number:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="329"/>
- <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Arial&apos;; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="182"/>
- <source>Composer:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="198"/>
- <source>Genre:</source>
- <translation type="unfinished">流派:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="233"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="266"/>
- <location filename="../forms/abstractdetailsdialog.ui" line="295"/>
- <source>?</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="248"/>
- <source>Track:</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="279"/>
- <source>Year:</source>
- <translation type="unfinished">年代:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="316"/>
- <source>Comment:</source>
- <translation type="unfinished">備註:</translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="74"/>
- <source>Audio Properties</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../forms/abstractdetailsdialog.ui" line="80"/>
- <source>-</source>
- <translation type="unfinished">-</translation>
- </message>
-</context>
-</TS>