diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-09-10 12:04:51 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-09-10 12:04:51 +0000 |
| commit | 7586a65427862831590a963b5f8f9d2712271ca0 (patch) | |
| tree | f08c46e911f61aba4a54afc2aee64c9b0ec61d23 /src/qmmpui | |
| parent | fd6e0ed378bf00b8616f4d054c0c41f1156dd078 (diff) | |
| download | qmmp-7586a65427862831590a963b5f8f9d2712271ca0.tar.gz qmmp-7586a65427862831590a963b5f8f9d2712271ca0.tar.bz2 qmmp-7586a65427862831590a963b5f8f9d2712271ca0.zip | |
added new details dialog, disabled input plugins due api changes
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1194 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui')
| -rw-r--r-- | src/qmmpui/CMakeLists.txt | 15 | ||||
| -rw-r--r-- | src/qmmpui/detailsdialog.cpp | 128 | ||||
| -rw-r--r-- | src/qmmpui/detailsdialog.h | 58 | ||||
| -rw-r--r-- | src/qmmpui/detailsdialog.ui | 85 | ||||
| -rw-r--r-- | src/qmmpui/playlistmodel.cpp | 18 | ||||
| -rw-r--r-- | src/qmmpui/qmmpui.pro | 148 | ||||
| -rw-r--r-- | src/qmmpui/tageditor.cpp | 83 | ||||
| -rw-r--r-- | src/qmmpui/tageditor.h | 48 | ||||
| -rw-r--r-- | src/qmmpui/tageditor.ui | 313 | ||||
| -rw-r--r-- | src/qmmpui/translations/libqmmpui_cs.ts | 157 | ||||
| -rw-r--r-- | src/qmmpui/translations/libqmmpui_de.ts | 160 | ||||
| -rw-r--r-- | src/qmmpui/translations/libqmmpui_it.ts | 160 | ||||
| -rw-r--r-- | src/qmmpui/translations/libqmmpui_lt.ts | 160 | ||||
| -rw-r--r-- | src/qmmpui/translations/libqmmpui_pl.ts | 160 | ||||
| -rw-r--r-- | src/qmmpui/translations/libqmmpui_pt_BR.ts | 160 | ||||
| -rw-r--r-- | src/qmmpui/translations/libqmmpui_ru.ts | 161 | ||||
| -rw-r--r-- | src/qmmpui/translations/libqmmpui_tr.ts | 160 | ||||
| -rw-r--r-- | src/qmmpui/translations/libqmmpui_uk_UA.ts | 160 | ||||
| -rw-r--r-- | src/qmmpui/translations/libqmmpui_zh_CN.ts | 160 | ||||
| -rw-r--r-- | src/qmmpui/translations/libqmmpui_zh_TW.ts | 160 |
20 files changed, 2466 insertions, 188 deletions
diff --git a/src/qmmpui/CMakeLists.txt b/src/qmmpui/CMakeLists.txt index 5ff90bbcc..af54b4145 100644 --- a/src/qmmpui/CMakeLists.txt +++ b/src/qmmpui/CMakeLists.txt @@ -36,6 +36,8 @@ SET(libqmmpui_SRCS playlistitem.cpp mediaplayer.cpp playlistsettings.cpp + detailsdialog.cpp + tageditor.cpp ) SET(libqmmpui_MOC_HDRS @@ -56,6 +58,8 @@ SET(libqmmpui_MOC_HDRS playlistitem.h mediaplayer.h playlistsettings.h + detailsdialog.h + tageditor.h ) SET(libqmmpui_DEVEL_HDRS @@ -72,16 +76,25 @@ SET(libqmmpui_DEVEL_HDRS playlistitem.h playlistmodel.h playlistparser.h + detailsdialog.h + tageditor.h ) +SET(libqmmpui_UIS + detailsdialog.ui + tageditor.ui +) + +QT4_WRAP_UI(libqmmpui_UIS_H ${libqmmpui_UIS}) + QT4_ADD_RESOURCES(libqmmpui_RCC_SRCS translations/libqmmpui_locales.qrc) QT4_WRAP_CPP(libqmmpui_MOC_SRCS ${libqmmpui_MOC_HDRS}) include_directories(${CMAKE_CURRENT_BINARY_DIR}) -ADD_LIBRARY(qmmpui SHARED ${libqmmpui_SRCS} ${libqmmpui_MOC_SRCS} ${libqmmpui_RCC_SRCS}) +ADD_LIBRARY(qmmpui SHARED ${libqmmpui_SRCS} ${libqmmpui_MOC_SRCS} ${libqmmpui_RCC_SRCS} ${libqmmpui_UIS_H}) target_link_libraries(qmmpui ${QT_LIBRARIES} -lqmmp) add_dependencies(qmmpui libqmmp) SET_TARGET_PROPERTIES(qmmpui PROPERTIES VERSION ${QMMP_VERSION} SOVERSION ${QMMP_SOVERSION}) diff --git a/src/qmmpui/detailsdialog.cpp b/src/qmmpui/detailsdialog.cpp new file mode 100644 index 000000000..11d4a49a6 --- /dev/null +++ b/src/qmmpui/detailsdialog.cpp @@ -0,0 +1,128 @@ +/*************************************************************************** + * 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 <QTextCodec> +#include <QSettings> +#include <QDir> +#include <QFile> +#include <QFileInfo> + +#include <qmmp/decoder.h> +#include <qmmp/decoderfactory.h> +#include <qmmp/metadatamodel.h> +#include <qmmp/tagmodel.h> +#include "abstractplaylistitem.h" +#include "tageditor.h" +#include "detailsdialog.h" + +DetailsDialog::DetailsDialog(AbstractPlaylistItem *item, QWidget *parent) + : QDialog(parent) +{ + setAttribute(Qt::WA_QuitOnClose, FALSE); + setAttribute(Qt::WA_DeleteOnClose, FALSE); + m_metaDataModel = 0; + ui.setupUi(this); + setAttribute(Qt::WA_DeleteOnClose); + m_path = item->url(); + setWindowTitle (m_path.section('/',-1)); + ui.pathEdit->setText(m_path); + + DecoderFactory *fact = Decoder::findByPath(item->url()); + if(fact) + m_metaDataModel = fact->createMetaDataModel(item->url(), this); + else + return; + + printInfo(); + + foreach(TagModel *tagModel, m_metaDataModel->tags()) + { + ui.tabWidget->addTab(new TagEditor(tagModel, this), tagModel->name()); + } +} + +DetailsDialog::~DetailsDialog() +{} + +void DetailsDialog::printInfo() +{ + QList <FileInfo *> flist = Decoder::createPlayList(m_path, TRUE); + QMap <Qmmp::MetaData, QString> metaData; + if(!flist.isEmpty()) + metaData = flist.at(0)->metaData(); + /*else + TODO use metadata from playlist item*/ + QString formattedText; + formattedText.append("<TABLE>"); + //tags + formattedText += formatRow(tr("Title"), metaData[Qmmp::TITLE]); + formattedText += formatRow(tr("Artist"), metaData[Qmmp::ARTIST]); + formattedText += formatRow(tr("Album"), metaData[Qmmp::ALBUM]); + formattedText += formatRow(tr("Comment"), metaData[Qmmp::COMMENT]); + formattedText += formatRow(tr("Genre"), metaData[Qmmp::GENRE]); + formattedText += formatRow(tr("Composer"), metaData[Qmmp::COMPOSER]); + if(metaData[Qmmp::YEAR] != "0") + formattedText += formatRow(tr("Year"), metaData[Qmmp::YEAR]); + if(metaData[Qmmp::TRACK] != "0") + formattedText += formatRow(tr("Track"), metaData[Qmmp::TRACK]); + if(metaData[Qmmp::DISCNUMBER] != "0") + formattedText += formatRow(tr("Disc number"), metaData[Qmmp::DISCNUMBER]); + //audio info + if(!m_metaDataModel) + { + formattedText.append("</TABLE>"); + ui.textEdit->setHtml(formattedText); + return; + } + QHash <QString, QString> ap = m_metaDataModel->audioProperties(); + //line + formattedText.append("<tr>"); + formattedText.append("<td colspan=2>"); + formattedText.append("<hr>"); + formattedText.append("</td>"); + formattedText.append("</tr>"); + + foreach(QString key, ap.keys()) + formattedText += formatRow(key, ap.value(key)); + + formattedText.append("</TABLE>"); + ui.textEdit->setHtml(formattedText); +} + +QString DetailsDialog::formatRow(const QString key, const QString value) +{ + if(value.isEmpty()) + return QString(); + QString str("<tr>"); + str.append("<td><b>" + key + "</b></td> <td style=\"padding-left: 15px;\">" + value + "</td>"); + str.append("</tr>"); + return str; +} + +void DetailsDialog::on_buttonBox_clicked(QAbstractButton *button) +{ + if(ui.buttonBox->standardButton(button) == QDialogButtonBox::Save) + { + TagEditor *tab = qobject_cast<TagEditor *> (ui.tabWidget->currentWidget()); + if(tab) + tab->save(); + } + else + reject(); +} diff --git a/src/qmmpui/detailsdialog.h b/src/qmmpui/detailsdialog.h new file mode 100644 index 000000000..ce3dd7bff --- /dev/null +++ b/src/qmmpui/detailsdialog.h @@ -0,0 +1,58 @@ +/*************************************************************************** + * 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 DETAILSDIALOG_H +#define DETAILSDIALOG_H + +#include <QDialog> +#include <QList> +#include <QMap> +#include <qmmp/qmmp.h> + +#include "ui_detailsdialog.h" + +/** + @author Ilya Kotov <forkotov02@hotmail.ru> +*/ + +class QTextCodec; +class AbstractPlaylistItem; +class MetaDataModel; + +class DetailsDialog : public QDialog +{ + Q_OBJECT +public: + DetailsDialog(AbstractPlaylistItem *item, QWidget *parent = 0); + + ~DetailsDialog(); + +private slots: + void on_buttonBox_clicked(QAbstractButton *button); + +private: + Ui::DetailsDialog ui; + void printInfo(); + QString m_path; + QString formatRow(const QString key, const QString value); + MetaDataModel *m_metaDataModel; + +}; + +#endif diff --git a/src/qmmpui/detailsdialog.ui b/src/qmmpui/detailsdialog.ui new file mode 100644 index 000000000..77261a1e6 --- /dev/null +++ b/src/qmmpui/detailsdialog.ui @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>DetailsDialog</class> + <widget class="QDialog" name="DetailsDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>456</width> + <height>385</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="3" column="0"> + <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="1" column="0" colspan="2"> + <widget class="QTabWidget" name="tabWidget"> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="tab_5"> + <attribute name="title"> + <string>Summary</string> + </attribute> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0" colspan="2"> + <widget class="QTextEdit" name="textEdit"> + <property name="readOnly"> + <bool>true</bool> + </property> + <property name="html"> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></string> + </property> + </widget> + </item> + </layout> + </widget> + </widget> + </item> + <item row="0" column="0" colspan="2"> + <widget class="QLineEdit" name="pathEdit"> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="standardButtons"> + <set>QDialogButtonBox::Close|QDialogButtonBox::Save</set> + </property> + </widget> + </item> + </layout> + </widget> + <resources/> + <connections/> +</ui> diff --git a/src/qmmpui/playlistmodel.cpp b/src/qmmpui/playlistmodel.cpp index ddaa2ce23..893850e51 100644 --- a/src/qmmpui/playlistmodel.cpp +++ b/src/qmmpui/playlistmodel.cpp @@ -41,6 +41,7 @@ #include "playlistmodel.h" #include "playlistitem.h" #include "playstate.h" +#include "detailsdialog.h" #include "playlistsettings.h" #include <QMetaType> @@ -380,18 +381,11 @@ void PlayListModel::showDetails() QMessageBox::information(0, m_items.at(i)->url(), str); return; } - - DecoderFactory *fact = Decoder::findByPath(m_items.at(i)->url()); - if (fact) - { - QObject* o = fact->showDetails(0, m_items.at(i)->url()); - if (o) - { - TagUpdater *updater = new TagUpdater(o,m_items.at(i)); - m_editing_items.append(m_items.at(i)); - connect(updater, SIGNAL(destroyed(QObject *)),SIGNAL(listChanged())); - } - } + QDialog *d = new DetailsDialog(m_items.at(i)); //TODO set parent widget + TagUpdater *updater = new TagUpdater(d, m_items.at(i)); + m_editing_items.append(m_items.at(i)); + connect(updater, SIGNAL(destroyed(QObject *)),SIGNAL(listChanged())); + d->show(); return; } } diff --git a/src/qmmpui/qmmpui.pro b/src/qmmpui/qmmpui.pro index 17147e341..ea0cb623b 100644 --- a/src/qmmpui/qmmpui.pro +++ b/src/qmmpui/qmmpui.pro @@ -1,91 +1,87 @@ include(../../qmmp.pri) - unix:TARGET = ../../lib/qmmpui win32:TARGET = ../../../bin/qmmpui CONFIG += release \ -warn_on \ -shared \ -qt \ -thread - -QMAKE_LIBDIR += ../../lib qmmpui + warn_on \ + shared \ + qt \ + thread +QMAKE_LIBDIR += ../../lib \ + qmmpui LIBS += -Wl,-rpath,./ -unix:LIBS += -L../../lib -lqmmp -win32:LIBS += -L../../bin -lqmmp0 +unix:LIBS += -L../../lib \ + -lqmmp +win32:LIBS += -L../../bin \ + -lqmmp0 INCLUDEPATH += ../ - TEMPLATE = lib - -unix : isEmpty(LIB_DIR){ - LIB_DIR = /lib - } - +unix:isEmpty(LIB_DIR):LIB_DIR = /lib VERSION = $$QMMP_VERSION - unix:target.path = $$LIB_DIR - HEADERS += general.h \ - generalfactory.h \ - generalhandler.h \ - playlistformat.h \ - playlistparser.h \ - commandlinemanager.h \ - commandlineoption.h \ - filedialog.h \ - filedialogfactory.h \ - qtfiledialog.h \ - abstractplaylistitem.h \ - playlistitem.h \ - playlistmodel.h \ - playstate.h \ - fileloader.h \ - mediaplayer.h \ - playlistsettings.h + generalfactory.h \ + generalhandler.h \ + playlistformat.h \ + playlistparser.h \ + commandlinemanager.h \ + commandlineoption.h \ + filedialog.h \ + filedialogfactory.h \ + qtfiledialog.h \ + abstractplaylistitem.h \ + playlistitem.h \ + playlistmodel.h \ + playstate.h \ + fileloader.h \ + mediaplayer.h \ + playlistsettings.h \ + detailsdialog.h \ + tageditor.h SOURCES += general.cpp \ - generalhandler.cpp \ - playlistparser.cpp \ - commandlinemanager.cpp \ - filedialog.cpp \ - qtfiledialog.cpp \ - abstractplaylistitem.cpp \ - playlistmodel.cpp \ - playstate.cpp \ - playlistitem.cpp \ - fileloader.cpp \ - mediaplayer.cpp \ - playlistsettings.cpp - + generalhandler.cpp \ + playlistparser.cpp \ + commandlinemanager.cpp \ + filedialog.cpp \ + qtfiledialog.cpp \ + abstractplaylistitem.cpp \ + playlistmodel.cpp \ + playstate.cpp \ + playlistitem.cpp \ + fileloader.cpp \ + mediaplayer.cpp \ + playlistsettings.cpp \ + detailsdialog.cpp \ + tageditor.cpp +FORMS += detailsdialog.ui \ + tageditor.ui unix:DESTDIR = . - RESOURCES += translations/libqmmpui_locales.qrc - TRANSLATIONS = translations/libqmmpui_ru.ts \ - translations/libqmmpui_tr.ts \ - translations/libqmmpui_zh_CN.ts \ - translations/libqmmpui_cs.ts \ - translations/libqmmpui_pt_BR.ts \ - translations/libqmmpui_uk_UA.ts \ - translations/libqmmpui_zh_TW.ts \ - translations/libqmmpui_de.ts \ - translations/libqmmpui_it.ts \ - translations/libqmmpui_lt.ts \ - translations/libqmmpui_pl.ts -unix { -devel.files += abstractplaylistitem.h \ - commandlinemanager.h \ - commandlineoption.h \ - filedialogfactory.h \ - filedialog.h \ - generalfactory.h \ - general.h \ - generalhandler.h \ - mediaplayer.h \ - playlistformat.h \ - playlistitem.h \ - playlistmodel.h \ - playlistparser.h - -devel.path = /include/qmmpui - -INSTALLS += target devel + translations/libqmmpui_tr.ts \ + translations/libqmmpui_zh_CN.ts \ + translations/libqmmpui_cs.ts \ + translations/libqmmpui_pt_BR.ts \ + translations/libqmmpui_uk_UA.ts \ + translations/libqmmpui_zh_TW.ts \ + translations/libqmmpui_de.ts \ + translations/libqmmpui_it.ts \ + translations/libqmmpui_lt.ts \ + translations/libqmmpui_pl.ts +unix { + devel.files += abstractplaylistitem.h \ + commandlinemanager.h \ + commandlineoption.h \ + filedialogfactory.h \ + filedialog.h \ + generalfactory.h \ + general.h \ + generalhandler.h \ + mediaplayer.h \ + playlistformat.h \ + playlistitem.h \ + playlistmodel.h \ + playlistparser.h + devel.path = /include/qmmpui + INSTALLS += target \ + devel } diff --git a/src/qmmpui/tageditor.cpp b/src/qmmpui/tageditor.cpp new file mode 100644 index 000000000..5af62220c --- /dev/null +++ b/src/qmmpui/tageditor.cpp @@ -0,0 +1,83 @@ +/*************************************************************************** + * 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 <qmmp/tagmodel.h> +#include "tageditor.h" +#include "ui_tageditor.h" + +TagEditor::TagEditor(TagModel *tagModel, QWidget *parent) : QWidget(parent), m_ui(new Ui::TagEditor) +{ + m_ui->setupUi(this); + m_tagModel = tagModel; + //check available keys + m_ui->titleLineEdit->setEnabled(m_tagModel->keys().contains(Qmmp::TITLE)); + m_ui->artistLineEdit->setEnabled(m_tagModel->keys().contains(Qmmp::ARTIST)); + m_ui->albumLineEdit->setEnabled(m_tagModel->keys().contains(Qmmp::ALBUM)); + m_ui->composerLineEdit->setEnabled(m_tagModel->keys().contains(Qmmp::COMPOSER)); + m_ui->genreLineEdit->setEnabled(m_tagModel->keys().contains(Qmmp::GENRE)); + m_ui->commentBrowser->setEnabled(m_tagModel->keys().contains(Qmmp::COMMENT)); + m_ui->discSpinBox->setEnabled(m_tagModel->keys().contains(Qmmp::DISCNUMBER)); + m_ui->yearSpinBox->setEnabled(m_tagModel->keys().contains(Qmmp::YEAR)); + m_ui->trackSpinBox->setEnabled(m_tagModel->keys().contains(Qmmp::TRACK)); + + readTag(); +} + +TagEditor::~TagEditor() +{ + delete m_ui; +} + +void TagEditor::save() +{ + if(m_ui->useCheckBox->isChecked()) + { + if(!m_tagModel->exists()) + m_tagModel->create(); + m_tagModel->setValue(Qmmp::TITLE, m_ui->titleLineEdit->text()); + m_tagModel->setValue(Qmmp::ARTIST, m_ui->artistLineEdit->text()); + m_tagModel->setValue(Qmmp::ALBUM, m_ui->albumLineEdit->text()); + m_tagModel->setValue(Qmmp::COMPOSER, m_ui->composerLineEdit->text()); + m_tagModel->setValue(Qmmp::GENRE, m_ui->genreLineEdit->text()); + m_tagModel->setValue(Qmmp::COMMENT, m_ui->commentBrowser->toPlainText ()); + m_tagModel->setValue(Qmmp::DISCNUMBER, m_ui->discSpinBox->value()); + m_tagModel->setValue(Qmmp::YEAR, m_ui->yearSpinBox->value()); + m_tagModel->setValue(Qmmp::TRACK, m_ui->trackSpinBox->value()); + } + else + m_tagModel->remove(); + m_tagModel->save(); + readTag(); +} + +void TagEditor::readTag() +{ + m_ui->tagWidget->setEnabled(m_tagModel->exists()); + m_ui->useCheckBox->setChecked(m_tagModel->exists()); + m_ui->titleLineEdit->setText(m_tagModel->value(Qmmp::TITLE)); + m_ui->artistLineEdit->setText(m_tagModel->value(Qmmp::ARTIST)); + m_ui->albumLineEdit->setText(m_tagModel->value(Qmmp::ALBUM)); + m_ui->composerLineEdit->setText(m_tagModel->value(Qmmp::COMPOSER)); + m_ui->genreLineEdit->setText(m_tagModel->value(Qmmp::GENRE)); + m_ui->commentBrowser->setText(m_tagModel->value(Qmmp::COMMENT)); + m_ui->discSpinBox->setValue(m_tagModel->value(Qmmp::DISCNUMBER).toInt()); + m_ui->yearSpinBox->setValue(m_tagModel->value(Qmmp::YEAR).toInt()); + m_ui->trackSpinBox->setValue(m_tagModel->value(Qmmp::TRACK).toInt()); +} diff --git a/src/qmmpui/tageditor.h b/src/qmmpui/tageditor.h new file mode 100644 index 000000000..584a26589 --- /dev/null +++ b/src/qmmpui/tageditor.h @@ -0,0 +1,48 @@ +/*************************************************************************** + * 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 TAGEDITOR_H +#define TAGEDITOR_H + +#include <QWidget> + +namespace Ui { + class TagEditor; +} + +class TagModel; + +class TagEditor : public QWidget +{ +Q_OBJECT +public: + TagEditor(TagModel *tagModel, QWidget *parent = 0); + ~TagEditor(); + + void save(); + +private: + void readTag(); + Ui::TagEditor *m_ui; + TagModel *m_tagModel; + +}; + +#endif // TAGEDITOR_H diff --git a/src/qmmpui/tageditor.ui b/src/qmmpui/tageditor.ui new file mode 100644 index 000000000..e3717414f --- /dev/null +++ b/src/qmmpui/tageditor.ui @@ -0,0 +1,313 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>TagEditor</class> + <widget class="QWidget" name="TagEditor"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>444</width> + <height>312</height> + </rect> + </property> + <property name="windowTitle"> + <string>Form</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <property name="leftMargin"> + <number>3</number> + </property> + <property name="rightMargin"> + <number>3</number> + </property> + <property name="bottomMargin"> + <number>3</number> + </property> + <item> + <widget class="QWidget" name="tagWidget" native="true"> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="label_47"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="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" colspan="4"> + <widget class="QLineEdit" name="titleLineEdit"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <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 hsizetype="Preferred" vsizetype="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" colspan="4"> + <widget class="QLineEdit" name="artistLineEdit"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <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 hsizetype="Preferred" vsizetype="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" colspan="4"> + <widget class="QLineEdit" name="albumLineEdit"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <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" colspan="4"> + <widget class="QLineEdit" name="composerLineEdit"> + <property name="enabled"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="label_46"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="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" colspan="2"> + <widget class="QLineEdit" name="genreLineEdit"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + </item> + <item row="4" column="3"> + <widget class="QLabel" name="label_11"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Disc number:</string> + </property> + </widget> + </item> + <item row="4" column="4"> + <widget class="QSpinBox" name="discSpinBox"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="specialValueText"> + <string>?</string> + </property> + </widget> + </item> + <item row="5" column="0"> + <widget class="QLabel" name="label_42"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="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"> + <widget class="QSpinBox" name="yearSpinBox"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <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> + <item row="5" column="2"> + <widget class="QLabel" name="label_44"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="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 row="5" column="3" colspan="2"> + <widget class="QSpinBox" name="trackSpinBox"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="specialValueText"> + <string>?</string> + </property> + </widget> + </item> + <item row="6" column="0"> + <widget class="QLabel" name="label_48"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> + <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" colspan="4"> + <widget class="QTextBrowser" name="commentBrowser"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="readOnly"> + <bool>false</bool> + </property> + <property name="html"> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QCheckBox" name="useCheckBox"> + <property name="text"> + <string>Include selected tag in file</string> + </property> + </widget> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>useCheckBox</sender> + <signal>clicked(bool)</signal> + <receiver>tagWidget</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>56</x> + <y>296</y> + </hint> + <hint type="destinationlabel"> + <x>8</x> + <y>277</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/src/qmmpui/translations/libqmmpui_cs.ts b/src/qmmpui/translations/libqmmpui_cs.ts index ecf41a6b0..aa5ceb7b2 100644 --- a/src/qmmpui/translations/libqmmpui_cs.ts +++ b/src/qmmpui/translations/libqmmpui_cs.ts @@ -2,44 +2,111 @@ <!DOCTYPE TS> <TS version="2.0" language="cs"> <context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.cpp" line="74"/> + <source>Title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="75"/> + <source>Artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="76"/> + <source>Album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="77"/> + <source>Comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="78"/> + <source>Genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="79"/> + <source>Composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="81"/> + <source>Year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="83"/> + <source>Track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="85"/> + <source>Disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="14"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="46"/> + <source>Summary</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="55"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> <name>PlayListModel</name> <message> - <location filename="../playlistmodel.cpp" line="365"/> + <location filename="../playlistmodel.cpp" line="366"/> <source>Title:</source> <translation>Název:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="366"/> + <location filename="../playlistmodel.cpp" line="367"/> <source>Artist:</source> <translation>Umělec:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="367"/> + <location filename="../playlistmodel.cpp" line="368"/> <source>Album:</source> <translation></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="368"/> + <location filename="../playlistmodel.cpp" line="369"/> <source>Genre:</source> <translation>Žánr:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="369"/> + <location filename="../playlistmodel.cpp" line="370"/> <source>Comment:</source> <translation>Poznámka:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="370"/> + <location filename="../playlistmodel.cpp" line="371"/> <source>Composer:</source> <translation>Skladatel:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="371"/> + <location filename="../playlistmodel.cpp" line="372"/> <source>Disc number:</source> <translation>Číslo disku:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="364"/> + <location filename="../playlistmodel.cpp" line="365"/> <source>URL:</source> <translation>URL:</translation> </message> @@ -52,4 +119,78 @@ <translation>Souborový dialog Qt</translation> </message> </context> +<context> + <name>TagEditor</name> + <message> + <location filename="../tageditor.ui" line="14"/> + <source>Form</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="38"/> + <source>Title:</source> + <translation type="unfinished">Název:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="64"/> + <source>Artist:</source> + <translation type="unfinished">Umělec:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="90"/> + <source>Album:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="113"/> + <source>Composer:</source> + <translation type="unfinished">Skladatel:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="133"/> + <source>Genre:</source> + <translation type="unfinished">Žánr:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="159"/> + <source>Disc number:</source> + <translation type="unfinished">Číslo disku:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="169"/> + <location filename="../tageditor.ui" line="201"/> + <location filename="../tageditor.ui" line="239"/> + <source>?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="182"/> + <source>Track:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="220"/> + <source>Year:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="252"/> + <source>Comment:</source> + <translation type="unfinished">Poznámka:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="274"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="288"/> + <source>Include selected tag in file</source> + <translation type="unfinished"></translation> + </message> +</context> </TS> diff --git a/src/qmmpui/translations/libqmmpui_de.ts b/src/qmmpui/translations/libqmmpui_de.ts index f4d8c84cb..15a7df4e7 100644 --- a/src/qmmpui/translations/libqmmpui_de.ts +++ b/src/qmmpui/translations/libqmmpui_de.ts @@ -1,44 +1,112 @@ <?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="1.1" language="de"> +<!DOCTYPE TS> +<TS version="2.0" language="de"> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.cpp" line="74"/> + <source>Title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="75"/> + <source>Artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="76"/> + <source>Album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="77"/> + <source>Comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="78"/> + <source>Genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="79"/> + <source>Composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="81"/> + <source>Year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="83"/> + <source>Track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="85"/> + <source>Disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="14"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="46"/> + <source>Summary</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="55"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> +</context> <context> <name>PlayListModel</name> <message> - <location filename="../playlistmodel.cpp" line="365"/> + <location filename="../playlistmodel.cpp" line="366"/> <source>Title:</source> <translation>Titel:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="366"/> + <location filename="../playlistmodel.cpp" line="367"/> <source>Artist:</source> <translation>Interpret:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="367"/> + <location filename="../playlistmodel.cpp" line="368"/> <source>Album:</source> <translation>Album:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="368"/> + <location filename="../playlistmodel.cpp" line="369"/> <source>Genre:</source> <translation>Genre:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="369"/> + <location filename="../playlistmodel.cpp" line="370"/> <source>Comment:</source> <translation>Kommentar:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="370"/> + <location filename="../playlistmodel.cpp" line="371"/> <source>Composer:</source> <translation>Komponist:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="371"/> + <location filename="../playlistmodel.cpp" line="372"/> <source>Disc number:</source> <translation>CD-Nummer:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="364"/> + <location filename="../playlistmodel.cpp" line="365"/> <source>URL:</source> <translation type="unfinished"></translation> </message> @@ -51,4 +119,78 @@ <translation>Qt Datei-Dialog</translation> </message> </context> +<context> + <name>TagEditor</name> + <message> + <location filename="../tageditor.ui" line="14"/> + <source>Form</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="38"/> + <source>Title:</source> + <translation type="unfinished">Titel:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="64"/> + <source>Artist:</source> + <translation type="unfinished">Interpret:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="90"/> + <source>Album:</source> + <translation type="unfinished">Album:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="113"/> + <source>Composer:</source> + <translation type="unfinished">Komponist:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="133"/> + <source>Genre:</source> + <translation type="unfinished">Genre:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="159"/> + <source>Disc number:</source> + <translation type="unfinished">CD-Nummer:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="169"/> + <location filename="../tageditor.ui" line="201"/> + <location filename="../tageditor.ui" line="239"/> + <source>?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="182"/> + <source>Track:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="220"/> + <source>Year:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="252"/> + <source>Comment:</source> + <translation type="unfinished">Kommentar:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="274"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="288"/> + <source>Include selected tag in file</source> + <translation type="unfinished"></translation> + </message> +</context> </TS> diff --git a/src/qmmpui/translations/libqmmpui_it.ts b/src/qmmpui/translations/libqmmpui_it.ts index b8381fd2c..9064555cd 100644 --- a/src/qmmpui/translations/libqmmpui_it.ts +++ b/src/qmmpui/translations/libqmmpui_it.ts @@ -1,44 +1,112 @@ <?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="1.1" language="it"> +<!DOCTYPE TS> +<TS version="2.0" language="it"> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.cpp" line="74"/> + <source>Title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="75"/> + <source>Artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="76"/> + <source>Album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="77"/> + <source>Comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="78"/> + <source>Genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="79"/> + <source>Composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="81"/> + <source>Year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="83"/> + <source>Track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="85"/> + <source>Disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="14"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="46"/> + <source>Summary</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="55"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> +</context> <context> <name>PlayListModel</name> <message> - <location filename="../playlistmodel.cpp" line="365"/> + <location filename="../playlistmodel.cpp" line="366"/> <source>Title:</source> <translation>Titolo:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="366"/> + <location filename="../playlistmodel.cpp" line="367"/> <source>Artist:</source> <translation>Interprete:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="367"/> + <location filename="../playlistmodel.cpp" line="368"/> <source>Album:</source> <translation>Album:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="368"/> + <location filename="../playlistmodel.cpp" line="369"/> <source>Genre:</source> <translation>Genere:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="369"/> + <location filename="../playlistmodel.cpp" line="370"/> <source>Comment:</source> <translation>Commento:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="370"/> + <location filename="../playlistmodel.cpp" line="371"/> <source>Composer:</source> <translation>Compositore</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="371"/> + <location filename="../playlistmodel.cpp" line="372"/> <source>Disc number:</source> <translation>Disco numero: </translation> </message> <message> - <location filename="../playlistmodel.cpp" line="364"/> + <location filename="../playlistmodel.cpp" line="365"/> <source>URL:</source> <translation>URL:</translation> </message> @@ -51,4 +119,78 @@ <translation>Menu brani Qt</translation> </message> </context> +<context> + <name>TagEditor</name> + <message> + <location filename="../tageditor.ui" line="14"/> + <source>Form</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="38"/> + <source>Title:</source> + <translation type="unfinished">Titolo:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="64"/> + <source>Artist:</source> + <translation type="unfinished">Interprete:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="90"/> + <source>Album:</source> + <translation type="unfinished">Album:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="113"/> + <source>Composer:</source> + <translation type="unfinished">Compositore</translation> + </message> + <message> + <location filename="../tageditor.ui" line="133"/> + <source>Genre:</source> + <translation type="unfinished">Genere:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="159"/> + <source>Disc number:</source> + <translation type="unfinished">Disco numero: </translation> + </message> + <message> + <location filename="../tageditor.ui" line="169"/> + <location filename="../tageditor.ui" line="201"/> + <location filename="../tageditor.ui" line="239"/> + <source>?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="182"/> + <source>Track:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="220"/> + <source>Year:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="252"/> + <source>Comment:</source> + <translation type="unfinished">Commento:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="274"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="288"/> + <source>Include selected tag in file</source> + <translation type="unfinished"></translation> + </message> +</context> </TS> diff --git a/src/qmmpui/translations/libqmmpui_lt.ts b/src/qmmpui/translations/libqmmpui_lt.ts index 55cb00e72..6ae2eadfb 100644 --- a/src/qmmpui/translations/libqmmpui_lt.ts +++ b/src/qmmpui/translations/libqmmpui_lt.ts @@ -1,44 +1,112 @@ <?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="1.1" language="lt"> +<!DOCTYPE TS> +<TS version="2.0" language="lt"> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.cpp" line="74"/> + <source>Title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="75"/> + <source>Artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="76"/> + <source>Album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="77"/> + <source>Comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="78"/> + <source>Genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="79"/> + <source>Composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="81"/> + <source>Year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="83"/> + <source>Track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="85"/> + <source>Disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="14"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="46"/> + <source>Summary</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="55"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> +</context> <context> <name>PlayListModel</name> <message> - <location filename="../playlistmodel.cpp" line="365"/> + <location filename="../playlistmodel.cpp" line="366"/> <source>Title:</source> <translation>Pavadinimas:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="366"/> + <location filename="../playlistmodel.cpp" line="367"/> <source>Artist:</source> <translation>Atlikėjas:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="367"/> + <location filename="../playlistmodel.cpp" line="368"/> <source>Album:</source> <translation>Albumas:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="368"/> + <location filename="../playlistmodel.cpp" line="369"/> <source>Genre:</source> <translation>Žanras:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="369"/> + <location filename="../playlistmodel.cpp" line="370"/> <source>Comment:</source> <translation>Komantaras:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="370"/> + <location filename="../playlistmodel.cpp" line="371"/> <source>Composer:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="371"/> + <location filename="../playlistmodel.cpp" line="372"/> <source>Disc number:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="364"/> + <location filename="../playlistmodel.cpp" line="365"/> <source>URL:</source> <translation type="unfinished"></translation> </message> @@ -51,4 +119,78 @@ <translation>Qt bylų langas</translation> </message> </context> +<context> + <name>TagEditor</name> + <message> + <location filename="../tageditor.ui" line="14"/> + <source>Form</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="38"/> + <source>Title:</source> + <translation type="unfinished">Pavadinimas:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="64"/> + <source>Artist:</source> + <translation type="unfinished">Atlikėjas:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="90"/> + <source>Album:</source> + <translation type="unfinished">Albumas:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="113"/> + <source>Composer:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="133"/> + <source>Genre:</source> + <translation type="unfinished">Žanras:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="159"/> + <source>Disc number:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="169"/> + <location filename="../tageditor.ui" line="201"/> + <location filename="../tageditor.ui" line="239"/> + <source>?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="182"/> + <source>Track:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="220"/> + <source>Year:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="252"/> + <source>Comment:</source> + <translation type="unfinished">Komantaras:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="274"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="288"/> + <source>Include selected tag in file</source> + <translation type="unfinished"></translation> + </message> +</context> </TS> diff --git a/src/qmmpui/translations/libqmmpui_pl.ts b/src/qmmpui/translations/libqmmpui_pl.ts index 5ddb87b84..8c9336d8e 100644 --- a/src/qmmpui/translations/libqmmpui_pl.ts +++ b/src/qmmpui/translations/libqmmpui_pl.ts @@ -1,44 +1,112 @@ <?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="1.1" language="pl"> +<!DOCTYPE TS> +<TS version="2.0" language="pl"> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.cpp" line="74"/> + <source>Title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="75"/> + <source>Artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="76"/> + <source>Album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="77"/> + <source>Comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="78"/> + <source>Genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="79"/> + <source>Composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="81"/> + <source>Year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="83"/> + <source>Track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="85"/> + <source>Disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="14"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="46"/> + <source>Summary</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="55"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> +</context> <context> <name>PlayListModel</name> <message> - <location filename="../playlistmodel.cpp" line="365"/> + <location filename="../playlistmodel.cpp" line="366"/> <source>Title:</source> <translation>Tytuł:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="366"/> + <location filename="../playlistmodel.cpp" line="367"/> <source>Artist:</source> <translation>Artysta:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="367"/> + <location filename="../playlistmodel.cpp" line="368"/> <source>Album:</source> <translation>Album:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="368"/> + <location filename="../playlistmodel.cpp" line="369"/> <source>Genre:</source> <translation>Gatunek:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="369"/> + <location filename="../playlistmodel.cpp" line="370"/> <source>Comment:</source> <translation>Komentarz:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="370"/> + <location filename="../playlistmodel.cpp" line="371"/> <source>Composer:</source> <translation>Kompozytor:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="371"/> + <location filename="../playlistmodel.cpp" line="372"/> <source>Disc number:</source> <translation>Numer albumu:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="364"/> + <location filename="../playlistmodel.cpp" line="365"/> <source>URL:</source> <translation type="unfinished"></translation> </message> @@ -51,4 +119,78 @@ <translation>Okno dialogowe QT</translation> </message> </context> +<context> + <name>TagEditor</name> + <message> + <location filename="../tageditor.ui" line="14"/> + <source>Form</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="38"/> + <source>Title:</source> + <translation type="unfinished">Tytuł:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="64"/> + <source>Artist:</source> + <translation type="unfinished">Artysta:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="90"/> + <source>Album:</source> + <translation type="unfinished">Album:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="113"/> + <source>Composer:</source> + <translation type="unfinished">Kompozytor:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="133"/> + <source>Genre:</source> + <translation type="unfinished">Gatunek:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="159"/> + <source>Disc number:</source> + <translation type="unfinished">Numer albumu:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="169"/> + <location filename="../tageditor.ui" line="201"/> + <location filename="../tageditor.ui" line="239"/> + <source>?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="182"/> + <source>Track:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="220"/> + <source>Year:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="252"/> + <source>Comment:</source> + <translation type="unfinished">Komentarz:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="274"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="288"/> + <source>Include selected tag in file</source> + <translation type="unfinished"></translation> + </message> +</context> </TS> diff --git a/src/qmmpui/translations/libqmmpui_pt_BR.ts b/src/qmmpui/translations/libqmmpui_pt_BR.ts index d9a023d7b..e366d82c0 100644 --- a/src/qmmpui/translations/libqmmpui_pt_BR.ts +++ b/src/qmmpui/translations/libqmmpui_pt_BR.ts @@ -1,44 +1,112 @@ <?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="1.1"> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.cpp" line="74"/> + <source>Title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="75"/> + <source>Artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="76"/> + <source>Album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="77"/> + <source>Comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="78"/> + <source>Genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="79"/> + <source>Composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="81"/> + <source>Year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="83"/> + <source>Track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="85"/> + <source>Disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="14"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="46"/> + <source>Summary</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="55"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> +</context> <context> <name>PlayListModel</name> <message> - <location filename="../playlistmodel.cpp" line="365"/> + <location filename="../playlistmodel.cpp" line="366"/> <source>Title:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="366"/> + <location filename="../playlistmodel.cpp" line="367"/> <source>Artist:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="367"/> + <location filename="../playlistmodel.cpp" line="368"/> <source>Album:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="368"/> + <location filename="../playlistmodel.cpp" line="369"/> <source>Genre:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="369"/> + <location filename="../playlistmodel.cpp" line="370"/> <source>Comment:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="370"/> + <location filename="../playlistmodel.cpp" line="371"/> <source>Composer:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="371"/> + <location filename="../playlistmodel.cpp" line="372"/> <source>Disc number:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="364"/> + <location filename="../playlistmodel.cpp" line="365"/> <source>URL:</source> <translation type="unfinished"></translation> </message> @@ -51,4 +119,78 @@ <translation type="unfinished"></translation> </message> </context> +<context> + <name>TagEditor</name> + <message> + <location filename="../tageditor.ui" line="14"/> + <source>Form</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="38"/> + <source>Title:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="64"/> + <source>Artist:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="90"/> + <source>Album:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="113"/> + <source>Composer:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="133"/> + <source>Genre:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="159"/> + <source>Disc number:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="169"/> + <location filename="../tageditor.ui" line="201"/> + <location filename="../tageditor.ui" line="239"/> + <source>?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="182"/> + <source>Track:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="220"/> + <source>Year:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="252"/> + <source>Comment:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="274"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="288"/> + <source>Include selected tag in file</source> + <translation type="unfinished"></translation> + </message> +</context> </TS> diff --git a/src/qmmpui/translations/libqmmpui_ru.ts b/src/qmmpui/translations/libqmmpui_ru.ts index c5f658f7e..f43c9650e 100644 --- a/src/qmmpui/translations/libqmmpui_ru.ts +++ b/src/qmmpui/translations/libqmmpui_ru.ts @@ -1,45 +1,112 @@ <?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="1.1" language="ru"> -<defaultcodec></defaultcodec> +<!DOCTYPE TS> +<TS version="2.0" language="ru"> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.cpp" line="74"/> + <source>Title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="75"/> + <source>Artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="76"/> + <source>Album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="77"/> + <source>Comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="78"/> + <source>Genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="79"/> + <source>Composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="81"/> + <source>Year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="83"/> + <source>Track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="85"/> + <source>Disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="14"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="46"/> + <source>Summary</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="55"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> +</context> <context> <name>PlayListModel</name> <message> - <location filename="../playlistmodel.cpp" line="365"/> + <location filename="../playlistmodel.cpp" line="366"/> <source>Title:</source> <translation>Название:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="366"/> + <location filename="../playlistmodel.cpp" line="367"/> <source>Artist:</source> <translation>Исполнитель:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="367"/> + <location filename="../playlistmodel.cpp" line="368"/> <source>Album:</source> <translation>Альбом:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="368"/> + <location filename="../playlistmodel.cpp" line="369"/> <source>Genre:</source> <translation>Жанр:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="369"/> + <location filename="../playlistmodel.cpp" line="370"/> <source>Comment:</source> <translation>Комментарий:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="370"/> + <location filename="../playlistmodel.cpp" line="371"/> <source>Composer:</source> <translation>Композитор:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="371"/> + <location filename="../playlistmodel.cpp" line="372"/> <source>Disc number:</source> <translation>Номер диска:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="364"/> + <location filename="../playlistmodel.cpp" line="365"/> <source>URL:</source> <translation>URL:</translation> </message> @@ -52,4 +119,78 @@ <translation>Файловый диалог Qt</translation> </message> </context> +<context> + <name>TagEditor</name> + <message> + <location filename="../tageditor.ui" line="14"/> + <source>Form</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="38"/> + <source>Title:</source> + <translation type="unfinished">Название:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="64"/> + <source>Artist:</source> + <translation type="unfinished">Исполнитель:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="90"/> + <source>Album:</source> + <translation type="unfinished">Альбом:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="113"/> + <source>Composer:</source> + <translation type="unfinished">Композитор:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="133"/> + <source>Genre:</source> + <translation type="unfinished">Жанр:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="159"/> + <source>Disc number:</source> + <translation type="unfinished">Номер диска:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="169"/> + <location filename="../tageditor.ui" line="201"/> + <location filename="../tageditor.ui" line="239"/> + <source>?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="182"/> + <source>Track:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="220"/> + <source>Year:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="252"/> + <source>Comment:</source> + <translation type="unfinished">Комментарий:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="274"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="288"/> + <source>Include selected tag in file</source> + <translation type="unfinished"></translation> + </message> +</context> </TS> diff --git a/src/qmmpui/translations/libqmmpui_tr.ts b/src/qmmpui/translations/libqmmpui_tr.ts index 35e973354..0ed86a295 100644 --- a/src/qmmpui/translations/libqmmpui_tr.ts +++ b/src/qmmpui/translations/libqmmpui_tr.ts @@ -1,44 +1,112 @@ <?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="1.1" language="tr_TR"> +<!DOCTYPE TS> +<TS version="2.0" language="tr_TR"> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.cpp" line="74"/> + <source>Title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="75"/> + <source>Artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="76"/> + <source>Album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="77"/> + <source>Comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="78"/> + <source>Genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="79"/> + <source>Composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="81"/> + <source>Year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="83"/> + <source>Track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="85"/> + <source>Disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="14"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="46"/> + <source>Summary</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="55"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> +</context> <context> <name>PlayListModel</name> <message> - <location filename="../playlistmodel.cpp" line="365"/> + <location filename="../playlistmodel.cpp" line="366"/> <source>Title:</source> <translation>Başlık:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="366"/> + <location filename="../playlistmodel.cpp" line="367"/> <source>Artist:</source> <translation>Artist:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="367"/> + <location filename="../playlistmodel.cpp" line="368"/> <source>Album:</source> <translation>Albüm:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="368"/> + <location filename="../playlistmodel.cpp" line="369"/> <source>Genre:</source> <translation>Tür:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="369"/> + <location filename="../playlistmodel.cpp" line="370"/> <source>Comment:</source> <translation>Yorum:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="370"/> + <location filename="../playlistmodel.cpp" line="371"/> <source>Composer:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="371"/> + <location filename="../playlistmodel.cpp" line="372"/> <source>Disc number:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="364"/> + <location filename="../playlistmodel.cpp" line="365"/> <source>URL:</source> <translation type="unfinished"></translation> </message> @@ -51,4 +119,78 @@ <translation>Qt Dosya Diyaloğu</translation> </message> </context> +<context> + <name>TagEditor</name> + <message> + <location filename="../tageditor.ui" line="14"/> + <source>Form</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="38"/> + <source>Title:</source> + <translation type="unfinished">Başlık:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="64"/> + <source>Artist:</source> + <translation type="unfinished">Artist:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="90"/> + <source>Album:</source> + <translation type="unfinished">Albüm:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="113"/> + <source>Composer:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="133"/> + <source>Genre:</source> + <translation type="unfinished">Tür:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="159"/> + <source>Disc number:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="169"/> + <location filename="../tageditor.ui" line="201"/> + <location filename="../tageditor.ui" line="239"/> + <source>?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="182"/> + <source>Track:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="220"/> + <source>Year:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="252"/> + <source>Comment:</source> + <translation type="unfinished">Yorum:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="274"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="288"/> + <source>Include selected tag in file</source> + <translation type="unfinished"></translation> + </message> +</context> </TS> diff --git a/src/qmmpui/translations/libqmmpui_uk_UA.ts b/src/qmmpui/translations/libqmmpui_uk_UA.ts index fbd9d62d9..6451e9635 100644 --- a/src/qmmpui/translations/libqmmpui_uk_UA.ts +++ b/src/qmmpui/translations/libqmmpui_uk_UA.ts @@ -1,44 +1,112 @@ <?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="1.1" language="uk"> +<!DOCTYPE TS> +<TS version="2.0" language="uk"> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.cpp" line="74"/> + <source>Title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="75"/> + <source>Artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="76"/> + <source>Album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="77"/> + <source>Comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="78"/> + <source>Genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="79"/> + <source>Composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="81"/> + <source>Year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="83"/> + <source>Track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="85"/> + <source>Disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="14"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="46"/> + <source>Summary</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="55"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> +</context> <context> <name>PlayListModel</name> <message> - <location filename="../playlistmodel.cpp" line="365"/> + <location filename="../playlistmodel.cpp" line="366"/> <source>Title:</source> <translation>Заголовок:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="366"/> + <location filename="../playlistmodel.cpp" line="367"/> <source>Artist:</source> <translation>Виконавець:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="367"/> + <location filename="../playlistmodel.cpp" line="368"/> <source>Album:</source> <translation>Альбом:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="368"/> + <location filename="../playlistmodel.cpp" line="369"/> <source>Genre:</source> <translation>Жанр:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="369"/> + <location filename="../playlistmodel.cpp" line="370"/> <source>Comment:</source> <translation>Коментар:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="370"/> + <location filename="../playlistmodel.cpp" line="371"/> <source>Composer:</source> <translation>Композитор:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="371"/> + <location filename="../playlistmodel.cpp" line="372"/> <source>Disc number:</source> <translation>Номер диску:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="364"/> + <location filename="../playlistmodel.cpp" line="365"/> <source>URL:</source> <translation type="unfinished"></translation> </message> @@ -51,4 +119,78 @@ <translation>Файловий діалог Qt</translation> </message> </context> +<context> + <name>TagEditor</name> + <message> + <location filename="../tageditor.ui" line="14"/> + <source>Form</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="38"/> + <source>Title:</source> + <translation type="unfinished">Заголовок:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="64"/> + <source>Artist:</source> + <translation type="unfinished">Виконавець:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="90"/> + <source>Album:</source> + <translation type="unfinished">Альбом:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="113"/> + <source>Composer:</source> + <translation type="unfinished">Композитор:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="133"/> + <source>Genre:</source> + <translation type="unfinished">Жанр:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="159"/> + <source>Disc number:</source> + <translation type="unfinished">Номер диску:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="169"/> + <location filename="../tageditor.ui" line="201"/> + <location filename="../tageditor.ui" line="239"/> + <source>?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="182"/> + <source>Track:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="220"/> + <source>Year:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="252"/> + <source>Comment:</source> + <translation type="unfinished">Коментар:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="274"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="288"/> + <source>Include selected tag in file</source> + <translation type="unfinished"></translation> + </message> +</context> </TS> diff --git a/src/qmmpui/translations/libqmmpui_zh_CN.ts b/src/qmmpui/translations/libqmmpui_zh_CN.ts index 1cbec832b..c0a68feaf 100644 --- a/src/qmmpui/translations/libqmmpui_zh_CN.ts +++ b/src/qmmpui/translations/libqmmpui_zh_CN.ts @@ -1,44 +1,112 @@ <?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="1.1" language="zh_CN"> +<!DOCTYPE TS> +<TS version="2.0" language="zh_CN"> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.cpp" line="74"/> + <source>Title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="75"/> + <source>Artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="76"/> + <source>Album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="77"/> + <source>Comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="78"/> + <source>Genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="79"/> + <source>Composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="81"/> + <source>Year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="83"/> + <source>Track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="85"/> + <source>Disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="14"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="46"/> + <source>Summary</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="55"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> +</context> <context> <name>PlayListModel</name> <message> - <location filename="../playlistmodel.cpp" line="365"/> + <location filename="../playlistmodel.cpp" line="366"/> <source>Title:</source> <translation>标题:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="366"/> + <location filename="../playlistmodel.cpp" line="367"/> <source>Artist:</source> <translation>艺术家:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="367"/> + <location filename="../playlistmodel.cpp" line="368"/> <source>Album:</source> <translation>专辑:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="368"/> + <location filename="../playlistmodel.cpp" line="369"/> <source>Genre:</source> <translation>流派:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="369"/> + <location filename="../playlistmodel.cpp" line="370"/> <source>Comment:</source> <translation>备注:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="370"/> + <location filename="../playlistmodel.cpp" line="371"/> <source>Composer:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="371"/> + <location filename="../playlistmodel.cpp" line="372"/> <source>Disc number:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="364"/> + <location filename="../playlistmodel.cpp" line="365"/> <source>URL:</source> <translation type="unfinished"></translation> </message> @@ -51,4 +119,78 @@ <translation>Qmmp 文件会话</translation> </message> </context> +<context> + <name>TagEditor</name> + <message> + <location filename="../tageditor.ui" line="14"/> + <source>Form</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="38"/> + <source>Title:</source> + <translation type="unfinished">标题:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="64"/> + <source>Artist:</source> + <translation type="unfinished">艺术家:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="90"/> + <source>Album:</source> + <translation type="unfinished">专辑:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="113"/> + <source>Composer:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="133"/> + <source>Genre:</source> + <translation type="unfinished">流派:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="159"/> + <source>Disc number:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="169"/> + <location filename="../tageditor.ui" line="201"/> + <location filename="../tageditor.ui" line="239"/> + <source>?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="182"/> + <source>Track:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="220"/> + <source>Year:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="252"/> + <source>Comment:</source> + <translation type="unfinished">备注:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="274"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="288"/> + <source>Include selected tag in file</source> + <translation type="unfinished"></translation> + </message> +</context> </TS> diff --git a/src/qmmpui/translations/libqmmpui_zh_TW.ts b/src/qmmpui/translations/libqmmpui_zh_TW.ts index 8138e9043..5e573313f 100644 --- a/src/qmmpui/translations/libqmmpui_zh_TW.ts +++ b/src/qmmpui/translations/libqmmpui_zh_TW.ts @@ -1,44 +1,112 @@ <?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="1.1" language="zh_TW"> +<!DOCTYPE TS> +<TS version="2.0" language="zh_TW"> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.cpp" line="74"/> + <source>Title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="75"/> + <source>Artist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="76"/> + <source>Album</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="77"/> + <source>Comment</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="78"/> + <source>Genre</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="79"/> + <source>Composer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="81"/> + <source>Year</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="83"/> + <source>Track</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="85"/> + <source>Disc number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="14"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="46"/> + <source>Summary</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="55"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> +</context> <context> <name>PlayListModel</name> <message> - <location filename="../playlistmodel.cpp" line="365"/> + <location filename="../playlistmodel.cpp" line="366"/> <source>Title:</source> <translation>標題:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="366"/> + <location filename="../playlistmodel.cpp" line="367"/> <source>Artist:</source> <translation>藝術家:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="367"/> + <location filename="../playlistmodel.cpp" line="368"/> <source>Album:</source> <translation>專輯:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="368"/> + <location filename="../playlistmodel.cpp" line="369"/> <source>Genre:</source> <translation>流派:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="369"/> + <location filename="../playlistmodel.cpp" line="370"/> <source>Comment:</source> <translation>備註:</translation> </message> <message> - <location filename="../playlistmodel.cpp" line="370"/> + <location filename="../playlistmodel.cpp" line="371"/> <source>Composer:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="371"/> + <location filename="../playlistmodel.cpp" line="372"/> <source>Disc number:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../playlistmodel.cpp" line="364"/> + <location filename="../playlistmodel.cpp" line="365"/> <source>URL:</source> <translation type="unfinished"></translation> </message> @@ -51,4 +119,78 @@ <translation>Qmmp 檔案會話</translation> </message> </context> +<context> + <name>TagEditor</name> + <message> + <location filename="../tageditor.ui" line="14"/> + <source>Form</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="38"/> + <source>Title:</source> + <translation type="unfinished">標題:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="64"/> + <source>Artist:</source> + <translation type="unfinished">藝術家:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="90"/> + <source>Album:</source> + <translation type="unfinished">專輯:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="113"/> + <source>Composer:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="133"/> + <source>Genre:</source> + <translation type="unfinished">流派:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="159"/> + <source>Disc number:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="169"/> + <location filename="../tageditor.ui" line="201"/> + <location filename="../tageditor.ui" line="239"/> + <source>?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="182"/> + <source>Track:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="220"/> + <source>Year:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="252"/> + <source>Comment:</source> + <translation type="unfinished">備註:</translation> + </message> + <message> + <location filename="../tageditor.ui" line="274"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"> +<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;"></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../tageditor.ui" line="288"/> + <source>Include selected tag in file</source> + <translation type="unfinished"></translation> + </message> +</context> </TS> |
