diff options
Diffstat (limited to 'src/plugins/Input/vorbis')
17 files changed, 351 insertions, 1707 deletions
diff --git a/src/plugins/Input/vorbis/CMakeLists.txt b/src/plugins/Input/vorbis/CMakeLists.txt index 63fcf8bdf..5b10c736b 100644 --- a/src/plugins/Input/vorbis/CMakeLists.txt +++ b/src/plugins/Input/vorbis/CMakeLists.txt @@ -51,19 +51,13 @@ QT4_WRAP_CPP(libvorbis_MOC_SRCS ${libvorbis_MOC_HDRS}) # user interface - -SET(libvorbis_UIS - detailsdialog.ui -) - QT4_WRAP_UI(libvorbis_UIS_H ${libvorbis_UIS}) # Don't forget to include output directory, otherwise # the UI file won't be wrapped! include_directories(${CMAKE_CURRENT_BINARY_DIR}) IF(VORBIS_FOUND) -ADD_LIBRARY(vorbis MODULE ${libvorbis_SRCS} ${libvorbis_MOC_SRCS} ${libvorbis_UIS_H} - ${libvorbis_RCC_SRCS}) +ADD_LIBRARY(vorbis MODULE ${libvorbis_SRCS} ${libvorbis_MOC_SRCS} ${libvorbis_RCC_SRCS}) add_dependencies(vorbis qmmp) target_link_libraries(vorbis ${QT_LIBRARIES} -lqmmp ${VORBIS_LDFLAGS} ${VORBIS_CFLAGS} ${TAGLIB_LDFLAGS} ${TAGLIB_CFLAGS}) install(TARGETS vorbis DESTINATION ${LIB_DIR}/qmmp/Input) diff --git a/src/plugins/Input/vorbis/decoder_vorbis.cpp b/src/plugins/Input/vorbis/decoder_vorbis.cpp index 3a8a45916..7325967b0 100644 --- a/src/plugins/Input/vorbis/decoder_vorbis.cpp +++ b/src/plugins/Input/vorbis/decoder_vorbis.cpp @@ -210,6 +210,14 @@ void DecoderVorbis::updateTags() "date=", strlen ("date="))) metaData.insert(Qmmp::YEAR, QString::number(atoi(comments->user_comments[i] + strlen ("date=")))); + else if (!strncasecmp(comments->user_comments[i], + "composer=", strlen ("composer="))) + metaData.insert(Qmmp::COMPOSER, QString::fromUtf8 (comments->user_comments[i] + + strlen ("composer="))); + else if (!strncasecmp(comments->user_comments[i], + "discnumber=", strlen ("discnumber="))) + metaData.insert(Qmmp::DISCNUMBER, QString::number(atoi(comments->user_comments[i] + + strlen ("discnumber=")))); } stateHandler()->dispatch(metaData); diff --git a/src/plugins/Input/vorbis/decodervorbisfactory.cpp b/src/plugins/Input/vorbis/decodervorbisfactory.cpp index 124b001e7..8dcd738c7 100644 --- a/src/plugins/Input/vorbis/decodervorbisfactory.cpp +++ b/src/plugins/Input/vorbis/decodervorbisfactory.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008 by Ilya Kotov * + * Copyright (C) 2008-2009 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -20,7 +20,7 @@ #include <QtGui> #include <taglib/tag.h> #include <taglib/fileref.h> -#include <tag.h> +#include <taglib/vorbisfile.h> #include "detailsdialog.h" #include "decoder_vorbis.h" @@ -63,13 +63,12 @@ Decoder *DecoderVorbisFactory::create(QObject *parent, QIODevice *input, return new DecoderVorbis(parent, this, input, output); } -//FileInfo *DecoderVorbisFactory::createFileInfo(const QString &source) QList<FileInfo *> DecoderVorbisFactory::createPlayList(const QString &fileName, bool useMetaData) { FileInfo *info = new FileInfo(fileName); - TagLib::FileRef fileRef(fileName.toLocal8Bit ()); - TagLib::Tag *tag = useMetaData ? fileRef.tag() : 0; + TagLib::Ogg::Vorbis::File fileRef(fileName.toLocal8Bit ()); + TagLib::Ogg::XiphComment *tag = useMetaData ? fileRef.tag() : 0; if (tag && !tag->isEmpty()) { @@ -89,6 +88,17 @@ QList<FileInfo *> DecoderVorbisFactory::createPlayList(const QString &fileName, if (fileRef.audioProperties()) info->setLength(fileRef.audioProperties()->length()); + //additional metadata + if(tag) + { + TagLib::StringList fld; + if(!(fld = tag->fieldListMap()["COMPOSER"]).isEmpty()) + info->setMetaData(Qmmp::COMPOSER, + QString::fromUtf8(fld.toString().toCString(TRUE)).trimmed()); + if(!(fld = tag->fieldListMap()["DISCNUMBER"]).isEmpty()) + info->setMetaData(Qmmp::DISCNUMBER, + QString::fromUtf8(fld.toString().toCString(TRUE)).trimmed()); + } QList <FileInfo*> list; list << info; @@ -103,10 +113,7 @@ QObject* DecoderVorbisFactory::showDetails(QWidget *parent, const QString &path) } void DecoderVorbisFactory::showSettings(QWidget *) -{ - /*SettingsDialog *s = new SettingsDialog(parent); - s -> show();*/ -} +{} void DecoderVorbisFactory::showAbout(QWidget *parent) { diff --git a/src/plugins/Input/vorbis/detailsdialog.cpp b/src/plugins/Input/vorbis/detailsdialog.cpp index bbe441703..d3f1095c3 100644 --- a/src/plugins/Input/vorbis/detailsdialog.cpp +++ b/src/plugins/Input/vorbis/detailsdialog.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007 by Ilya Kotov * + * Copyright (C) 2006-2009 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -17,9 +17,12 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ + #include <taglib/tag.h> #include <taglib/fileref.h> #include <taglib/vorbisfile.h> +#include <taglib/xiphcomment.h> +#include <taglib/tmap.h> #include <QFile> #include <QFileInfo> @@ -27,94 +30,75 @@ #include "detailsdialog.h" #define QStringToTString_qt4(s) TagLib::String(s.toUtf8().constData(), TagLib::String::UTF8) +#define TStringToQString_qt4(s) QString::fromUtf8(s.toCString(TRUE)).trimmed() DetailsDialog::DetailsDialog(QWidget *parent, const QString &path) - : QDialog(parent) + : AbstractDetailsDialog(parent) { - ui.setupUi(this); - setAttribute(Qt::WA_DeleteOnClose); m_path = path; - setWindowTitle (path.section('/',-1)); - path.section('/',-1); - ui.pathLineEdit->setText(m_path); - if(QFile::exists(m_path)) + if (QFile::exists(m_path)) { loadVorbisInfo(); - loadTag(); + loadTags(); + blockSaveButton(!QFileInfo(m_path).isWritable()); } + else + blockSaveButton(); } - DetailsDialog::~DetailsDialog() {} void DetailsDialog::loadVorbisInfo() { TagLib::Ogg::Vorbis::File f (m_path.toLocal8Bit()); - //l.label - //ui. f.audioProperties()->level(); - QString text; - text = QString("%1").arg(f.audioProperties()->length()/60); + QMap <QString, QString> ap; + QString text = QString("%1").arg(f.audioProperties()->length()/60); text +=":"+QString("%1").arg(f.audioProperties()->length()%60,2,10,QChar('0')); - ui.lengthLabel->setText(text); - text = QString("%1").arg(f.audioProperties()->sampleRate()); - ui.sampleRateLabel->setText(text+" "+tr("Hz")); - text = QString("%1").arg(f.audioProperties()->channels()); - ui.channelsLabel->setText(text); - text = QString("%1").arg(f.audioProperties()->bitrateNominal()); - ui.nominalLabel->setText(text+" "+tr("kbps")); - text = QString("%1").arg(f.audioProperties()->bitrateMaximum()); - ui.maximumLabel->setText(text+" "+tr("kbps")); - text = QString("%1").arg(f.audioProperties()->bitrateMinimum()); - ui.minimumLabel->setText(text+" "+tr("kbps")); - text = QString("%1 "+tr("KB")).arg(f.length()/1024); - ui.fileSizeLabel->setText(text); - + ap.insert(tr("Length"), text); + ap.insert(tr("Sample rate"), QString("%1 " + tr("Hz")).arg(f.audioProperties()->sampleRate())); + ap.insert(tr("Channels"), QString("%1").arg(f.audioProperties()->channels())); + ap.insert(tr("Bitrate"), QString("%1 " + tr("kbps")).arg(f.audioProperties()->bitrate())); + ap.insert(tr("File size"), QString("%1 "+tr("KB")).arg(f.length()/1024)); + setAudioProperties(ap); } -void DetailsDialog::loadTag() +void DetailsDialog::loadTags() { TagLib::FileRef f (m_path.toLocal8Bit()); - - if (f.tag()) - { //TODO: load codec name from config - - TagLib::String title = f.tag()->title(); - TagLib::String artist = f.tag()->artist(); - TagLib::String album = f.tag()->album(); - TagLib::String comment = f.tag()->comment(); - TagLib::String genre = f.tag()->genre(); - QString string = QString::fromUtf8(title.toCString(TRUE)).trimmed(); - ui.titleLineEdit->setText(string); - string = QString::fromUtf8(artist.toCString(TRUE)).trimmed(); - ui.artistLineEdit->setText(string); - string = QString::fromUtf8(album.toCString(TRUE)).trimmed(); - ui.albumLineEdit->setText(string); - string = QString::fromUtf8(comment.toCString(TRUE)).trimmed(); - ui.commentLineEdit->setText(string); - string = QString("%1").arg(f.tag()->year()); - ui.yearLineEdit->setText(string); - string = QString("%1").arg(f.tag()->track()); - ui.trackLineEdit->setText(string); - string = QString::fromUtf8(genre.toCString(TRUE)).trimmed(); - ui.genreLineEdit->setText(string); - } - QFileInfo info(m_path); - ui.saveButton->setEnabled(info.isWritable()); - connect(ui.saveButton, SIGNAL(clicked()), SLOT(saveTag())); + setMetaData(Qmmp::TITLE, TStringToQString_qt4(f.tag()->title())); + setMetaData(Qmmp::ARTIST, TStringToQString_qt4(f.tag()->artist())); + setMetaData(Qmmp::ALBUM, TStringToQString_qt4(f.tag()->album())); + setMetaData(Qmmp::COMMENT, TStringToQString_qt4(f.tag()->comment())); + setMetaData(Qmmp::GENRE, TStringToQString_qt4(f.tag()->genre())); + setMetaData(Qmmp::YEAR, f.tag()->year()); + setMetaData(Qmmp::TRACK, f.tag()->track()); + setMetaData(Qmmp::URL, m_path); + TagLib::Ogg::Vorbis::File *file = dynamic_cast<TagLib::Ogg::Vorbis::File *>(f.file()); + TagLib::StringList fld; + if(file->tag() && !(fld = file->tag()->fieldListMap()["COMPOSER"]).isEmpty()) + setMetaData(Qmmp::COMPOSER, TStringToQString_qt4(fld.toString())); + if(file->tag() && !(fld = file->tag()->fieldListMap()["DISCNUMBER"]).isEmpty()) + setMetaData(Qmmp::DISCNUMBER, TStringToQString_qt4(fld.toString())); } -void DetailsDialog::saveTag() +void DetailsDialog::writeTags() { TagLib::FileRef f (m_path.toLocal8Bit()); - - f.tag()->setTitle(QStringToTString_qt4(ui.titleLineEdit->text())); - f.tag()->setArtist(QStringToTString_qt4(ui.artistLineEdit->text())); - f.tag()->setAlbum(QStringToTString_qt4(ui.albumLineEdit->text())); - f.tag()->setComment(QStringToTString_qt4(ui.commentLineEdit->text())); - f.tag()->setGenre(QStringToTString_qt4(ui.genreLineEdit->text())); - f.tag()->setYear(ui.yearLineEdit->text().toUInt()); - f.tag()->setTrack(ui.trackLineEdit->text().toUInt()); - + f.tag()->setTitle(QStringToTString_qt4(strMetaData(Qmmp::TITLE))); + f.tag()->setArtist(QStringToTString_qt4(strMetaData(Qmmp::ARTIST))); + f.tag()->setAlbum(QStringToTString_qt4(strMetaData(Qmmp::ALBUM))); + f.tag()->setComment(QStringToTString_qt4(strMetaData(Qmmp::COMMENT))); + f.tag()->setGenre(QStringToTString_qt4(strMetaData(Qmmp::GENRE))); + f.tag()->setYear(intMetaData(Qmmp::YEAR)); + f.tag()->setTrack(intMetaData(Qmmp::TRACK)); + TagLib::Ogg::Vorbis::File *file = dynamic_cast<TagLib::Ogg::Vorbis::File *>(f.file()); + strMetaData(Qmmp::COMPOSER).isEmpty() ? + file->tag()->removeField("COMPOSER"): + file->tag()->addField("COMPOSER", QStringToTString_qt4(strMetaData(Qmmp::COMPOSER)), TRUE); + intMetaData(Qmmp::DISCNUMBER) == 0 ? + file->tag()->removeField("DISCNUMBER"): + file->tag()->addField("DISCNUMBER", + QStringToTString_qt4(strMetaData(Qmmp::DISCNUMBER)), TRUE); f.save(); } diff --git a/src/plugins/Input/vorbis/detailsdialog.h b/src/plugins/Input/vorbis/detailsdialog.h index 94d4243b8..2504108bc 100644 --- a/src/plugins/Input/vorbis/detailsdialog.h +++ b/src/plugins/Input/vorbis/detailsdialog.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007 by Ilya Kotov * + * Copyright (C) 2006-2009 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -20,14 +20,12 @@ #ifndef DETAILSDIALOG_H #define DETAILSDIALOG_H -#include <QDialog> - -#include "ui_detailsdialog.h" +#include <qmmp/abstractdetailsdialog.h> /** @author Ilya Kotov <forkotov02@hotmail.ru> */ -class DetailsDialog : public QDialog +class DetailsDialog : public AbstractDetailsDialog { Q_OBJECT public: @@ -35,13 +33,10 @@ public: ~DetailsDialog(); -private slots: - void saveTag(); - -private: +private: void loadVorbisInfo(); - void loadTag(); - Ui::DetailsDialog ui; + void loadTags(); + void writeTags(); QString m_path; }; diff --git a/src/plugins/Input/vorbis/detailsdialog.ui b/src/plugins/Input/vorbis/detailsdialog.ui deleted file mode 100644 index 50e2a5afb..000000000 --- a/src/plugins/Input/vorbis/detailsdialog.ui +++ /dev/null @@ -1,412 +0,0 @@ -<ui version="4.0" > - <class>DetailsDialog</class> - <widget class="QDialog" name="DetailsDialog" > - <property name="geometry" > - <rect> - <x>0</x> - <y>0</y> - <width>545</width> - <height>374</height> - </rect> - </property> - <property name="windowTitle" > - <string>Details</string> - </property> - <layout class="QGridLayout" > - <item row="0" column="0" > - <widget class="QLabel" name="label_28" > - <property name="text" > - <string>File path:</string> - </property> - <property name="alignment" > - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item row="0" column="1" colspan="3" > - <widget class="QLineEdit" name="pathLineEdit" > - <property name="readOnly" > - <bool>true</bool> - </property> - </widget> - </item> - <item rowspan="2" row="1" column="0" colspan="2" > - <widget class="QGroupBox" name="groupBox" > - <property name="minimumSize" > - <size> - <width>0</width> - <height>16</height> - </size> - </property> - <property name="title" > - <string>Ogg Vorbis Info</string> - </property> - <layout class="QGridLayout" > - <property name="leftMargin" > - <number>8</number> - </property> - <property name="topMargin" > - <number>8</number> - </property> - <property name="rightMargin" > - <number>8</number> - </property> - <property name="bottomMargin" > - <number>8</number> - </property> - <property name="horizontalSpacing" > - <number>6</number> - </property> - <property name="verticalSpacing" > - <number>6</number> - </property> - <item row="2" column="1" > - <widget class="QLabel" name="fileSizeLabel" > - <property name="text" > - <string>-</string> - </property> - </widget> - </item> - <item row="3" column="1" > - <widget class="QLabel" name="channelsLabel" > - <property name="layoutDirection" > - <enum>Qt::LeftToRight</enum> - </property> - <property name="text" > - <string>-</string> - </property> - </widget> - </item> - <item row="0" column="0" > - <widget class="QLabel" name="label" > - <property name="text" > - <string>Length:</string> - </property> - <property name="alignment" > - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item row="0" column="1" > - <widget class="QLabel" name="lengthLabel" > - <property name="text" > - <string>-</string> - </property> - </widget> - </item> - <item row="1" column="0" > - <widget class="QLabel" name="label_3" > - <property name="text" > - <string>Sample rate:</string> - </property> - <property name="alignment" > - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item row="1" column="1" > - <widget class="QLabel" name="sampleRateLabel" > - <property name="text" > - <string>-</string> - </property> - </widget> - </item> - <item row="3" column="0" > - <widget class="QLabel" name="label_10" > - <property name="layoutDirection" > - <enum>Qt::LeftToRight</enum> - </property> - <property name="text" > - <string>Channels:</string> - </property> - <property name="alignment" > - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item row="5" column="0" > - <spacer> - <property name="orientation" > - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" > - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - <item row="4" column="0" colspan="2" > - <widget class="QGroupBox" name="groupBox_3" > - <property name="title" > - <string>Bit Rate</string> - </property> - <property name="alignment" > - <set>Qt::AlignHCenter</set> - </property> - <layout class="QGridLayout" > - <property name="leftMargin" > - <number>8</number> - </property> - <property name="topMargin" > - <number>8</number> - </property> - <property name="rightMargin" > - <number>8</number> - </property> - <property name="bottomMargin" > - <number>8</number> - </property> - <property name="horizontalSpacing" > - <number>6</number> - </property> - <property name="verticalSpacing" > - <number>6</number> - </property> - <item row="1" column="1" > - <widget class="QLabel" name="maximumLabel" > - <property name="text" > - <string>-</string> - </property> - </widget> - </item> - <item row="2" column="1" > - <widget class="QLabel" name="minimumLabel" > - <property name="text" > - <string>-</string> - </property> - </widget> - </item> - <item row="2" column="0" > - <widget class="QLabel" name="label_9" > - <property name="layoutDirection" > - <enum>Qt::LeftToRight</enum> - </property> - <property name="text" > - <string>Minimum:</string> - </property> - <property name="alignment" > - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item row="0" column="1" > - <widget class="QLabel" name="nominalLabel" > - <property name="text" > - <string>-</string> - </property> - </widget> - </item> - <item row="1" column="0" > - <widget class="QLabel" name="label_8" > - <property name="text" > - <string>Maximum:</string> - </property> - <property name="alignment" > - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item row="0" column="0" > - <widget class="QLabel" name="label_7" > - <property name="text" > - <string>Nominal:</string> - </property> - <property name="alignment" > - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item row="2" column="0" > - <widget class="QLabel" name="label_5" > - <property name="text" > - <string>File size:</string> - </property> - <property name="alignment" > - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item row="1" column="2" colspan="2" > - <widget class="QGroupBox" name="groupBox_2" > - <property name="sizePolicy" > - <sizepolicy vsizetype="Preferred" hsizetype="Expanding" > - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="title" > - <string>Ogg Vorbis Tag</string> - </property> - <layout class="QGridLayout" > - <property name="leftMargin" > - <number>8</number> - </property> - <property name="topMargin" > - <number>8</number> - </property> - <property name="rightMargin" > - <number>8</number> - </property> - <property name="bottomMargin" > - <number>8</number> - </property> - <property name="horizontalSpacing" > - <number>6</number> - </property> - <property name="verticalSpacing" > - <number>6</number> - </property> - <item row="6" column="1" > - <widget class="QPushButton" name="saveButton" > - <property name="enabled" > - <bool>false</bool> - </property> - <property name="text" > - <string>Save</string> - </property> - </widget> - </item> - <item row="4" column="3" > - <widget class="QLineEdit" name="trackLineEdit" /> - </item> - <item row="4" column="2" > - <widget class="QLabel" name="label_26" > - <property name="text" > - <string>Track number:</string> - </property> - <property name="alignment" > - <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item row="4" column="1" > - <widget class="QLineEdit" name="yearLineEdit" /> - </item> - <item row="4" column="0" > - <widget class="QLabel" name="label_25" > - <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="0" > - <widget class="QLabel" name="label_27" > - <property name="text" > - <string>Genre:</string> - </property> - <property name="alignment" > - <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item row="3" column="0" > - <widget class="QLabel" name="label_24" > - <property name="text" > - <string>Comment:</string> - </property> - <property name="alignment" > - <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item row="2" column="0" > - <widget class="QLabel" name="label_23" > - <property name="text" > - <string>Album:</string> - </property> - <property name="alignment" > - <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item row="1" column="0" > - <widget class="QLabel" name="label_22" > - <property name="text" > - <string>Artist:</string> - </property> - <property name="alignment" > - <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item row="0" column="0" > - <widget class="QLabel" name="label_21" > - <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="3" > - <widget class="QLineEdit" name="titleLineEdit" /> - </item> - <item row="1" column="1" colspan="3" > - <widget class="QLineEdit" name="artistLineEdit" /> - </item> - <item row="2" column="1" colspan="3" > - <widget class="QLineEdit" name="albumLineEdit" /> - </item> - <item row="3" column="1" colspan="3" > - <widget class="QLineEdit" name="commentLineEdit" /> - </item> - <item row="5" column="1" colspan="2" > - <widget class="QLineEdit" name="genreLineEdit" /> - </item> - </layout> - </widget> - </item> - <item row="2" column="2" > - <spacer> - <property name="orientation" > - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" > - <size> - <width>111</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="2" column="3" > - <widget class="QPushButton" name="pushButton_3" > - <property name="text" > - <string>Close</string> - </property> - </widget> - </item> - </layout> - </widget> - <resources/> - <connections> - <connection> - <sender>pushButton_3</sender> - <signal>clicked()</signal> - <receiver>DetailsDialog</receiver> - <slot>close()</slot> - <hints> - <hint type="sourcelabel" > - <x>623</x> - <y>353</y> - </hint> - <hint type="destinationlabel" > - <x>539</x> - <y>352</y> - </hint> - </hints> - </connection> - </connections> -</ui> diff --git a/src/plugins/Input/vorbis/translations/vorbis_plugin_cs.ts b/src/plugins/Input/vorbis/translations/vorbis_plugin_cs.ts index e4600f7b7..496909b25 100644 --- a/src/plugins/Input/vorbis/translations/vorbis_plugin_cs.ts +++ b/src/plugins/Input/vorbis/translations/vorbis_plugin_cs.ts @@ -14,22 +14,22 @@ <translation>Soubory Ogg-Vorbis</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="113"/> + <location filename="../decodervorbisfactory.cpp" line="120"/> <source>About Ogg Vorbis Audio Plugin</source> <translation>O modulu Ogg-Vorbis</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="114"/> + <location filename="../decodervorbisfactory.cpp" line="121"/> <source>Qmmp Ogg Vorbis Audio Plugin</source> <translation>Vstupní modul Qmmp Ogg-Vorbis</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="115"/> + <location filename="../decodervorbisfactory.cpp" line="122"/> <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> <translation>Autor: Ilja Kotov <forkotov02@hotmail.ru></translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="116"/> + <location filename="../decodervorbisfactory.cpp" line="123"/> <source>Source code based on mq3 progect</source> <translation>Zdrojový kód je založen na projektu mq3</translation> </message> @@ -37,137 +37,44 @@ <context> <name>DetailsDialog</name> <message> - <location filename="../detailsdialog.cpp" line="65"/> - <location filename="../detailsdialog.cpp" line="67"/> - <location filename="../detailsdialog.cpp" line="69"/> + <location filename="../detailsdialog.cpp" line="61"/> <source>kbps</source> <translation>kbps</translation> </message> <message> - <location filename="../detailsdialog.cpp" line="61"/> + <location filename="../detailsdialog.cpp" line="59"/> <source>Hz</source> <translation>Hz</translation> </message> <message> - <location filename="../detailsdialog.cpp" line="70"/> - <source>KB</source> - <translation>KB</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="13"/> - <source>Details</source> - <translation>Podrobnosti</translation> + <location filename="../detailsdialog.cpp" line="58"/> + <source>Length</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="227"/> - <source>File size:</source> - <translation>Velikost souboru:</translation> + <location filename="../detailsdialog.cpp" line="59"/> + <source>Sample rate</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="66"/> - <location filename="../detailsdialog.ui" line="76"/> - <location filename="../detailsdialog.ui" line="93"/> - <location filename="../detailsdialog.ui" line="110"/> - <location filename="../detailsdialog.ui" line="170"/> - <location filename="../detailsdialog.ui" line="177"/> - <location filename="../detailsdialog.ui" line="197"/> - <source>-</source> - <translation>-</translation> + <location filename="../detailsdialog.cpp" line="60"/> + <source>Channels</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="100"/> - <source>Sample rate:</source> - <translation>Vzorkovací frekvence:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="273"/> - <source>Save</source> - <translation>Uložit</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="283"/> - <source>Track number:</source> - <translation>Číslo stopy:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="296"/> - <source>Year:</source> - <translation>Rok:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="306"/> - <source>Genre:</source> - <translation>Žánr:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="316"/> - <source>Comment:</source> - <translation>Komentář:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="326"/> - <source>Album:</source> - <translation>Album:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="336"/> - <source>Artist:</source> - <translation>Umělec:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="346"/> - <source>Title:</source> - <translation>Název:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="387"/> - <source>Close</source> - <translation>Zavřít</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="19"/> - <source>File path:</source> - <translation>Cesta k souboru:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="42"/> - <source>Ogg Vorbis Info</source> - <translation>Informace Ogg-Vorbis</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="83"/> - <source>Length:</source> - <translation>Délka:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="120"/> - <source>Channels:</source> - <translation>Počet kanálů:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="143"/> - <source>Bit Rate</source> - <translation>Datový tok</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="187"/> - <source>Minimum:</source> - <translation>Minimální:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="204"/> - <source>Maximum:</source> - <translation>Maximální:</translation> + <location filename="../detailsdialog.cpp" line="61"/> + <source>Bitrate</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="214"/> - <source>Nominal:</source> - <translation>Nominální:</translation> + <location filename="../detailsdialog.cpp" line="62"/> + <source>KB</source> + <translation>KB</translation> </message> <message> - <location filename="../detailsdialog.ui" line="246"/> - <source>Ogg Vorbis Tag</source> - <translation>Ogg-Vorbis tag</translation> + <location filename="../detailsdialog.cpp" line="62"/> + <source>File size</source> + <translation type="unfinished"></translation> </message> </context> </TS> diff --git a/src/plugins/Input/vorbis/translations/vorbis_plugin_de.ts b/src/plugins/Input/vorbis/translations/vorbis_plugin_de.ts index 11f49b210..6a92529d3 100644 --- a/src/plugins/Input/vorbis/translations/vorbis_plugin_de.ts +++ b/src/plugins/Input/vorbis/translations/vorbis_plugin_de.ts @@ -14,22 +14,22 @@ <translation>Ogg-Vorbis-Dateien</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="113"/> + <location filename="../decodervorbisfactory.cpp" line="120"/> <source>About Ogg Vorbis Audio Plugin</source> <translation>Über Ogg-Vorbis-Audio-Modul</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="114"/> + <location filename="../decodervorbisfactory.cpp" line="121"/> <source>Qmmp Ogg Vorbis Audio Plugin</source> <translation>Qmmp Ogg-Vorbis-Audio-Modul</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="115"/> + <location filename="../decodervorbisfactory.cpp" line="122"/> <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> <translation>Autor: Ilya Kotov <forkotov02@hotmail.ru></translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="116"/> + <location filename="../decodervorbisfactory.cpp" line="123"/> <source>Source code based on mq3 progect</source> <translation>Quellcode basiert auf dem mq3-Projekt</translation> </message> @@ -37,137 +37,44 @@ <context> <name>DetailsDialog</name> <message> - <location filename="../detailsdialog.cpp" line="65"/> - <location filename="../detailsdialog.cpp" line="67"/> - <location filename="../detailsdialog.cpp" line="69"/> + <location filename="../detailsdialog.cpp" line="61"/> <source>kbps</source> <translation>kbps</translation> </message> <message> - <location filename="../detailsdialog.cpp" line="61"/> + <location filename="../detailsdialog.cpp" line="59"/> <source>Hz</source> <translation>Hz</translation> </message> <message> - <location filename="../detailsdialog.cpp" line="70"/> - <source>KB</source> - <translation>KB</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="13"/> - <source>Details</source> - <translation>Details</translation> + <location filename="../detailsdialog.cpp" line="58"/> + <source>Length</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="227"/> - <source>File size:</source> - <translation>Dateigröße:</translation> + <location filename="../detailsdialog.cpp" line="59"/> + <source>Sample rate</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="66"/> - <location filename="../detailsdialog.ui" line="76"/> - <location filename="../detailsdialog.ui" line="93"/> - <location filename="../detailsdialog.ui" line="110"/> - <location filename="../detailsdialog.ui" line="170"/> - <location filename="../detailsdialog.ui" line="177"/> - <location filename="../detailsdialog.ui" line="197"/> - <source>-</source> - <translation>-</translation> + <location filename="../detailsdialog.cpp" line="60"/> + <source>Channels</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="100"/> - <source>Sample rate:</source> - <translation>Abtastrate:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="273"/> - <source>Save</source> - <translation>Speichern</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="283"/> - <source>Track number:</source> - <translation>Titelnummer:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="296"/> - <source>Year:</source> - <translation>Jahr:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="306"/> - <source>Genre:</source> - <translation>Genre:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="316"/> - <source>Comment:</source> - <translation>Kommentar:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="326"/> - <source>Album:</source> - <translation>Album:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="336"/> - <source>Artist:</source> - <translation>Interpret:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="346"/> - <source>Title:</source> - <translation>Titel:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="387"/> - <source>Close</source> - <translation>Schließen</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="19"/> - <source>File path:</source> - <translation>Dateipfad:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="42"/> - <source>Ogg Vorbis Info</source> - <translation>Ogg-Vorbis-Info</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="83"/> - <source>Length:</source> - <translation>Länge:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="120"/> - <source>Channels:</source> - <translation>Kanäle:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="143"/> - <source>Bit Rate</source> - <translation>Bitrate</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="187"/> - <source>Minimum:</source> - <translation>Minimum:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="204"/> - <source>Maximum:</source> - <translation>Maximum:</translation> + <location filename="../detailsdialog.cpp" line="61"/> + <source>Bitrate</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="214"/> - <source>Nominal:</source> - <translation>Nominell:</translation> + <location filename="../detailsdialog.cpp" line="62"/> + <source>KB</source> + <translation>KB</translation> </message> <message> - <location filename="../detailsdialog.ui" line="246"/> - <source>Ogg Vorbis Tag</source> - <translation>Ogg-Vorbis-Tag</translation> + <location filename="../detailsdialog.cpp" line="62"/> + <source>File size</source> + <translation type="unfinished"></translation> </message> </context> </TS> diff --git a/src/plugins/Input/vorbis/translations/vorbis_plugin_it.ts b/src/plugins/Input/vorbis/translations/vorbis_plugin_it.ts index 8e3711a0c..76022101c 100644 --- a/src/plugins/Input/vorbis/translations/vorbis_plugin_it.ts +++ b/src/plugins/Input/vorbis/translations/vorbis_plugin_it.ts @@ -14,22 +14,22 @@ <translation>Brani Ogg Vorbis</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="113"/> + <location filename="../decodervorbisfactory.cpp" line="120"/> <source>About Ogg Vorbis Audio Plugin</source> <translation>Info sul modulo audio Ogg Vorbis</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="114"/> + <location filename="../decodervorbisfactory.cpp" line="121"/> <source>Qmmp Ogg Vorbis Audio Plugin</source> <translation>Modulo audio Ogg Vorbis per Qmmp</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="115"/> + <location filename="../decodervorbisfactory.cpp" line="122"/> <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> <translation>Autore: Ilya Kotov <forkotov02@hotmail.ru></translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="116"/> + <location filename="../decodervorbisfactory.cpp" line="123"/> <source>Source code based on mq3 progect</source> <translation>Codice sorgente basato sul Progetto mq3</translation> </message> @@ -37,137 +37,44 @@ <context> <name>DetailsDialog</name> <message> - <location filename="../detailsdialog.cpp" line="65"/> - <location filename="../detailsdialog.cpp" line="67"/> - <location filename="../detailsdialog.cpp" line="69"/> + <location filename="../detailsdialog.cpp" line="61"/> <source>kbps</source> <translation>kbps</translation> </message> <message> - <location filename="../detailsdialog.cpp" line="61"/> + <location filename="../detailsdialog.cpp" line="59"/> <source>Hz</source> <translation>Hz</translation> </message> <message> - <location filename="../detailsdialog.cpp" line="70"/> - <source>KB</source> - <translation>KB</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="13"/> - <source>Details</source> - <translation>Dettagli</translation> + <location filename="../detailsdialog.cpp" line="58"/> + <source>Length</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="227"/> - <source>File size:</source> - <translation>Dimensione:</translation> + <location filename="../detailsdialog.cpp" line="59"/> + <source>Sample rate</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="66"/> - <location filename="../detailsdialog.ui" line="76"/> - <location filename="../detailsdialog.ui" line="93"/> - <location filename="../detailsdialog.ui" line="110"/> - <location filename="../detailsdialog.ui" line="170"/> - <location filename="../detailsdialog.ui" line="177"/> - <location filename="../detailsdialog.ui" line="197"/> - <source>-</source> - <translation>-</translation> + <location filename="../detailsdialog.cpp" line="60"/> + <source>Channels</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="100"/> - <source>Sample rate:</source> - <translation>Campionamento:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="273"/> - <source>Save</source> - <translation>Salva</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="283"/> - <source>Track number:</source> - <translation>Traccia numero:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="296"/> - <source>Year:</source> - <translation>Anno:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="306"/> - <source>Genre:</source> - <translation>Genere:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="316"/> - <source>Comment:</source> - <translation>Commento:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="326"/> - <source>Album:</source> - <translation>Album:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="336"/> - <source>Artist:</source> - <translation>Interprete:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="346"/> - <source>Title:</source> - <translation>TItolo:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="387"/> - <source>Close</source> - <translation>Chiudi</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="19"/> - <source>File path:</source> - <translation>File:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="42"/> - <source>Ogg Vorbis Info</source> - <translation>Info Ogg Vorbis</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="83"/> - <source>Length:</source> - <translation>Durata:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="120"/> - <source>Channels:</source> - <translation>Canali:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="143"/> - <source>Bit Rate</source> - <translation>Bitrate</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="187"/> - <source>Minimum:</source> - <translation>Minimo:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="204"/> - <source>Maximum:</source> - <translation>Massimo:</translation> + <location filename="../detailsdialog.cpp" line="61"/> + <source>Bitrate</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="214"/> - <source>Nominal:</source> - <translation>Nominale:</translation> + <location filename="../detailsdialog.cpp" line="62"/> + <source>KB</source> + <translation>KB</translation> </message> <message> - <location filename="../detailsdialog.ui" line="246"/> - <source>Ogg Vorbis Tag</source> - <translation>Etichettatura Ogg Vorbis</translation> + <location filename="../detailsdialog.cpp" line="62"/> + <source>File size</source> + <translation type="unfinished"></translation> </message> </context> </TS> diff --git a/src/plugins/Input/vorbis/translations/vorbis_plugin_lt.ts b/src/plugins/Input/vorbis/translations/vorbis_plugin_lt.ts index c974c49a1..857a793a4 100644 --- a/src/plugins/Input/vorbis/translations/vorbis_plugin_lt.ts +++ b/src/plugins/Input/vorbis/translations/vorbis_plugin_lt.ts @@ -14,22 +14,22 @@ <translation>Ogg Vorbis bylos</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="113"/> + <location filename="../decodervorbisfactory.cpp" line="120"/> <source>About Ogg Vorbis Audio Plugin</source> <translation>Apie Ogg Vorbis audio įskiepį</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="114"/> + <location filename="../decodervorbisfactory.cpp" line="121"/> <source>Qmmp Ogg Vorbis Audio Plugin</source> <translation>Qmmp Ogg Vorbis audio įskiepis</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="115"/> + <location filename="../decodervorbisfactory.cpp" line="122"/> <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> <translation>Sukūrė: Ilya Kotov <forkotov02@hotmail.ru></translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="116"/> + <location filename="../decodervorbisfactory.cpp" line="123"/> <source>Source code based on mq3 progect</source> <translation>Išvesties kodas sukurtas mq3 pagrindu</translation> </message> @@ -37,137 +37,44 @@ <context> <name>DetailsDialog</name> <message> - <location filename="../detailsdialog.cpp" line="61"/> + <location filename="../detailsdialog.cpp" line="59"/> <source>Hz</source> <translation>Hz</translation> </message> <message> - <location filename="../detailsdialog.ui" line="273"/> - <source>Save</source> - <translation>Išsaugoti</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="283"/> - <source>Track number:</source> - <translation>Takelio numeris:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="296"/> - <source>Year:</source> - <translation>Metai:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="306"/> - <source>Genre:</source> - <translation>Žanras:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="316"/> - <source>Comment:</source> - <translation>Komentaras:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="326"/> - <source>Album:</source> - <translation>Albumas:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="336"/> - <source>Artist:</source> - <translation>Atlikėjas:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="346"/> - <source>Title:</source> - <translation>Pavadinimas:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="387"/> - <source>Close</source> - <translation>Užverti</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="66"/> - <location filename="../detailsdialog.ui" line="76"/> - <location filename="../detailsdialog.ui" line="93"/> - <location filename="../detailsdialog.ui" line="110"/> - <location filename="../detailsdialog.ui" line="170"/> - <location filename="../detailsdialog.ui" line="177"/> - <location filename="../detailsdialog.ui" line="197"/> - <source>-</source> - <translation></translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="227"/> - <source>File size:</source> - <translation>Byloas dydis:</translation> + <location filename="../detailsdialog.cpp" line="58"/> + <source>Length</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="100"/> - <source>Sample rate:</source> - <translation>Sample rate:</translation> + <location filename="../detailsdialog.cpp" line="59"/> + <source>Sample rate</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="19"/> - <source>File path:</source> - <translation>Bylos kelias:</translation> + <location filename="../detailsdialog.cpp" line="60"/> + <source>Channels</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="42"/> - <source>Ogg Vorbis Info</source> - <translation>Ogg Vorbis informacija</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="83"/> - <source>Length:</source> - <translation>Ilgis:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="120"/> - <source>Channels:</source> - <translation>Kanalai:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="143"/> - <source>Bit Rate</source> - <translation>Bit Rate</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="187"/> - <source>Minimum:</source> - <translation>Minimalus:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="204"/> - <source>Maximum:</source> - <translation>Maksimalus:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="214"/> - <source>Nominal:</source> - <translation>Nominalus:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="246"/> - <source>Ogg Vorbis Tag</source> - <translation>Оgg Vorbis Tag</translation> - </message> - <message> - <location filename="../detailsdialog.cpp" line="65"/> - <location filename="../detailsdialog.cpp" line="67"/> - <location filename="../detailsdialog.cpp" line="69"/> + <location filename="../detailsdialog.cpp" line="61"/> <source>kbps</source> <translation>kbps</translation> </message> <message> - <location filename="../detailsdialog.cpp" line="70"/> + <location filename="../detailsdialog.cpp" line="61"/> + <source>Bitrate</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="62"/> <source>KB</source> <translation>KB</translation> </message> <message> - <location filename="../detailsdialog.ui" line="13"/> - <source>Details</source> - <translation>Informacija</translation> + <location filename="../detailsdialog.cpp" line="62"/> + <source>File size</source> + <translation type="unfinished"></translation> </message> </context> </TS> diff --git a/src/plugins/Input/vorbis/translations/vorbis_plugin_pl.ts b/src/plugins/Input/vorbis/translations/vorbis_plugin_pl.ts index 2e1ce1c61..9602ad754 100644 --- a/src/plugins/Input/vorbis/translations/vorbis_plugin_pl.ts +++ b/src/plugins/Input/vorbis/translations/vorbis_plugin_pl.ts @@ -14,22 +14,22 @@ <translation>Pliki Ogg Vorbis</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="113"/> + <location filename="../decodervorbisfactory.cpp" line="120"/> <source>About Ogg Vorbis Audio Plugin</source> <translation>O wtyczce Ogg Vorbis Audio</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="114"/> + <location filename="../decodervorbisfactory.cpp" line="121"/> <source>Qmmp Ogg Vorbis Audio Plugin</source> <translation>Wtyczka Ogg Vorbis dla Qmmp</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="115"/> + <location filename="../decodervorbisfactory.cpp" line="122"/> <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> <translation>Autor: Ilja Kotov <forkotov02@hotmail.ru></translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="116"/> + <location filename="../decodervorbisfactory.cpp" line="123"/> <source>Source code based on mq3 progect</source> <translation>Kod źródłowy oparty jest na projekcie mq3</translation> </message> @@ -37,137 +37,44 @@ <context> <name>DetailsDialog</name> <message> - <location filename="../detailsdialog.cpp" line="61"/> - <source>Hz</source> - <translation></translation> - </message> - <message> - <location filename="../detailsdialog.cpp" line="65"/> - <location filename="../detailsdialog.cpp" line="67"/> - <location filename="../detailsdialog.cpp" line="69"/> - <source>kbps</source> - <translation></translation> - </message> - <message> - <location filename="../detailsdialog.cpp" line="70"/> - <source>KB</source> - <translation></translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="13"/> - <source>Details</source> - <translation>Szczegóły pliku</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="19"/> - <source>File path:</source> - <translation>Ścieżka do pliku:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="42"/> - <source>Ogg Vorbis Info</source> - <translation></translation> + <location filename="../detailsdialog.cpp" line="58"/> + <source>Length</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="66"/> - <location filename="../detailsdialog.ui" line="76"/> - <location filename="../detailsdialog.ui" line="93"/> - <location filename="../detailsdialog.ui" line="110"/> - <location filename="../detailsdialog.ui" line="170"/> - <location filename="../detailsdialog.ui" line="177"/> - <location filename="../detailsdialog.ui" line="197"/> - <source>-</source> + <location filename="../detailsdialog.cpp" line="59"/> + <source>Hz</source> <translation></translation> </message> <message> - <location filename="../detailsdialog.ui" line="83"/> - <source>Length:</source> - <translation>Długość:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="100"/> - <source>Sample rate:</source> - <translation>Próbkowanie:</translation> + <location filename="../detailsdialog.cpp" line="59"/> + <source>Sample rate</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="120"/> - <source>Channels:</source> - <translation>Kanały:</translation> + <location filename="../detailsdialog.cpp" line="60"/> + <source>Channels</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="143"/> - <source>Bit Rate</source> - <translation>Szyb. transmisji</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="187"/> - <source>Minimum:</source> + <location filename="../detailsdialog.cpp" line="61"/> + <source>kbps</source> <translation></translation> </message> <message> - <location filename="../detailsdialog.ui" line="204"/> - <source>Maximum:</source> - <translation>Maksimum:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="214"/> - <source>Nominal:</source> - <translation>Nominalny:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="227"/> - <source>File size:</source> - <translation>Wielkość pliku:</translation> + <location filename="../detailsdialog.cpp" line="61"/> + <source>Bitrate</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="246"/> - <source>Ogg Vorbis Tag</source> + <location filename="../detailsdialog.cpp" line="62"/> + <source>KB</source> <translation></translation> </message> <message> - <location filename="../detailsdialog.ui" line="273"/> - <source>Save</source> - <translation>Zapisz</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="283"/> - <source>Track number:</source> - <translation>Numer utworu:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="296"/> - <source>Year:</source> - <translation>Rok:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="306"/> - <source>Genre:</source> - <translation>Gatunek:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="316"/> - <source>Comment:</source> - <translation>Komentarz:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="326"/> - <source>Album:</source> - <translation>Album:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="336"/> - <source>Artist:</source> - <translation>Artysta:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="346"/> - <source>Title:</source> - <translation>Tytuł:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="387"/> - <source>Close</source> - <translation>Zamknij</translation> + <location filename="../detailsdialog.cpp" line="62"/> + <source>File size</source> + <translation type="unfinished"></translation> </message> </context> </TS> diff --git a/src/plugins/Input/vorbis/translations/vorbis_plugin_ru.ts b/src/plugins/Input/vorbis/translations/vorbis_plugin_ru.ts index 9f32ad675..1cac01d3b 100644 --- a/src/plugins/Input/vorbis/translations/vorbis_plugin_ru.ts +++ b/src/plugins/Input/vorbis/translations/vorbis_plugin_ru.ts @@ -14,22 +14,22 @@ <translation>Файлы Ogg Vorbis</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="113"/> + <location filename="../decodervorbisfactory.cpp" line="120"/> <source>About Ogg Vorbis Audio Plugin</source> <translation>Об аудио-модуле Ogg Vorbis</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="114"/> + <location filename="../decodervorbisfactory.cpp" line="121"/> <source>Qmmp Ogg Vorbis Audio Plugin</source> <translation>Аудио-модуль Ogg Vorbis для Qmmp</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="115"/> + <location filename="../decodervorbisfactory.cpp" line="122"/> <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> <translation>Разработчик: Илья Котов <forkotov02@hotmail.ru></translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="116"/> + <location filename="../decodervorbisfactory.cpp" line="123"/> <source>Source code based on mq3 progect</source> <translation>Исходный код основан на проекте mq3</translation> </message> @@ -37,137 +37,44 @@ <context> <name>DetailsDialog</name> <message> - <location filename="../detailsdialog.cpp" line="61"/> + <location filename="../detailsdialog.cpp" line="59"/> <source>Hz</source> <translation>Гц</translation> </message> <message> - <location filename="../detailsdialog.ui" line="273"/> - <source>Save</source> - <translation>Сохранить</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="283"/> - <source>Track number:</source> - <translation>Номер трека:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="296"/> - <source>Year:</source> - <translation>Год:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="306"/> - <source>Genre:</source> - <translation>Жанр:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="316"/> - <source>Comment:</source> - <translation>Комментарий:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="326"/> - <source>Album:</source> - <translation>Альбом:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="336"/> - <source>Artist:</source> - <translation>Исполнитель:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="346"/> - <source>Title:</source> - <translation>Название:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="387"/> - <source>Close</source> - <translation>Закрыть</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="66"/> - <location filename="../detailsdialog.ui" line="76"/> - <location filename="../detailsdialog.ui" line="93"/> - <location filename="../detailsdialog.ui" line="110"/> - <location filename="../detailsdialog.ui" line="170"/> - <location filename="../detailsdialog.ui" line="177"/> - <location filename="../detailsdialog.ui" line="197"/> - <source>-</source> - <translation></translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="227"/> - <source>File size:</source> - <translation>Размер файла:</translation> + <location filename="../detailsdialog.cpp" line="58"/> + <source>Length</source> + <translation>Длительность</translation> </message> <message> - <location filename="../detailsdialog.ui" line="100"/> - <source>Sample rate:</source> - <translation>Дискретизация:</translation> + <location filename="../detailsdialog.cpp" line="59"/> + <source>Sample rate</source> + <translation>Дискретизация</translation> </message> <message> - <location filename="../detailsdialog.ui" line="19"/> - <source>File path:</source> - <translation>Путь к файлу:</translation> + <location filename="../detailsdialog.cpp" line="60"/> + <source>Channels</source> + <translation>Каналов</translation> </message> <message> - <location filename="../detailsdialog.ui" line="42"/> - <source>Ogg Vorbis Info</source> - <translation>Информация Ogg Vorbis</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="83"/> - <source>Length:</source> - <translation>Длительность:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="120"/> - <source>Channels:</source> - <translation>Каналов:</translation> + <location filename="../detailsdialog.cpp" line="61"/> + <source>kbps</source> + <translation>Кб/с</translation> </message> <message> - <location filename="../detailsdialog.ui" line="143"/> - <source>Bit Rate</source> + <location filename="../detailsdialog.cpp" line="61"/> + <source>Bitrate</source> <translation>Битовая частота</translation> </message> <message> - <location filename="../detailsdialog.ui" line="187"/> - <source>Minimum:</source> - <translation>Минимальная:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="204"/> - <source>Maximum:</source> - <translation>Максимальная:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="214"/> - <source>Nominal:</source> - <translation>Номинальная:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="246"/> - <source>Ogg Vorbis Tag</source> - <translation>Оgg Vorbis-тег</translation> - </message> - <message> - <location filename="../detailsdialog.cpp" line="65"/> - <location filename="../detailsdialog.cpp" line="67"/> - <location filename="../detailsdialog.cpp" line="69"/> - <source>kbps</source> - <translation>Кб/с</translation> - </message> - <message> - <location filename="../detailsdialog.cpp" line="70"/> + <location filename="../detailsdialog.cpp" line="62"/> <source>KB</source> <translation>Кб</translation> </message> <message> - <location filename="../detailsdialog.ui" line="13"/> - <source>Details</source> - <translation>Информация</translation> + <location filename="../detailsdialog.cpp" line="62"/> + <source>File size</source> + <translation>Размер файла</translation> </message> </context> </TS> diff --git a/src/plugins/Input/vorbis/translations/vorbis_plugin_tr.ts b/src/plugins/Input/vorbis/translations/vorbis_plugin_tr.ts index d1c9b77cf..0a6c3c920 100644 --- a/src/plugins/Input/vorbis/translations/vorbis_plugin_tr.ts +++ b/src/plugins/Input/vorbis/translations/vorbis_plugin_tr.ts @@ -14,22 +14,22 @@ <translation>Ogg Vorbis Dosyaları</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="113"/> + <location filename="../decodervorbisfactory.cpp" line="120"/> <source>About Ogg Vorbis Audio Plugin</source> <translation>Ogg Vorbis Ses Eklentisi Hakkında</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="114"/> + <location filename="../decodervorbisfactory.cpp" line="121"/> <source>Qmmp Ogg Vorbis Audio Plugin</source> <translation>Qmmp Ogg Vorbis Ses Eklentisi</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="115"/> + <location filename="../decodervorbisfactory.cpp" line="122"/> <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> <translation>Yazan: Ilya Kotov <forkotov02@hotmail.ru></translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="116"/> + <location filename="../decodervorbisfactory.cpp" line="123"/> <source>Source code based on mq3 progect</source> <translation>Kaynak kodu mq3 projesi temellidir</translation> </message> @@ -37,137 +37,44 @@ <context> <name>DetailsDialog</name> <message> - <location filename="../detailsdialog.cpp" line="61"/> - <source>Hz</source> - <translation>Hz</translation> - </message> - <message> - <location filename="../detailsdialog.cpp" line="65"/> - <location filename="../detailsdialog.cpp" line="67"/> - <location filename="../detailsdialog.cpp" line="69"/> - <source>kbps</source> - <translation>kbps</translation> - </message> - <message> - <location filename="../detailsdialog.cpp" line="70"/> - <source>KB</source> - <translation>KB</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="13"/> - <source>Details</source> - <translation>Detaylar</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="19"/> - <source>File path:</source> - <translation>Dosya konumu:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="42"/> - <source>Ogg Vorbis Info</source> - <translation>Ogg Vorbis Bilgisi</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="66"/> - <location filename="../detailsdialog.ui" line="76"/> - <location filename="../detailsdialog.ui" line="93"/> - <location filename="../detailsdialog.ui" line="110"/> - <location filename="../detailsdialog.ui" line="170"/> - <location filename="../detailsdialog.ui" line="177"/> - <location filename="../detailsdialog.ui" line="197"/> - <source>-</source> - <translation>-</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="83"/> - <source>Length:</source> - <translation>Uzunluk:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="100"/> - <source>Sample rate:</source> - <translation>Örnekleme oranı:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="120"/> - <source>Channels:</source> - <translation>Kanallar:</translation> + <location filename="../detailsdialog.cpp" line="58"/> + <source>Length</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="143"/> - <source>Bit Rate</source> - <translation>Bit Oranı</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="187"/> - <source>Minimum:</source> - <translation>Asgari:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="204"/> - <source>Maximum:</source> - <translation>Azami:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="214"/> - <source>Nominal:</source> - <translation>Tanımlanmış:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="227"/> - <source>File size:</source> - <translation>Dosya boyutu:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="246"/> - <source>Ogg Vorbis Tag</source> - <translation>Ogg Vorbis Etiketi</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="273"/> - <source>Save</source> - <translation>Kaydet</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="283"/> - <source>Track number:</source> - <translation>Parça numarası:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="296"/> - <source>Year:</source> - <translation>Yıl:</translation> + <location filename="../detailsdialog.cpp" line="59"/> + <source>Hz</source> + <translation>Hz</translation> </message> <message> - <location filename="../detailsdialog.ui" line="306"/> - <source>Genre:</source> - <translation>Tür:</translation> + <location filename="../detailsdialog.cpp" line="59"/> + <source>Sample rate</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="316"/> - <source>Comment:</source> - <translation>Yorum:</translation> + <location filename="../detailsdialog.cpp" line="60"/> + <source>Channels</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="326"/> - <source>Album:</source> - <translation>Albüm:</translation> + <location filename="../detailsdialog.cpp" line="61"/> + <source>kbps</source> + <translation>kbps</translation> </message> <message> - <location filename="../detailsdialog.ui" line="336"/> - <source>Artist:</source> - <translation>Artist:</translation> + <location filename="../detailsdialog.cpp" line="61"/> + <source>Bitrate</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="346"/> - <source>Title:</source> - <translation>Başlık:</translation> + <location filename="../detailsdialog.cpp" line="62"/> + <source>KB</source> + <translation>KB</translation> </message> <message> - <location filename="../detailsdialog.ui" line="387"/> - <source>Close</source> - <translation>Kapat</translation> + <location filename="../detailsdialog.cpp" line="62"/> + <source>File size</source> + <translation type="unfinished"></translation> </message> </context> </TS> diff --git a/src/plugins/Input/vorbis/translations/vorbis_plugin_uk_UA.ts b/src/plugins/Input/vorbis/translations/vorbis_plugin_uk_UA.ts index 416f1052f..ec2ed94a9 100644 --- a/src/plugins/Input/vorbis/translations/vorbis_plugin_uk_UA.ts +++ b/src/plugins/Input/vorbis/translations/vorbis_plugin_uk_UA.ts @@ -14,22 +14,22 @@ <translation>Файли Ogg Vorbis</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="113"/> + <location filename="../decodervorbisfactory.cpp" line="120"/> <source>About Ogg Vorbis Audio Plugin</source> <translation>Про аудіо-модуль Ogg Vorbis</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="114"/> + <location filename="../decodervorbisfactory.cpp" line="121"/> <source>Qmmp Ogg Vorbis Audio Plugin</source> <translation>Аудіо-модуль Ogg Vorbis для Qmmp</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="115"/> + <location filename="../decodervorbisfactory.cpp" line="122"/> <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> <translation>Розробник: Ілля Котов <forkotov02@hotmail.ru></translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="116"/> + <location filename="../decodervorbisfactory.cpp" line="123"/> <source>Source code based on mq3 progect</source> <translation>Вихідний код базується на проекті mq3</translation> </message> @@ -37,137 +37,44 @@ <context> <name>DetailsDialog</name> <message> - <location filename="../detailsdialog.cpp" line="61"/> + <location filename="../detailsdialog.cpp" line="59"/> <source>Hz</source> <translation>Гц</translation> </message> <message> - <location filename="../detailsdialog.ui" line="273"/> - <source>Save</source> - <translation>Зберегти</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="283"/> - <source>Track number:</source> - <translation>Номер треку:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="296"/> - <source>Year:</source> - <translation>Рік:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="306"/> - <source>Genre:</source> - <translation>Жанр:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="316"/> - <source>Comment:</source> - <translation>Коментар:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="326"/> - <source>Album:</source> - <translation>Альбом:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="336"/> - <source>Artist:</source> - <translation>Виконавець:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="346"/> - <source>Title:</source> - <translation>Назва:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="387"/> - <source>Close</source> - <translation>Закрити</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="66"/> - <location filename="../detailsdialog.ui" line="76"/> - <location filename="../detailsdialog.ui" line="93"/> - <location filename="../detailsdialog.ui" line="110"/> - <location filename="../detailsdialog.ui" line="170"/> - <location filename="../detailsdialog.ui" line="177"/> - <location filename="../detailsdialog.ui" line="197"/> - <source>-</source> - <translation>-</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="227"/> - <source>File size:</source> - <translation>Розмір файлу:</translation> + <location filename="../detailsdialog.cpp" line="58"/> + <source>Length</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="100"/> - <source>Sample rate:</source> - <translation>Дискретизація:</translation> + <location filename="../detailsdialog.cpp" line="59"/> + <source>Sample rate</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="19"/> - <source>File path:</source> - <translation>Шлях до файлу:</translation> + <location filename="../detailsdialog.cpp" line="60"/> + <source>Channels</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="42"/> - <source>Ogg Vorbis Info</source> - <translation>Інформація Ogg Vorbis</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="83"/> - <source>Length:</source> - <translation>Тривалість:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="120"/> - <source>Channels:</source> - <translation>Каналів:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="143"/> - <source>Bit Rate</source> - <translation>Бітова частота</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="187"/> - <source>Minimum:</source> - <translation>Мінімальна:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="204"/> - <source>Maximum:</source> - <translation>Максимальна:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="214"/> - <source>Nominal:</source> - <translation>Номінальна:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="246"/> - <source>Ogg Vorbis Tag</source> - <translation>Оgg Vorbis-тег</translation> - </message> - <message> - <location filename="../detailsdialog.cpp" line="65"/> - <location filename="../detailsdialog.cpp" line="67"/> - <location filename="../detailsdialog.cpp" line="69"/> + <location filename="../detailsdialog.cpp" line="61"/> <source>kbps</source> <translation>Кб/с</translation> </message> <message> - <location filename="../detailsdialog.cpp" line="70"/> + <location filename="../detailsdialog.cpp" line="61"/> + <source>Bitrate</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="62"/> <source>KB</source> <translation>Кб</translation> </message> <message> - <location filename="../detailsdialog.ui" line="13"/> - <source>Details</source> - <translation>Інформація</translation> + <location filename="../detailsdialog.cpp" line="62"/> + <source>File size</source> + <translation type="unfinished"></translation> </message> </context> </TS> diff --git a/src/plugins/Input/vorbis/translations/vorbis_plugin_zh_CN.ts b/src/plugins/Input/vorbis/translations/vorbis_plugin_zh_CN.ts index fd4538026..392a252e4 100644 --- a/src/plugins/Input/vorbis/translations/vorbis_plugin_zh_CN.ts +++ b/src/plugins/Input/vorbis/translations/vorbis_plugin_zh_CN.ts @@ -14,22 +14,22 @@ <translation>Ogg Vorbis 文件</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="113"/> + <location filename="../decodervorbisfactory.cpp" line="120"/> <source>About Ogg Vorbis Audio Plugin</source> <translation>关于 Ogg Vorbis 音频插件</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="114"/> + <location filename="../decodervorbisfactory.cpp" line="121"/> <source>Qmmp Ogg Vorbis Audio Plugin</source> <translation>Qmmp Ogg Vorbis 音频插件</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="115"/> + <location filename="../decodervorbisfactory.cpp" line="122"/> <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> <translation>作者:Ilya Kotov <forkotov02@hotmail.ru></translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="116"/> + <location filename="../decodervorbisfactory.cpp" line="123"/> <source>Source code based on mq3 progect</source> <translation>源代码基于 mq3 项目</translation> </message> @@ -37,137 +37,44 @@ <context> <name>DetailsDialog</name> <message> - <location filename="../detailsdialog.cpp" line="61"/> + <location filename="../detailsdialog.cpp" line="59"/> <source>Hz</source> <translation>Hz</translation> </message> <message> - <location filename="../detailsdialog.ui" line="273"/> - <source>Save</source> - <translation>保存</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="283"/> - <source>Track number:</source> - <translation>音轨:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="296"/> - <source>Year:</source> - <translation>年代:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="306"/> - <source>Genre:</source> - <translation>流派:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="316"/> - <source>Comment:</source> - <translation>备注:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="326"/> - <source>Album:</source> - <translation>专辑:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="336"/> - <source>Artist:</source> - <translation>艺术家:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="346"/> - <source>Title:</source> - <translation>标题:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="387"/> - <source>Close</source> - <translation>关闭</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="66"/> - <location filename="../detailsdialog.ui" line="76"/> - <location filename="../detailsdialog.ui" line="93"/> - <location filename="../detailsdialog.ui" line="110"/> - <location filename="../detailsdialog.ui" line="170"/> - <location filename="../detailsdialog.ui" line="177"/> - <location filename="../detailsdialog.ui" line="197"/> - <source>-</source> - <translation>-</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="227"/> - <source>File size:</source> - <translation>文件大小:</translation> + <location filename="../detailsdialog.cpp" line="58"/> + <source>Length</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="100"/> - <source>Sample rate:</source> - <translation>取样率:</translation> + <location filename="../detailsdialog.cpp" line="59"/> + <source>Sample rate</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="19"/> - <source>File path:</source> - <translation>文件路径:</translation> + <location filename="../detailsdialog.cpp" line="60"/> + <source>Channels</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="42"/> - <source>Ogg Vorbis Info</source> - <translation>Ogg Vorbis 信息</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="83"/> - <source>Length:</source> - <translation>长度:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="120"/> - <source>Channels:</source> - <translation>声音通道:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="143"/> - <source>Bit Rate</source> - <translation>位速率</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="187"/> - <source>Minimum:</source> - <translation>最小位速率:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="204"/> - <source>Maximum:</source> - <translation>最大位速率:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="214"/> - <source>Nominal:</source> - <translation>名义位速率:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="246"/> - <source>Ogg Vorbis Tag</source> - <translation>Ogg Vorbis 标签</translation> - </message> - <message> - <location filename="../detailsdialog.cpp" line="65"/> - <location filename="../detailsdialog.cpp" line="67"/> - <location filename="../detailsdialog.cpp" line="69"/> + <location filename="../detailsdialog.cpp" line="61"/> <source>kbps</source> <translation>kbps</translation> </message> <message> - <location filename="../detailsdialog.cpp" line="70"/> + <location filename="../detailsdialog.cpp" line="61"/> + <source>Bitrate</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="62"/> <source>KB</source> <translation>KB</translation> </message> <message> - <location filename="../detailsdialog.ui" line="13"/> - <source>Details</source> - <translation>详细资料</translation> + <location filename="../detailsdialog.cpp" line="62"/> + <source>File size</source> + <translation type="unfinished"></translation> </message> </context> </TS> diff --git a/src/plugins/Input/vorbis/translations/vorbis_plugin_zh_TW.ts b/src/plugins/Input/vorbis/translations/vorbis_plugin_zh_TW.ts index ea6fcf6ea..34f32f6eb 100644 --- a/src/plugins/Input/vorbis/translations/vorbis_plugin_zh_TW.ts +++ b/src/plugins/Input/vorbis/translations/vorbis_plugin_zh_TW.ts @@ -14,22 +14,22 @@ <translation>Ogg Vorbis 檔案</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="113"/> + <location filename="../decodervorbisfactory.cpp" line="120"/> <source>About Ogg Vorbis Audio Plugin</source> <translation>關於 Ogg Vorbis 聲訊插件</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="114"/> + <location filename="../decodervorbisfactory.cpp" line="121"/> <source>Qmmp Ogg Vorbis Audio Plugin</source> <translation>Qmmp Ogg Vorbis 聲訊插件</translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="115"/> + <location filename="../decodervorbisfactory.cpp" line="122"/> <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> <translation>作者:Ilya Kotov <forkotov02@hotmail.ru></translation> </message> <message> - <location filename="../decodervorbisfactory.cpp" line="116"/> + <location filename="../decodervorbisfactory.cpp" line="123"/> <source>Source code based on mq3 progect</source> <translation>源碼基於 mq3 項目</translation> </message> @@ -37,137 +37,44 @@ <context> <name>DetailsDialog</name> <message> - <location filename="../detailsdialog.cpp" line="61"/> + <location filename="../detailsdialog.cpp" line="59"/> <source>Hz</source> <translation>Hz</translation> </message> <message> - <location filename="../detailsdialog.ui" line="273"/> - <source>Save</source> - <translation>儲存</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="283"/> - <source>Track number:</source> - <translation>音軌:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="296"/> - <source>Year:</source> - <translation>年代:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="306"/> - <source>Genre:</source> - <translation>流派:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="316"/> - <source>Comment:</source> - <translation>備註:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="326"/> - <source>Album:</source> - <translation>專輯:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="336"/> - <source>Artist:</source> - <translation>藝術家:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="346"/> - <source>Title:</source> - <translation>標題:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="387"/> - <source>Close</source> - <translation>關閉</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="66"/> - <location filename="../detailsdialog.ui" line="76"/> - <location filename="../detailsdialog.ui" line="93"/> - <location filename="../detailsdialog.ui" line="110"/> - <location filename="../detailsdialog.ui" line="170"/> - <location filename="../detailsdialog.ui" line="177"/> - <location filename="../detailsdialog.ui" line="197"/> - <source>-</source> - <translation>-</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="227"/> - <source>File size:</source> - <translation>檔案大小:</translation> + <location filename="../detailsdialog.cpp" line="58"/> + <source>Length</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="100"/> - <source>Sample rate:</source> - <translation>取樣率:</translation> + <location filename="../detailsdialog.cpp" line="59"/> + <source>Sample rate</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="19"/> - <source>File path:</source> - <translation>檔案路徑:</translation> + <location filename="../detailsdialog.cpp" line="60"/> + <source>Channels</source> + <translation type="unfinished"></translation> </message> <message> - <location filename="../detailsdialog.ui" line="42"/> - <source>Ogg Vorbis Info</source> - <translation>Ogg Vorbis 資訊</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="83"/> - <source>Length:</source> - <translation>長度:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="120"/> - <source>Channels:</source> - <translation>音頻通道:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="143"/> - <source>Bit Rate</source> - <translation>位速率</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="187"/> - <source>Minimum:</source> - <translation>最小位速率:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="204"/> - <source>Maximum:</source> - <translation>最大位速率:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="214"/> - <source>Nominal:</source> - <translation>名義位速率:</translation> - </message> - <message> - <location filename="../detailsdialog.ui" line="246"/> - <source>Ogg Vorbis Tag</source> - <translation>Ogg Vorbis 標簽</translation> - </message> - <message> - <location filename="../detailsdialog.cpp" line="65"/> - <location filename="../detailsdialog.cpp" line="67"/> - <location filename="../detailsdialog.cpp" line="69"/> + <location filename="../detailsdialog.cpp" line="61"/> <source>kbps</source> <translation>kbps</translation> </message> <message> - <location filename="../detailsdialog.cpp" line="70"/> + <location filename="../detailsdialog.cpp" line="61"/> + <source>Bitrate</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="62"/> <source>KB</source> <translation>KB</translation> </message> <message> - <location filename="../detailsdialog.ui" line="13"/> - <source>Details</source> - <translation>詳細資料</translation> + <location filename="../detailsdialog.cpp" line="62"/> + <source>File size</source> + <translation type="unfinished"></translation> </message> </context> </TS> diff --git a/src/plugins/Input/vorbis/vorbis.pro b/src/plugins/Input/vorbis/vorbis.pro index d8fd097c1..08ae89b20 100644 --- a/src/plugins/Input/vorbis/vorbis.pro +++ b/src/plugins/Input/vorbis/vorbis.pro @@ -1,39 +1,37 @@ include(../../plugins.pri) - -FORMS += detailsdialog.ui +FORMS += HEADERS += decodervorbisfactory.h \ - decoder_vorbis.h \ - detailsdialog.h + decoder_vorbis.h \ + detailsdialog.h SOURCES += decoder_vorbis.cpp \ - decodervorbisfactory.cpp \ - detailsdialog.cpp - -TARGET=$$PLUGINS_PREFIX/Input/vorbis -QMAKE_CLEAN =$$PLUGINS_PREFIX/Input/libvorbis.so - + decodervorbisfactory.cpp \ + detailsdialog.cpp +TARGET = $$PLUGINS_PREFIX/Input/vorbis +QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libvorbis.so INCLUDEPATH += ../../../ CONFIG += release \ -warn_on \ -plugin \ -link_pkgconfig + warn_on \ + plugin \ + link_pkgconfig TEMPLATE = lib QMAKE_LIBDIR += ../../../../lib -LIBS += -lqmmp -L/usr/lib -PKGCONFIG += taglib ogg vorbisfile vorbis +LIBS += -lqmmp \ + -L/usr/lib +PKGCONFIG += taglib \ + ogg \ + vorbisfile \ + vorbis TRANSLATIONS = translations/vorbis_plugin_ru.ts \ - translations/vorbis_plugin_uk_UA.ts \ - translations/vorbis_plugin_zh_CN.ts \ - translations/vorbis_plugin_zh_TW.ts \ - translations/vorbis_plugin_cs.ts \ - translations/vorbis_plugin_pl.ts \ - translations/vorbis_plugin_de.ts \ - translations/vorbis_plugin_it.ts \ - translations/vorbis_plugin_tr.ts \ - translations/vorbis_plugin_lt.ts + translations/vorbis_plugin_uk_UA.ts \ + translations/vorbis_plugin_zh_CN.ts \ + translations/vorbis_plugin_zh_TW.ts \ + translations/vorbis_plugin_cs.ts \ + translations/vorbis_plugin_pl.ts \ + translations/vorbis_plugin_de.ts \ + translations/vorbis_plugin_it.ts \ + translations/vorbis_plugin_tr.ts \ + translations/vorbis_plugin_lt.ts RESOURCES = translations/translations.qrc - -isEmpty (LIB_DIR){ -LIB_DIR = /lib -} +isEmpty (LIB_DIR):LIB_DIR = /lib target.path = $$LIB_DIR/qmmp/Input INSTALLS += target |
