diff options
Diffstat (limited to 'src/plugins/General/scrobbler/scrobblerfactory.cpp')
| -rw-r--r-- | src/plugins/General/scrobbler/scrobblerfactory.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/plugins/General/scrobbler/scrobblerfactory.cpp b/src/plugins/General/scrobbler/scrobblerfactory.cpp index 4cfced38c..d79b26e50 100644 --- a/src/plugins/General/scrobbler/scrobblerfactory.cpp +++ b/src/plugins/General/scrobbler/scrobblerfactory.cpp @@ -30,6 +30,7 @@ const GeneralProperties ScrobblerFactory::properties() const GeneralProperties properties; properties.name = tr("Scrobbler Plugin"); properties.shortName = "scrobbler"; + properties.translation = QLatin1String(":/scrobbler_plugin_"); properties.hasAbout = true; properties.hasSettings = true; properties.visibilityControl = false; @@ -52,11 +53,3 @@ void ScrobblerFactory::showAbout(QWidget *parent) tr("Qmmp AudioScrobbler Plugin")+"\n"+ tr("Written by: Ilya Kotov <forkotov02@ya.ru>")); } - -QTranslator *ScrobblerFactory::createTranslator(QObject *parent) -{ - QTranslator *translator = new QTranslator(parent); - QString locale = Qmmp::systemLanguageID(); - translator->load(QString(":/scrobbler_plugin_") + locale); - return translator; -} |
