aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/mad/decodermadfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input/mad/decodermadfactory.cpp')
-rw-r--r--src/plugins/Input/mad/decodermadfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Input/mad/decodermadfactory.cpp b/src/plugins/Input/mad/decodermadfactory.cpp
index b0efdc1d6..2574cd028 100644
--- a/src/plugins/Input/mad/decodermadfactory.cpp
+++ b/src/plugins/Input/mad/decodermadfactory.cpp
@@ -221,7 +221,7 @@ void DecoderMADFactory::showAbout(QWidget *parent)
QTranslator *DecoderMADFactory::createTranslator(QObject *parent)
{
QTranslator *translator = new QTranslator(parent);
- QString locale = QLocale::system().name();
+ QString locale = Qmmp::systemLanguageID();
translator->load(QString(":/mad_plugin_") + locale);
return translator;
}