Permalink
Browse files

Fixes #326

  • Loading branch information...
1 parent e3ddd45 commit c2d6da33c5dcfaa756a8c8e7eaed955bb42e0cce Daniel Kabel committed Mar 26, 2013
Showing with 4 additions and 1 deletion.
  1. +3 −0 MediaElch.qrc
  2. BIN i18n/qt_de.qm
  3. BIN i18n/qt_fr.qm
  4. BIN i18n/qt_pt.qm
  5. +1 −1 main.cpp
View
@@ -64,6 +64,9 @@
<file>img/imgButtonBottom.png</file>
<file>img/imgButtonTop.png</file>
<file>img/folder_64.png</file>
+ <file>i18n/qt_de.qm</file>
+ <file>i18n/qt_fr.qm</file>
+ <file>i18n/qt_pt.qm</file>
</qresource>
<qresource prefix="/media">
<file alias="aspect/1.33">mediaFlags/aspect/1.33.png</file>
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
@@ -131,7 +131,7 @@ int main(int argc, char *argv[])
QApplication a(argc, argv, useGui);
QTranslator qtTranslator;
- qtTranslator.load("qt_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::TranslationsPath));
+ qtTranslator.load(":/i18n/qt_" + QLocale::system().name());
a.installTranslator(&qtTranslator);
qDebug() << QLibraryInfo::location(QLibraryInfo::TranslationsPath);

0 comments on commit c2d6da3

Please sign in to comment.