Version: 2.4-GIT (using KDE 4.5.2)
The title of any applet configuration dialog is not translated. Also, there are 2 common tabs in that dialog which are not translated.
Adding this line into MainWindow constructor fixes the problem (I didn't file a patch, because I don't know where this line should go):
KGlobal::locale()->insertCatalog( "libplasma" );
*** Bug 256058 has been marked as a duplicate of this bug. ***
Must it really be inserted manually or should it work as other plasma applets on workspace without inserting "libplasma" catalog manually?
Not sure how it works. But it looks like translations cannot be loaded as the library is not directly linked to Amarok but to the several plugins which are loaded dynamically at runtime.
So feel free to commit if you have repository access, put it somewhere in MainWindow() as you said.
Author: Alexander Potashev <email@example.com>
Date: Fri Nov 5 00:29:34 2010 +0300
Applets' settings dialogs were partly untranslatable
diff --git a/ChangeLog b/ChangeLog
index 28daaca..ad31a49 100644
@@ -54,6 +54,7 @@ VERSION 2.4-Beta 1
pressing SHIFT while clicking the action will bypass trash.
+ * Applets' settings dialogs were partly untranslatable. (BR 255971)
* Fixed append&play action. Thanks Pieter van der Kloet for the patch. (BR 229706)
* Don't ignore the "use relative path" checkbox in the playlist export dialog.
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 512241a..3907fb7 100644
@@ -190,6 +190,8 @@ MainWindow::MainWindow()
this, SLOT( slotNewTrackPlaying() ) );
connect( engine, SIGNAL( trackMetadataChanged( Meta::TrackPtr ) ),
this, SLOT( slotMetadataChanged( Meta::TrackPtr ) ) );
+ KGlobal::locale()->insertCatalog( "libplasma" );