Summary: | activitymanager-plasma not properly translated (not kde-i18n-* -related!) | ||
---|---|---|---|
Product: | [Plasma] plasma4 | Reporter: | Peter Fischer <peter> |
Component: | activities | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aacid, adaptee, chanika, jp.kuraisu, lueck, volkangezer |
Priority: | NOR | ||
Version: | 4.9.2 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-workspace/c6ccec336987780358d316351cab4b6b77c506e2 | Version Fixed In: | 4.10.2 |
Description
Peter Fischer
2012-10-05 12:21:38 UTC
confirmed in recent trunk compiled from sources. kdebug() calls in kdecore/localization/klocale_kde.cpp show that the catalog is never loaded, thus the messages are untranslated *** Bug 314480 has been marked as a duplicate of this bug. *** I've tried to add translations to plasmagenericshell.po, and both "Create activity..." and "Add widgets" were translated. Is it supposed to be this way? Is plasmagenericshell some kind of backup catalog? (In reply to comment #3) > I've tried to add translations to plasmagenericshell.po, and both "Create > activity..." and "Add widgets" were translated. Is it supposed to be this > way? Is plasmagenericshell some kind of backup catalog? No. The plasma devels decided to go with a separate translation catalog for plasma package activitymanager, but forgot to add a method to load a translation catalog for a plasma package in the declarative scriptengine, which has this method only for plasma applets. So the sentence about qml plasma package catalog name on http://techbase.kde.org/Development/Tutorials/Localization/i18n_Build_Systems#Declarative_plasmoids is wrong. As workaround I have locally added a insertCatalog() call to activitymanager.cpp and have it now properly translated. Git commit 5e4f62b4bfd2da3b8b4294d5945a5d608b3a447f by Aaron Seigo. Committed on 18/02/2013 at 00:25. Pushed by aseigo into branch 'KDE/4.10'. load the translation catalog this is not a plasmoid, so it needs to be done manually M +1 -0 plasma/desktop/shell/activitymanager/activitymanager.cpp http://commits.kde.org/kde-workspace/5e4f62b4bfd2da3b8b4294d5945a5d608b3a447f still untranslated + not fixed with Git commit 5e4f62b4bfd2da3b8b Reason: activitymanager.cpp:86: const QString pluginName = "org.kde.desktop.activitymanager"; activitymanager.cpp:102: KGlobal::locale()->insertCatalog(pluginName); But the messages are extracted to a catalog named "plasma_package_org.kde.desktop.activitymanager" Git commit c6ccec336987780358d316351cab4b6b77c506e2 by Albert Astals Cid. Committed on 03/03/2013 at 23:55. Pushed by aacid into branch 'KDE/4.10'. Load the correct catalog It'd be cool if you guys read the comments to your bugs FIXED-IN: 4.10.2 CCMAIL: plasma-devel@kde.org M +1 -1 plasma/desktop/shell/activitymanager/activitymanager.cpp http://commits.kde.org/kde-workspace/c6ccec336987780358d316351cab4b6b77c506e2 |