diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-01-01 14:12:32 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-01-01 14:12:32 +0000 |
| commit | 574126895e619f98fabeaad501cef4627b48af19 (patch) | |
| tree | 968b607c390c5f63a65413e0280a14619437959d /src/plugins/Input | |
| parent | 1cc6e6039d5c0d83450dd9ae5d8d6636c31e1521 (diff) | |
| download | qmmp-574126895e619f98fabeaad501cef4627b48af19.tar.gz qmmp-574126895e619f98fabeaad501cef4627b48af19.tar.bz2 qmmp-574126895e619f98fabeaad501cef4627b48af19.zip | |
mplayer plugin: added details dialog and Russsian translation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@724 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input')
| -rw-r--r-- | src/plugins/Input/mplayer/CMakeLists.txt | 9 | ||||
| -rw-r--r-- | src/plugins/Input/mplayer/decodermplayerfactory.cpp | 20 | ||||
| -rw-r--r-- | src/plugins/Input/mplayer/detailsdialog.cpp | 106 | ||||
| -rw-r--r-- | src/plugins/Input/mplayer/detailsdialog.h | 43 | ||||
| -rw-r--r-- | src/plugins/Input/mplayer/detailsdialog.ui | 390 | ||||
| -rw-r--r-- | src/plugins/Input/mplayer/mplayer.pro | 21 | ||||
| -rw-r--r-- | src/plugins/Input/mplayer/translations/mplayer_plugin_cs.ts | 134 | ||||
| -rw-r--r-- | src/plugins/Input/mplayer/translations/mplayer_plugin_de.ts | 134 | ||||
| -rw-r--r-- | src/plugins/Input/mplayer/translations/mplayer_plugin_ru.ts | 134 | ||||
| -rw-r--r-- | src/plugins/Input/mplayer/translations/mplayer_plugin_uk_UA.ts | 134 | ||||
| -rw-r--r-- | src/plugins/Input/mplayer/translations/mplayer_plugin_zh_CN.ts | 134 | ||||
| -rw-r--r-- | src/plugins/Input/mplayer/translations/mplayer_plugin_zh_TW.ts | 134 | ||||
| -rw-r--r-- | src/plugins/Input/mplayer/translations/translations.qrc | 11 |
13 files changed, 1384 insertions, 20 deletions
diff --git a/src/plugins/Input/mplayer/CMakeLists.txt b/src/plugins/Input/mplayer/CMakeLists.txt index 870b06ef1..3cb2bc956 100644 --- a/src/plugins/Input/mplayer/CMakeLists.txt +++ b/src/plugins/Input/mplayer/CMakeLists.txt @@ -30,16 +30,18 @@ link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmp) SET(libmplayer_SRCS decoder_mplayer.cpp decodermplayerfactory.cpp + detailsdialog.cpp # settingsdialog.cpp ) SET(libmplayer_MOC_HDRS decodermplayerfactory.h decoder_mplayer.h + detailsdialog.h # settingsdialog.h ) -#SET(libmplayer_RCCS translations/translations.qrc) +SET(libmplayer_RCCS translations/translations.qrc) QT4_ADD_RESOURCES(libmplayer_RCC_SRCS ${libmplayer_RCCS}) @@ -48,9 +50,10 @@ QT4_WRAP_CPP(libmplayer_MOC_SRCS ${libmplayer_MOC_HDRS}) # user interface -#SET(libmplayer_UIS +SET(libmplayer_UIS # settingsdialog.ui -#) + detailsdialog.ui +) QT4_WRAP_UI(libmplayer_UIS_H ${libmplayer_UIS}) # Don't forget to include output directory, otherwise diff --git a/src/plugins/Input/mplayer/decodermplayerfactory.cpp b/src/plugins/Input/mplayer/decodermplayerfactory.cpp index b274cdb07..acabeda40 100644 --- a/src/plugins/Input/mplayer/decodermplayerfactory.cpp +++ b/src/plugins/Input/mplayer/decodermplayerfactory.cpp @@ -19,6 +19,7 @@ ***************************************************************************/ #include <QtGui> +#include "detailsdialog.h" #include "decoder_mplayer.h" #include "decodermplayerfactory.h" @@ -59,7 +60,7 @@ const DecoderProperties DecoderMplayerFactory::properties() const } Decoder *DecoderMplayerFactory::create(QObject *parent, QIODevice *input, - Output *output, const QString &url) + Output *output, const QString &url) { Q_UNUSED(input); Q_UNUSED(output); @@ -74,21 +75,24 @@ QList<FileInfo *> DecoderMplayerFactory::createPlayList(const QString &fileName, return info; } -QObject* DecoderMplayerFactory::showDetails(QWidget *, const QString &) +QObject* DecoderMplayerFactory::showDetails(QWidget *parent, const QString &path) { - return 0; + DetailsDialog *d = new DetailsDialog(path, parent); + d->show(); + return d; } void DecoderMplayerFactory::showSettings(QWidget *) { - /*SettingsDialog *s = new SettingsDialog(parent); - s->show();*/ + /*SettingsDialog *s = new SettingsDialog(parent); + s->show();*/ } void DecoderMplayerFactory::showAbout(QWidget *parent) { - QMessageBox::about (parent, tr("About Mplayer Audio Plugin"), - tr("Qmmp Mplayer Audio Plugin")+"\n"+ + QMessageBox::about (parent, tr("About MPlayer Plugin"), + tr("Qmmp MPlayer Plugin")+"\n"+ + tr("This plugin uses MPlayer as backend")+"\n"+ tr("Writen by: Ilya Kotov <forkotov02@hotmail.ru>")); } @@ -96,7 +100,7 @@ QTranslator *DecoderMplayerFactory::createTranslator(QObject *parent) { QTranslator *translator = new QTranslator(parent); QString locale = QLocale::system().name(); - translator->load(QString(":/phonon_plugin_") + locale); + translator->load(QString(":/mplayer_plugin_") + locale); return translator; } diff --git a/src/plugins/Input/mplayer/detailsdialog.cpp b/src/plugins/Input/mplayer/detailsdialog.cpp new file mode 100644 index 000000000..b24fed9dc --- /dev/null +++ b/src/plugins/Input/mplayer/detailsdialog.cpp @@ -0,0 +1,106 @@ +/*************************************************************************** + * 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 <QProcess> +#include <QRegExp> +#include <QFileInfo> + +#include "detailsdialog.h" + +DetailsDialog::DetailsDialog(const QString &path, QWidget *parent) + : QDialog(parent) +{ + ui.setupUi(this); + setAttribute(Qt::WA_DeleteOnClose); + ui.pathLineEdit->setText(path); + ui.sizeLabel->setText(QString("%1 ").arg(QFileInfo(path).size ()/1024)+tr("KB")); + //regular expressions + QRegExp rx_id_length("^ID_LENGTH=([0-9,.]+)*"); + QRegExp rx_id_demuxer("^ID_DEMUXER=(.*)"); + QRegExp rx_id_video_bitrate("^ID_VIDEO_BITRATE=([0-9,.]+)*"); + QRegExp rx_id_width("^ID_VIDEO_WIDTH=([0-9,.]+)*"); + QRegExp rx_id_height("^ID_VIDEO_HEIGHT=([0-9,.]+)*"); + QRegExp rx_id_video_format("^ID_VIDEO_FORMAT=(.*)"); + QRegExp rx_id_video_fps("^ID_VIDEO_FPS=([0-9,.]+)*"); + QRegExp rx_id_video_codec("^ID_VIDEO_CODEC=(.*)"); + QRegExp rx_id_video_aspect("^ID_VIDEO_ASPECT=([0-9,.]+)*"); + QRegExp rx_id_audio_bitrate("^ID_AUDIO_BITRATE=([0-9,.]+)*"); + QRegExp rx_id_audio_rate("^ID_AUDIO_RATE=([0-9,.]+)*"); + QRegExp rx_id_audio_nch("^ID_AUDIO_NCH=([0-9,.]+)*"); + QRegExp rx_id_audio_codec("^ID_AUDIO_CODEC=(.*)"); + //prepare and start mplayer process + QStringList args; + args << "-slave"; + args << "-identify"; + args << "-frames"; + args << "0"; + args << "-vo"; + args << "null"; + args << "-ao"; + args << "null"; + args << path; + QProcess mplayer_process; + mplayer_process.start("mplayer", args); + mplayer_process.waitForFinished(); + QString str = QString::fromLocal8Bit(mplayer_process.readAll()).trimmed(); + QStringList lines = str.split("\n"); + int height = 0, width = 0; + //mplayer std output parsing + foreach(QString line, lines) + { + //general info + if (rx_id_length.indexIn(line) > -1) + ui.lengthLabel->setText(rx_id_length.cap(1)); //TODO use hh:mm:ss format + else if (rx_id_demuxer.indexIn(line) > -1) + ui.demuxerLabel->setText(rx_id_demuxer.cap(1)); + //video info + else if (rx_id_video_format.indexIn(line) > -1) + ui.videoFormatLabel->setText(rx_id_video_format.cap(1)); + else if (rx_id_video_fps.indexIn(line) > -1) + ui.fpsLabel->setText(rx_id_video_fps.cap(1)); + else if (rx_id_video_codec.indexIn(line) > -1) + ui.videoCodecLabel->setText(rx_id_video_codec.cap(1)); + else if (rx_id_video_aspect.indexIn(line) > -1) + ui. ratioLabel->setText(rx_id_video_aspect.cap(1)); + else if (rx_id_video_bitrate.indexIn(line) > -1) + ui.videoBitrateLabel->setText(rx_id_video_bitrate.cap(1)); + else if (rx_id_width.indexIn(line) > -1) + width = rx_id_width.cap(1).toInt(); + else if (rx_id_height.indexIn(line) > -1) + height = rx_id_height.cap(1).toInt(); + //audio info + else if (rx_id_audio_codec.indexIn(line) > -1) + ui.audioCodecLabel->setText(rx_id_audio_codec.cap(1)); + else if (rx_id_audio_rate.indexIn(line) > -1) + ui.sampleRateLabel->setText(rx_id_audio_rate.cap(1)); + else if (rx_id_audio_bitrate.indexIn(line) > -1) + ui.audioBitrateLabel->setText(rx_id_audio_bitrate.cap(1)); + else if (rx_id_audio_nch.indexIn(line) > -1) + ui.channelsLabel->setText(rx_id_audio_nch.cap(1)); + } + ui.resolutionLabel->setText(QString("%1x%2").arg(width).arg(height)); +} + + +DetailsDialog::~DetailsDialog() +{ +} + + diff --git a/src/plugins/Input/mplayer/detailsdialog.h b/src/plugins/Input/mplayer/detailsdialog.h new file mode 100644 index 000000000..0d4af20a7 --- /dev/null +++ b/src/plugins/Input/mplayer/detailsdialog.h @@ -0,0 +1,43 @@ +/*************************************************************************** + * 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 "ui_detailsdialog.h" + +/** + @author Ilya Kotov <forkotov02@hotmail.ru> +*/ +class DetailsDialog : public QDialog +{ + Q_OBJECT +public: + DetailsDialog(const QString &path, QWidget *parent = 0); + + ~DetailsDialog(); + +private: + Ui::DetailsDialog ui; + +}; + +#endif diff --git a/src/plugins/Input/mplayer/detailsdialog.ui b/src/plugins/Input/mplayer/detailsdialog.ui new file mode 100644 index 000000000..37358df2b --- /dev/null +++ b/src/plugins/Input/mplayer/detailsdialog.ui @@ -0,0 +1,390 @@ +<ui version="4.0" > + <class>DetailsDialog</class> + <widget class="QDialog" name="DetailsDialog" > + <property name="geometry" > + <rect> + <x>0</x> + <y>0</y> + <width>415</width> + <height>351</height> + </rect> + </property> + <property name="windowTitle" > + <string>Details</string> + </property> + <layout class="QGridLayout" name="gridLayout_4" > + <property name="leftMargin" > + <number>5</number> + </property> + <property name="topMargin" > + <number>9</number> + </property> + <property name="rightMargin" > + <number>5</number> + </property> + <property name="bottomMargin" > + <number>5</number> + </property> + <item row="0" column="0" colspan="2" > + <widget class="QGroupBox" name="groupBox_3" > + <property name="title" > + <string>General information</string> + </property> + <layout class="QGridLayout" name="gridLayout" > + <item row="0" column="0" > + <widget class="QLabel" name="label" > + <property name="text" > + <string>File path:</string> + </property> + </widget> + </item> + <item row="0" column="1" > + <widget class="QLineEdit" name="pathLineEdit" > + <property name="readOnly" > + <bool>true</bool> + </property> + </widget> + </item> + <item row="1" column="0" > + <widget class="QLabel" name="label_2" > + <property name="text" > + <string>Size:</string> + </property> + </widget> + </item> + <item row="1" column="1" > + <widget class="QLabel" name="sizeLabel" > + <property name="text" > + <string>-</string> + </property> + </widget> + </item> + <item row="2" column="0" > + <widget class="QLabel" name="label_4" > + <property name="text" > + <string>Demuxer:</string> + </property> + </widget> + </item> + <item row="2" column="1" > + <widget class="QLabel" name="demuxerLabel" > + <property name="text" > + <string>-</string> + </property> + </widget> + </item> + <item row="3" column="0" > + <widget class="QLabel" name="label_3" > + <property name="text" > + <string>Length:</string> + </property> + </widget> + </item> + <item row="3" column="1" > + <widget class="QLabel" name="lengthLabel" > + <property name="text" > + <string>-</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="1" column="0" > + <widget class="QGroupBox" name="groupBox" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Preferred" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="title" > + <string>Video</string> + </property> + <layout class="QGridLayout" name="gridLayout_2" > + <item row="0" column="0" > + <widget class="QLabel" name="label_9" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text" > + <string>Resolution:</string> + </property> + </widget> + </item> + <item row="0" column="1" colspan="2" > + <widget class="QLabel" name="resolutionLabel" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Expanding" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text" > + <string>-</string> + </property> + </widget> + </item> + <item row="1" column="0" > + <widget class="QLabel" name="label_10" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text" > + <string>Bitrate:</string> + </property> + </widget> + </item> + <item row="1" column="1" colspan="2" > + <widget class="QLabel" name="videoBitrateLabel" > + <property name="text" > + <string>-</string> + </property> + </widget> + </item> + <item row="2" column="0" > + <widget class="QLabel" name="label_11" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text" > + <string>Format:</string> + </property> + </widget> + </item> + <item row="2" column="1" colspan="2" > + <widget class="QLabel" name="videoFormatLabel" > + <property name="text" > + <string>-</string> + </property> + </widget> + </item> + <item row="3" column="0" > + <widget class="QLabel" name="label_12" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text" > + <string>FPS:</string> + </property> + </widget> + </item> + <item row="3" column="1" colspan="2" > + <widget class="QLabel" name="fpsLabel" > + <property name="text" > + <string>-</string> + </property> + </widget> + </item> + <item row="4" column="0" > + <widget class="QLabel" name="label_13" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text" > + <string>Codec:</string> + </property> + </widget> + </item> + <item row="4" column="1" colspan="2" > + <widget class="QLabel" name="videoCodecLabel" > + <property name="text" > + <string>-</string> + </property> + </widget> + </item> + <item row="5" column="0" > + <widget class="QLabel" name="label_19" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text" > + <string>Aspect ratio:</string> + </property> + </widget> + </item> + <item row="5" column="1" colspan="2" > + <widget class="QLabel" name="ratioLabel" > + <property name="text" > + <string>-</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="1" column="1" > + <widget class="QGroupBox" name="groupBox_2" > + <property name="title" > + <string>Audio</string> + </property> + <layout class="QGridLayout" name="gridLayout_3" > + <item row="0" column="0" > + <widget class="QLabel" name="label_21" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text" > + <string>Codec:</string> + </property> + </widget> + </item> + <item row="0" column="2" > + <widget class="QLabel" name="audioCodecLabel" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Expanding" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text" > + <string>-</string> + </property> + </widget> + </item> + <item row="1" column="0" > + <widget class="QLabel" name="label_23" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text" > + <string>Sample rate:</string> + </property> + </widget> + </item> + <item row="1" column="2" > + <widget class="QLabel" name="sampleRateLabel" > + <property name="text" > + <string>-</string> + </property> + </widget> + </item> + <item row="2" column="0" > + <widget class="QLabel" name="label_25" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text" > + <string>Bitrate:</string> + </property> + </widget> + </item> + <item row="2" column="2" > + <widget class="QLabel" name="audioBitrateLabel" > + <property name="text" > + <string>-</string> + </property> + </widget> + </item> + <item row="3" column="0" > + <widget class="QLabel" name="label_24" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text" > + <string>Channels:</string> + </property> + </widget> + </item> + <item row="3" column="2" > + <widget class="QLabel" name="channelsLabel" > + <property name="text" > + <string>-</string> + </property> + </widget> + </item> + <item row="4" column="0" colspan="2" > + <spacer name="verticalSpacer" > + <property name="orientation" > + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0" > + <size> + <width>20</width> + <height>37</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + <item row="2" column="0" colspan="2" > + <layout class="QHBoxLayout" name="horizontalLayout" > + <property name="spacing" > + <number>0</number> + </property> + <item> + <spacer name="horizontalSpacer" > + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0" > + <size> + <width>330</width> + <height>24</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="closeButton" > + <property name="text" > + <string>Close</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>closeButton</sender> + <signal>clicked()</signal> + <receiver>DetailsDialog</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel" > + <x>381</x> + <y>334</y> + </hint> + <hint type="destinationlabel" > + <x>23</x> + <y>324</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/src/plugins/Input/mplayer/mplayer.pro b/src/plugins/Input/mplayer/mplayer.pro index c3472ebd8..c94d7a388 100644 --- a/src/plugins/Input/mplayer/mplayer.pro +++ b/src/plugins/Input/mplayer/mplayer.pro @@ -1,10 +1,12 @@ include(../../plugins.pri) HEADERS += decodermplayerfactory.h \ - decoder_mplayer.h + decoder_mplayer.h \ + detailsdialog.h SOURCES += decoder_mplayer.cpp \ - decodermplayerfactory.cpp + decodermplayerfactory.cpp \ + detailsdialog.cpp TARGET =$$PLUGINS_PREFIX/Input/mplayer QMAKE_CLEAN =$$PLUGINS_PREFIX/Input/libmplayer.so @@ -19,13 +21,13 @@ TEMPLATE = lib QMAKE_LIBDIR += ../../../../lib LIBS += -lqmmp -L/usr/lib -#TRANSLATIONS = translations/mplayer_plugin_ru.ts -# translations/mplayer_plugin_uk_UA.ts -# translations/mplayer_plugin_zh_CN.ts -# translations/mplayer_plugin_zh_TW.ts -# translations/mplayer_plugin_cs.ts -# translations/mplayer_plugin_de.ts -#RESOURCES = translations/translations.qrc +TRANSLATIONS = translations/mplayer_plugin_ru.ts \ + translations/mplayer_plugin_uk_UA.ts \ + translations/mplayer_plugin_zh_CN.ts \ + translations/mplayer_plugin_zh_TW.ts \ + translations/mplayer_plugin_cs.ts \ + translations/mplayer_plugin_de.ts +RESOURCES = translations/translations.qrc isEmpty(LIB_DIR){ LIB_DIR = /lib @@ -33,3 +35,4 @@ isEmpty(LIB_DIR){ target.path = $$LIB_DIR/qmmp/Input INSTALLS += target +FORMS += detailsdialog.ui diff --git a/src/plugins/Input/mplayer/translations/mplayer_plugin_cs.ts b/src/plugins/Input/mplayer/translations/mplayer_plugin_cs.ts new file mode 100644 index 000000000..3fffc818b --- /dev/null +++ b/src/plugins/Input/mplayer/translations/mplayer_plugin_cs.ts @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS><TS version="1.1" language="cs"> +<context> + <name>DecoderMplayerFactory</name> + <message> + <location filename="../decodermplayerfactory.cpp" line="49"/> + <source>Mplayer Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="52"/> + <source>Video Files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="96"/> + <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> + <translation type="unfinished">Autor: Ilja Kotov <forkotov02@hotmail.ru></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="93"/> + <source>About MPlayer Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="94"/> + <source>Qmmp MPlayer Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="95"/> + <source>This plugin uses MPlayer as backend</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.cpp" line="33"/> + <source>KB</source> + <translation>KB</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="322"/> + <source>-</source> + <translation>-</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="275"/> + <source>Sample rate:</source> + <translation>Vzorkovací frekvence:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="363"/> + <source>Close</source> + <translation>Zavřít</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="37"/> + <source>File path:</source> + <translation>Cesta k souboru:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="51"/> + <source>Size:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="65"/> + <source>Demuxer:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="79"/> + <source>Length:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="102"/> + <source>Video</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="114"/> + <source>Resolution:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="295"/> + <source>Bitrate:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="160"/> + <source>Format:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="180"/> + <source>FPS:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="249"/> + <source>Codec:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="220"/> + <source>Aspect ratio:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="237"/> + <source>Audio</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="315"/> + <source>Channels:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="13"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="31"/> + <source>General information</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/Input/mplayer/translations/mplayer_plugin_de.ts b/src/plugins/Input/mplayer/translations/mplayer_plugin_de.ts new file mode 100644 index 000000000..2b9c5b903 --- /dev/null +++ b/src/plugins/Input/mplayer/translations/mplayer_plugin_de.ts @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS><TS version="1.1" language="de"> +<context> + <name>DecoderMplayerFactory</name> + <message> + <location filename="../decodermplayerfactory.cpp" line="49"/> + <source>Mplayer Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="52"/> + <source>Video Files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="96"/> + <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> + <translation type="unfinished">Autor: Ilja Kotov <forkotov02@hotmail.ru></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="93"/> + <source>About MPlayer Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="94"/> + <source>Qmmp MPlayer Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="95"/> + <source>This plugin uses MPlayer as backend</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.cpp" line="33"/> + <source>KB</source> + <translation>KB</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="322"/> + <source>-</source> + <translation>-</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="275"/> + <source>Sample rate:</source> + <translation>Abtastrate:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="363"/> + <source>Close</source> + <translation>Schließen</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="37"/> + <source>File path:</source> + <translation>Dateipfad:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="51"/> + <source>Size:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="65"/> + <source>Demuxer:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="79"/> + <source>Length:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="102"/> + <source>Video</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="114"/> + <source>Resolution:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="295"/> + <source>Bitrate:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="160"/> + <source>Format:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="180"/> + <source>FPS:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="249"/> + <source>Codec:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="220"/> + <source>Aspect ratio:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="237"/> + <source>Audio</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="315"/> + <source>Channels:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="13"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="31"/> + <source>General information</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/Input/mplayer/translations/mplayer_plugin_ru.ts b/src/plugins/Input/mplayer/translations/mplayer_plugin_ru.ts new file mode 100644 index 000000000..3033a6cb5 --- /dev/null +++ b/src/plugins/Input/mplayer/translations/mplayer_plugin_ru.ts @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS><TS version="1.1" language="ru"> +<context> + <name>DecoderMplayerFactory</name> + <message> + <location filename="../decodermplayerfactory.cpp" line="49"/> + <source>Mplayer Plugin</source> + <translation>Модуль MPlayer</translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="52"/> + <source>Video Files</source> + <translation>Файлы видео</translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="96"/> + <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> + <translation>Разработчик: Илья Котов <forkotov02@hotmail.ru></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="93"/> + <source>About MPlayer Plugin</source> + <translation>О модуле MPlayer для Qmmp</translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="94"/> + <source>Qmmp MPlayer Plugin</source> + <translation>Модуль поддержки MPlayer для Qmmp</translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="95"/> + <source>This plugin uses MPlayer as backend</source> + <translation>В этом модуле для воспроизведения используется Mplayer</translation> + </message> +</context> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.ui" line="363"/> + <source>Close</source> + <translation>Закрыть</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="322"/> + <source>-</source> + <translation>-</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="275"/> + <source>Sample rate:</source> + <translation>Дискретизация:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="37"/> + <source>File path:</source> + <translation>Путь к файлу:</translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="33"/> + <source>KB</source> + <translation>Кб</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="51"/> + <source>Size:</source> + <translation>Размер:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="65"/> + <source>Demuxer:</source> + <translation>Демультиплексор:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="79"/> + <source>Length:</source> + <translation>Длительность:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="102"/> + <source>Video</source> + <translation>Видео</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="114"/> + <source>Resolution:</source> + <translation>Разрешение:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="295"/> + <source>Bitrate:</source> + <translation>Битовая частота:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="160"/> + <source>Format:</source> + <translation>Формат:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="180"/> + <source>FPS:</source> + <translation>Частота кадров:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="249"/> + <source>Codec:</source> + <translation>Кодек:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="220"/> + <source>Aspect ratio:</source> + <translation>Соотношение сторон:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="237"/> + <source>Audio</source> + <translation>Аудио</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="315"/> + <source>Channels:</source> + <translation>Каналов:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="13"/> + <source>Details</source> + <translation>Информация</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="31"/> + <source>General information</source> + <translation>Общая информация</translation> + </message> +</context> +</TS> diff --git a/src/plugins/Input/mplayer/translations/mplayer_plugin_uk_UA.ts b/src/plugins/Input/mplayer/translations/mplayer_plugin_uk_UA.ts new file mode 100644 index 000000000..c6786e80c --- /dev/null +++ b/src/plugins/Input/mplayer/translations/mplayer_plugin_uk_UA.ts @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS><TS version="1.1" language="uk"> +<context> + <name>DecoderMplayerFactory</name> + <message> + <location filename="../decodermplayerfactory.cpp" line="49"/> + <source>Mplayer Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="52"/> + <source>Video Files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="96"/> + <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> + <translation type="unfinished">Розробник: Ілля Котов <forkotov02@hotmail.ru></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="93"/> + <source>About MPlayer Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="94"/> + <source>Qmmp MPlayer Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="95"/> + <source>This plugin uses MPlayer as backend</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.ui" line="363"/> + <source>Close</source> + <translation>Закрити</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="322"/> + <source>-</source> + <translation>-</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="275"/> + <source>Sample rate:</source> + <translation>Дискретизація:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="37"/> + <source>File path:</source> + <translation>Шлях до файлу:</translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="33"/> + <source>KB</source> + <translation>Кб</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="51"/> + <source>Size:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="65"/> + <source>Demuxer:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="79"/> + <source>Length:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="102"/> + <source>Video</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="114"/> + <source>Resolution:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="295"/> + <source>Bitrate:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="160"/> + <source>Format:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="180"/> + <source>FPS:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="249"/> + <source>Codec:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="220"/> + <source>Aspect ratio:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="237"/> + <source>Audio</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="315"/> + <source>Channels:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="13"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="31"/> + <source>General information</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/Input/mplayer/translations/mplayer_plugin_zh_CN.ts b/src/plugins/Input/mplayer/translations/mplayer_plugin_zh_CN.ts new file mode 100644 index 000000000..b8fe3a013 --- /dev/null +++ b/src/plugins/Input/mplayer/translations/mplayer_plugin_zh_CN.ts @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS><TS version="1.1" language="zh_CN"> +<context> + <name>DecoderMplayerFactory</name> + <message> + <location filename="../decodermplayerfactory.cpp" line="49"/> + <source>Mplayer Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="52"/> + <source>Video Files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="96"/> + <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> + <translation type="unfinished">作者:Ilya Kotov <forkotov02@hotmail.ru></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="93"/> + <source>About MPlayer Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="94"/> + <source>Qmmp MPlayer Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="95"/> + <source>This plugin uses MPlayer as backend</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.ui" line="363"/> + <source>Close</source> + <translation>关闭</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="322"/> + <source>-</source> + <translation>-</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="275"/> + <source>Sample rate:</source> + <translation>取样率:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="37"/> + <source>File path:</source> + <translation>文件路径:</translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="33"/> + <source>KB</source> + <translation>KB</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="51"/> + <source>Size:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="65"/> + <source>Demuxer:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="79"/> + <source>Length:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="102"/> + <source>Video</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="114"/> + <source>Resolution:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="295"/> + <source>Bitrate:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="160"/> + <source>Format:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="180"/> + <source>FPS:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="249"/> + <source>Codec:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="220"/> + <source>Aspect ratio:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="237"/> + <source>Audio</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="315"/> + <source>Channels:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="13"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="31"/> + <source>General information</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/Input/mplayer/translations/mplayer_plugin_zh_TW.ts b/src/plugins/Input/mplayer/translations/mplayer_plugin_zh_TW.ts new file mode 100644 index 000000000..6599b8d0d --- /dev/null +++ b/src/plugins/Input/mplayer/translations/mplayer_plugin_zh_TW.ts @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS><TS version="1.1" language="zh_TW"> +<context> + <name>DecoderMplayerFactory</name> + <message> + <location filename="../decodermplayerfactory.cpp" line="49"/> + <source>Mplayer Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="52"/> + <source>Video Files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="96"/> + <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> + <translation type="unfinished">作者:Ilya Kotov <forkotov02@hotmail.ru></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="93"/> + <source>About MPlayer Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="94"/> + <source>Qmmp MPlayer Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodermplayerfactory.cpp" line="95"/> + <source>This plugin uses MPlayer as backend</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DetailsDialog</name> + <message> + <location filename="../detailsdialog.ui" line="363"/> + <source>Close</source> + <translation>關閉</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="322"/> + <source>-</source> + <translation>-</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="275"/> + <source>Sample rate:</source> + <translation>取樣率:</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="37"/> + <source>File path:</source> + <translation>檔案路徑:</translation> + </message> + <message> + <location filename="../detailsdialog.cpp" line="33"/> + <source>KB</source> + <translation>KB</translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="51"/> + <source>Size:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="65"/> + <source>Demuxer:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="79"/> + <source>Length:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="102"/> + <source>Video</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="114"/> + <source>Resolution:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="295"/> + <source>Bitrate:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="160"/> + <source>Format:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="180"/> + <source>FPS:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="249"/> + <source>Codec:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="220"/> + <source>Aspect ratio:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="237"/> + <source>Audio</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="315"/> + <source>Channels:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="13"/> + <source>Details</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../detailsdialog.ui" line="31"/> + <source>General information</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/Input/mplayer/translations/translations.qrc b/src/plugins/Input/mplayer/translations/translations.qrc new file mode 100644 index 000000000..bcf0a6b3e --- /dev/null +++ b/src/plugins/Input/mplayer/translations/translations.qrc @@ -0,0 +1,11 @@ +<!DOCTYPE RCC> +<RCC version="1.0"> + <qresource> + <file>mplayer_plugin_ru.qm</file> + <file>mplayer_plugin_uk_UA.qm</file> + <file>mplayer_plugin_zh_CN.qm</file> + <file>mplayer_plugin_zh_TW.qm</file> + <file>mplayer_plugin_cs.qm</file> + <file>mplayer_plugin_de.qm</file> + </qresource> +</RCC> |
