diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-12-25 22:26:25 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-12-25 22:26:25 +0000 |
| commit | 9b76b38c6788ed80d65188080f82dcff37c6f096 (patch) | |
| tree | 173337851c76d0f41567107ad0e523fcda12897e /src/plugins/Input | |
| parent | 05d7e21348c192ba72e4cfe2e722d6a0f54ab326 (diff) | |
| download | qmmp-9b76b38c6788ed80d65188080f82dcff37c6f096.tar.gz qmmp-9b76b38c6788ed80d65188080f82dcff37c6f096.tar.bz2 qmmp-9b76b38c6788ed80d65188080f82dcff37c6f096.zip | |
cue plugin: added Russian translation; ffmepg plugin: fixed widgets layout
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@708 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input')
| -rw-r--r-- | src/plugins/Input/cue/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/plugins/Input/cue/cue.pro | 14 | ||||
| -rw-r--r-- | src/plugins/Input/cue/translations/cue_plugin_cs.ts | 44 | ||||
| -rw-r--r-- | src/plugins/Input/cue/translations/cue_plugin_de.ts | 44 | ||||
| -rw-r--r-- | src/plugins/Input/cue/translations/cue_plugin_ru.ts | 45 | ||||
| -rw-r--r-- | src/plugins/Input/cue/translations/cue_plugin_uk_UA.ts | 44 | ||||
| -rw-r--r-- | src/plugins/Input/cue/translations/cue_plugin_zh_CN.ts | 44 | ||||
| -rw-r--r-- | src/plugins/Input/cue/translations/cue_plugin_zh_TW.ts | 44 | ||||
| -rw-r--r-- | src/plugins/Input/cue/translations/translations.qrc | 11 | ||||
| -rw-r--r-- | src/plugins/Input/ffmpeg/detailsdialog.ui | 92 |
10 files changed, 327 insertions, 57 deletions
diff --git a/src/plugins/Input/cue/CMakeLists.txt b/src/plugins/Input/cue/CMakeLists.txt index abb817ab5..7c25e31be 100644 --- a/src/plugins/Input/cue/CMakeLists.txt +++ b/src/plugins/Input/cue/CMakeLists.txt @@ -41,7 +41,7 @@ SET(libcue_MOC_HDRS cueparser.h ) -#SET(libcue_RCCS translations/translations.qrc) +SET(libcue_RCCS translations/translations.qrc) QT4_ADD_RESOURCES(libcue_RCC_SRCS ${libcue_RCCS}) diff --git a/src/plugins/Input/cue/cue.pro b/src/plugins/Input/cue/cue.pro index 3146ae514..4c717b446 100644 --- a/src/plugins/Input/cue/cue.pro +++ b/src/plugins/Input/cue/cue.pro @@ -23,13 +23,13 @@ TEMPLATE = lib QMAKE_LIBDIR += ../../../../lib LIBS += -lqmmp -L/usr/lib -#TRANSLATIONS = translations/cue_plugin_ru.ts -# translations/cue_plugin_uk_UA.ts -# translations/cue_plugin_zh_CN.ts -# translations/cue_plugin_zh_TW.ts -# translations/cue_plugin_cs.ts -# translations/cue_plugin_de.ts -#RESOURCES = translations/translations.qrc +TRANSLATIONS = translations/cue_plugin_ru.ts \ + translations/cue_plugin_uk_UA.ts \ + translations/cue_plugin_zh_CN.ts \ + translations/cue_plugin_zh_TW.ts \ + translations/cue_plugin_cs.ts \ + translations/cue_plugin_de.ts +RESOURCES = translations/translations.qrc isEmpty(LIB_DIR){ LIB_DIR = /lib diff --git a/src/plugins/Input/cue/translations/cue_plugin_cs.ts b/src/plugins/Input/cue/translations/cue_plugin_cs.ts new file mode 100644 index 000000000..a671b74e1 --- /dev/null +++ b/src/plugins/Input/cue/translations/cue_plugin_cs.ts @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS><TS version="1.1"> +<context> + <name>DecoderCUEFactory</name> + <message> + <location filename="../decodercuefactory.cpp" line="43"/> + <source>CUE Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="46"/> + <source>CUE Files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="84"/> + <source>About CUE Audio Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="85"/> + <source>Qmmp CUE Audio Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="86"/> + <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SettingsDialog</name> + <message> + <location filename="../settingsdialog.ui" line="13"/> + <source>CUE Plugin Settings</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../settingsdialog.ui" line="25"/> + <source>CUE encoding:</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/Input/cue/translations/cue_plugin_de.ts b/src/plugins/Input/cue/translations/cue_plugin_de.ts new file mode 100644 index 000000000..a671b74e1 --- /dev/null +++ b/src/plugins/Input/cue/translations/cue_plugin_de.ts @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS><TS version="1.1"> +<context> + <name>DecoderCUEFactory</name> + <message> + <location filename="../decodercuefactory.cpp" line="43"/> + <source>CUE Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="46"/> + <source>CUE Files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="84"/> + <source>About CUE Audio Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="85"/> + <source>Qmmp CUE Audio Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="86"/> + <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SettingsDialog</name> + <message> + <location filename="../settingsdialog.ui" line="13"/> + <source>CUE Plugin Settings</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../settingsdialog.ui" line="25"/> + <source>CUE encoding:</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/Input/cue/translations/cue_plugin_ru.ts b/src/plugins/Input/cue/translations/cue_plugin_ru.ts new file mode 100644 index 000000000..c371658bb --- /dev/null +++ b/src/plugins/Input/cue/translations/cue_plugin_ru.ts @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS><TS version="1.1" language="ru_RU"> +<defaultcodec></defaultcodec> +<context> + <name>DecoderCUEFactory</name> + <message> + <location filename="../decodercuefactory.cpp" line="43"/> + <source>CUE Plugin</source> + <translation>Модуль CUE</translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="46"/> + <source>CUE Files</source> + <translation>Файлы CUE</translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="84"/> + <source>About CUE Audio Plugin</source> + <translation>Об аудио-модуле CUE</translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="85"/> + <source>Qmmp CUE Audio Plugin</source> + <translation>Аудио-модуль CUE для Qmmp</translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="86"/> + <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> + <translation>Разработчик: Илья Котов</translation> + </message> +</context> +<context> + <name>SettingsDialog</name> + <message> + <location filename="../settingsdialog.ui" line="13"/> + <source>CUE Plugin Settings</source> + <translation>Настройки модуля CUE</translation> + </message> + <message> + <location filename="../settingsdialog.ui" line="25"/> + <source>CUE encoding:</source> + <translation>Кодировка CUE:</translation> + </message> +</context> +</TS> diff --git a/src/plugins/Input/cue/translations/cue_plugin_uk_UA.ts b/src/plugins/Input/cue/translations/cue_plugin_uk_UA.ts new file mode 100644 index 000000000..a671b74e1 --- /dev/null +++ b/src/plugins/Input/cue/translations/cue_plugin_uk_UA.ts @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS><TS version="1.1"> +<context> + <name>DecoderCUEFactory</name> + <message> + <location filename="../decodercuefactory.cpp" line="43"/> + <source>CUE Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="46"/> + <source>CUE Files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="84"/> + <source>About CUE Audio Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="85"/> + <source>Qmmp CUE Audio Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="86"/> + <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SettingsDialog</name> + <message> + <location filename="../settingsdialog.ui" line="13"/> + <source>CUE Plugin Settings</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../settingsdialog.ui" line="25"/> + <source>CUE encoding:</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/Input/cue/translations/cue_plugin_zh_CN.ts b/src/plugins/Input/cue/translations/cue_plugin_zh_CN.ts new file mode 100644 index 000000000..a671b74e1 --- /dev/null +++ b/src/plugins/Input/cue/translations/cue_plugin_zh_CN.ts @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS><TS version="1.1"> +<context> + <name>DecoderCUEFactory</name> + <message> + <location filename="../decodercuefactory.cpp" line="43"/> + <source>CUE Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="46"/> + <source>CUE Files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="84"/> + <source>About CUE Audio Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="85"/> + <source>Qmmp CUE Audio Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="86"/> + <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SettingsDialog</name> + <message> + <location filename="../settingsdialog.ui" line="13"/> + <source>CUE Plugin Settings</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../settingsdialog.ui" line="25"/> + <source>CUE encoding:</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/Input/cue/translations/cue_plugin_zh_TW.ts b/src/plugins/Input/cue/translations/cue_plugin_zh_TW.ts new file mode 100644 index 000000000..a671b74e1 --- /dev/null +++ b/src/plugins/Input/cue/translations/cue_plugin_zh_TW.ts @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS><TS version="1.1"> +<context> + <name>DecoderCUEFactory</name> + <message> + <location filename="../decodercuefactory.cpp" line="43"/> + <source>CUE Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="46"/> + <source>CUE Files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="84"/> + <source>About CUE Audio Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="85"/> + <source>Qmmp CUE Audio Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../decodercuefactory.cpp" line="86"/> + <source>Writen by: Ilya Kotov <forkotov02@hotmail.ru></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SettingsDialog</name> + <message> + <location filename="../settingsdialog.ui" line="13"/> + <source>CUE Plugin Settings</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../settingsdialog.ui" line="25"/> + <source>CUE encoding:</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/src/plugins/Input/cue/translations/translations.qrc b/src/plugins/Input/cue/translations/translations.qrc new file mode 100644 index 000000000..0abd6391c --- /dev/null +++ b/src/plugins/Input/cue/translations/translations.qrc @@ -0,0 +1,11 @@ +<!DOCTYPE RCC> +<RCC version="1.0"> + <qresource> + <file>cue_plugin_ru.qm</file> + <file>cue_plugin_uk_UA.qm</file> + <file>cue_plugin_zh_CN.qm</file> + <file>cue_plugin_zh_TW.qm</file> + <file>cue_plugin_cs.qm</file> + <file>cue_plugin_de.qm</file> + </qresource> +</RCC> diff --git a/src/plugins/Input/ffmpeg/detailsdialog.ui b/src/plugins/Input/ffmpeg/detailsdialog.ui index d74cdde01..d3578e6df 100644 --- a/src/plugins/Input/ffmpeg/detailsdialog.ui +++ b/src/plugins/Input/ffmpeg/detailsdialog.ui @@ -6,13 +6,13 @@ <x>0</x> <y>0</y> <width>545</width> - <height>343</height> + <height>333</height> </rect> </property> <property name="windowTitle" > <string>Details</string> </property> - <layout class="QGridLayout" > + <layout class="QGridLayout" name="gridLayout_2" > <item row="0" column="0" > <widget class="QLabel" name="label_28" > <property name="text" > @@ -41,40 +41,41 @@ <property name="title" > <string>Audio Info</string> </property> - <layout class="QGridLayout" > - <property name="margin" > - <number>9</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item row="4" column="1" > - <widget class="QLabel" name="bitrateLabel" > + <layout class="QGridLayout" name="gridLayout" > + <item row="0" column="0" > + <widget class="QLabel" name="label" > <property name="text" > - <string>-</string> + <string>Length:</string> + </property> + <property name="alignment" > + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> - <item row="3" column="1" > - <widget class="QLabel" name="channelsLabel" > - <property name="layoutDirection" > - <enum>Qt::LeftToRight</enum> - </property> + <item row="0" column="1" > + <widget class="QLabel" name="lengthLabel" > <property name="text" > <string>-</string> </property> </widget> </item> - <item row="4" column="0" > - <widget class="QLabel" name="label_2" > + <item row="1" column="0" > + <widget class="QLabel" name="label_3" > <property name="text" > - <string>Bitrate:</string> + <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="2" column="0" > <widget class="QLabel" name="label_5" > <property name="text" > @@ -85,6 +86,13 @@ </property> </widget> </item> + <item row="2" column="1" > + <widget class="QLabel" name="fileSizeLabel" > + <property name="text" > + <string>-</string> + </property> + </widget> + </item> <item row="3" column="0" > <widget class="QLabel" name="label_10" > <property name="layoutDirection" > @@ -101,56 +109,42 @@ </property> </widget> </item> - <item row="1" column="1" > - <widget class="QLabel" name="sampleRateLabel" > - <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> + <item row="3" column="1" > + <widget class="QLabel" name="channelsLabel" > + <property name="layoutDirection" > + <enum>Qt::LeftToRight</enum> </property> - </widget> - </item> - <item row="0" column="1" > - <widget class="QLabel" name="lengthLabel" > <property name="text" > <string>-</string> </property> </widget> </item> - <item row="0" column="0" > - <widget class="QLabel" name="label" > + <item row="4" column="0" > + <widget class="QLabel" name="label_2" > <property name="text" > - <string>Length:</string> + <string>Bitrate:</string> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> - <item row="2" column="1" > - <widget class="QLabel" name="fileSizeLabel" > + <item row="4" column="1" > + <widget class="QLabel" name="bitrateLabel" > <property name="text" > <string>-</string> </property> </widget> </item> <item row="5" column="0" > - <spacer> + <spacer name="verticalSpacer" > <property name="orientation" > <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0" > <size> - <width>74</width> - <height>151</height> + <width>20</width> + <height>133</height> </size> </property> </spacer> @@ -169,7 +163,7 @@ <property name="title" > <string>Metadata</string> </property> - <layout class="QGridLayout" name="gridLayout" > + <layout class="QGridLayout" name="gridLayout_3" > <item row="0" column="0" > <widget class="QLabel" name="label_21" > <property name="text" > @@ -265,13 +259,13 @@ </widget> </item> <item row="2" column="2" > - <spacer> + <spacer name="horizontalSpacer" > <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0" > <size> - <width>111</width> + <width>365</width> <height>20</height> </size> </property> |
