[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: l10n-kde4/scripts
From: Thomas Reitelbach <tr () erdfunkstelle ! de>
Date: 2007-12-13 22:04:56
Message-ID: 1197583496.803475.13743.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 748229 by reitelbach:
Extract X-KDE-PluginInfo-Category from desktop files.
This should make plugin category names in the Add Applet dialog
translatable.
CCMAIL:kde-i18n-doc@kde.org
M +3 -0 applycontext.cpp
M +1 -1 createdesktopcontext.pl
--- trunk/l10n-kde4/scripts/applycontext.cpp #748228:748229
@@ -1790,6 +1790,9 @@
if (checkTag("ExtraNames", in, argc, argv, newFile))
continue;
+ if (checkTag("X-KDE-PluginInfo-Category", in, argc, argv, newFile))
+ continue;
+
// ### TODO: KDE4: do we still need it?
if (checkTag("X-KDE-Submenu", in, argc, argv, newFile))
continue;
--- trunk/l10n-kde4/scripts/createdesktopcontext.pl #748228:748229
@@ -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)=(.+)};
+ my $regexp = \
qr{^(Name|Comment|Language|Keywords|About|Description|GenericName|Query|ExtraNames|X-KDE-Submenu|X-KDE-PluginInfo-Category)=(.+)};
while( <FH> )
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic