From 3ad830394688338626c098cf959e24a7c6af9a1f Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 23 Jan 2009 16:47:14 +0000 Subject: updated Russian translation git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@754 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/mediaplayer.cpp | 8 ++++++- src/qmmpui/qtfiledialog.cpp | 9 ++------ src/qmmpui/translations/libqmmpui_cs.ts | 34 +++++++++++++++++++++++++++++- src/qmmpui/translations/libqmmpui_de.ts | 34 +++++++++++++++++++++++++++++- src/qmmpui/translations/libqmmpui_pt_BR.ts | 33 +++++++++++++++++++++++++++++ src/qmmpui/translations/libqmmpui_ru.ts | 33 +++++++++++++++++++++++++++++ src/qmmpui/translations/libqmmpui_tr.ts | 33 +++++++++++++++++++++++++++++ src/qmmpui/translations/libqmmpui_uk_UA.ts | 34 +++++++++++++++++++++++++++++- src/qmmpui/translations/libqmmpui_zh_CN.ts | 34 +++++++++++++++++++++++++++++- src/qmmpui/translations/libqmmpui_zh_TW.ts | 34 +++++++++++++++++++++++++++++- 10 files changed, 273 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/qmmpui/mediaplayer.cpp b/src/qmmpui/mediaplayer.cpp index c13e098f7..168204a67 100644 --- a/src/qmmpui/mediaplayer.cpp +++ b/src/qmmpui/mediaplayer.cpp @@ -20,8 +20,10 @@ #include #include -#include +#include +#include +#include #include "playlistmodel.h" #include "playlistitem.h" @@ -36,6 +38,10 @@ MediaPlayer::MediaPlayer(QObject *parent) m_model = 0; m_core = 0; m_repeat = FALSE; + QTranslator *translator = new QTranslator(parent); + QString locale = QLocale::system().name(); + translator->load(QString(":/libqmmpui_") + locale); + qApp->installTranslator(translator); } diff --git a/src/qmmpui/qtfiledialog.cpp b/src/qmmpui/qtfiledialog.cpp index 107b75845..1d21ca3c5 100644 --- a/src/qmmpui/qtfiledialog.cpp +++ b/src/qmmpui/qtfiledialog.cpp @@ -18,9 +18,6 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#include -#include - #include "qtfiledialog.h" @@ -42,10 +39,8 @@ void QtFileDialogFactory::showAbout(QWidget*){}; QTranslator *QtFileDialogFactory::createTranslator(QObject *parent) { - QTranslator *translator = new QTranslator(parent); - QString locale = QLocale::system().name(); - translator->load(QString(":/libqmmpui_") + locale); - return translator; + Q_UNUSED(parent) + return 0; } QtFileDialog::~QtFileDialog() diff --git a/src/qmmpui/translations/libqmmpui_cs.ts b/src/qmmpui/translations/libqmmpui_cs.ts index c4cb4f5e3..35359bb48 100644 --- a/src/qmmpui/translations/libqmmpui_cs.ts +++ b/src/qmmpui/translations/libqmmpui_cs.ts @@ -1,6 +1,38 @@ - + + PlayListModel + + + Url: + + + + + Title: + + + + + Artist: + + + + + Album: + + + + + Genre: + + + + + Comment: + + + QtFileDialogFactory diff --git a/src/qmmpui/translations/libqmmpui_de.ts b/src/qmmpui/translations/libqmmpui_de.ts index 4f315de75..78f8b3195 100644 --- a/src/qmmpui/translations/libqmmpui_de.ts +++ b/src/qmmpui/translations/libqmmpui_de.ts @@ -1,6 +1,38 @@ - + + PlayListModel + + + Url: + + + + + Title: + + + + + Artist: + + + + + Album: + + + + + Genre: + + + + + Comment: + + + QtFileDialogFactory diff --git a/src/qmmpui/translations/libqmmpui_pt_BR.ts b/src/qmmpui/translations/libqmmpui_pt_BR.ts index 638f7bb1a..e4b9d9290 100644 --- a/src/qmmpui/translations/libqmmpui_pt_BR.ts +++ b/src/qmmpui/translations/libqmmpui_pt_BR.ts @@ -1,5 +1,38 @@ + + PlayListModel + + + Url: + + + + + Title: + + + + + Artist: + + + + + Album: + + + + + Genre: + + + + + Comment: + + + QtFileDialogFactory diff --git a/src/qmmpui/translations/libqmmpui_ru.ts b/src/qmmpui/translations/libqmmpui_ru.ts index 3b0033e71..9f1859bc4 100644 --- a/src/qmmpui/translations/libqmmpui_ru.ts +++ b/src/qmmpui/translations/libqmmpui_ru.ts @@ -1,6 +1,39 @@ + + PlayListModel + + + Url: + Url: + + + + Title: + Название: + + + + Artist: + Исполнитель: + + + + Album: + Альбом: + + + + Genre: + Жанр: + + + + Comment: + Комментарий: + + QtFileDialogFactory diff --git a/src/qmmpui/translations/libqmmpui_tr.ts b/src/qmmpui/translations/libqmmpui_tr.ts index 638f7bb1a..e4b9d9290 100644 --- a/src/qmmpui/translations/libqmmpui_tr.ts +++ b/src/qmmpui/translations/libqmmpui_tr.ts @@ -1,5 +1,38 @@ + + PlayListModel + + + Url: + + + + + Title: + + + + + Artist: + + + + + Album: + + + + + Genre: + + + + + Comment: + + + QtFileDialogFactory diff --git a/src/qmmpui/translations/libqmmpui_uk_UA.ts b/src/qmmpui/translations/libqmmpui_uk_UA.ts index d36ec7a5d..983a7a005 100644 --- a/src/qmmpui/translations/libqmmpui_uk_UA.ts +++ b/src/qmmpui/translations/libqmmpui_uk_UA.ts @@ -1,6 +1,38 @@ - + + PlayListModel + + + Url: + + + + + Title: + + + + + Artist: + + + + + Album: + + + + + Genre: + + + + + Comment: + + + QtFileDialogFactory diff --git a/src/qmmpui/translations/libqmmpui_zh_CN.ts b/src/qmmpui/translations/libqmmpui_zh_CN.ts index 6addb1926..30822a9ed 100644 --- a/src/qmmpui/translations/libqmmpui_zh_CN.ts +++ b/src/qmmpui/translations/libqmmpui_zh_CN.ts @@ -1,6 +1,38 @@ - + + PlayListModel + + + Url: + + + + + Title: + + + + + Artist: + + + + + Album: + + + + + Genre: + + + + + Comment: + + + QtFileDialogFactory diff --git a/src/qmmpui/translations/libqmmpui_zh_TW.ts b/src/qmmpui/translations/libqmmpui_zh_TW.ts index de1280a29..3c30298e6 100644 --- a/src/qmmpui/translations/libqmmpui_zh_TW.ts +++ b/src/qmmpui/translations/libqmmpui_zh_TW.ts @@ -1,6 +1,38 @@ - + + PlayListModel + + + Url: + + + + + Title: + + + + + Artist: + + + + + Album: + + + + + Genre: + + + + + Comment: + + + QtFileDialogFactory -- cgit v1.2.3-13-gbd6f