aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hal
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/hal')
-rw-r--r--src/plugins/General/hal/halfactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/General/hal/halfactory.cpp b/src/plugins/General/hal/halfactory.cpp
index 513f8642a..4c7cfd04b 100644
--- a/src/plugins/General/hal/halfactory.cpp
+++ b/src/plugins/General/hal/halfactory.cpp
@@ -19,7 +19,7 @@
***************************************************************************/
#include <QtGui>
-
+#include <qmmp/qmmp.h>
#include "settingsdialog.h"
#include "halplugin.h"
#include "halfactory.h"
@@ -57,7 +57,7 @@ void HalFactory::showAbout(QWidget *parent)
QTranslator *HalFactory::createTranslator(QObject *parent)
{
QTranslator *translator = new QTranslator(parent);
- QString locale = QLocale::system().name();
+ QString locale = Qmmp::systemLanguageID();
translator->load(QString(":/hal_plugin_") + locale);
return translator;
}