l10n-kde4/scripts

Will Stephenson wstephenson at kde.org
Fri Jan 4 02:02:14 CET 2008


SVN commit 757055 by wstephens:

Revert change to field extractor.  This field should not be translated
as it is used untranslated by KPluginSelector.  Making this change broke
plugin loading via KPluginSelector everywhere when not using the default
locale.  

Perhaps we should specify which fields should be translatable either in
kplugininfo.desktop or kplugininfo.h?

Plasma was using this change to show translated category titles in the
plasmoid selector, unfortunately this will be broken now unless it
develops another mechanism to translate these .desktops alone or,
(better IMO) specifies categories in their own .desktop files, this
reduces translator workload.  See System Settings for an example of
this.
CCMAIL: kretz at kde.org
CCMAIL: panel-devel at kde.org
CCMAIL: tr at erdfunkstelle.de



 M  +1 -1      createdesktopcontext.pl  


--- trunk/l10n-kde4/scripts/createdesktopcontext.pl #757054:757055
@@ -53,7 +53,7 @@
     
         # print STDERR "Processing $filename...\n"; ### DEBUG
         
-        my $regexp = qr{^(Name|Comment|Language|Keywords|About|Description|GenericName|Query|ExtraNames|X-KDE-Submenu|X-KDE-PluginInfo-Category)=(.+)};
+        my $regexp = qr{^(Name|Comment|Language|Keywords|About|Description|GenericName|Query|ExtraNames|X-KDE-Submenu)=(.+)};
     
         while( <FH> )
         {


More information about the Panel-devel mailing list