i18n infrastructure for Grantlee templates

Stephen Kelly steveire at gmail.com
Mon Jan 24 18:54:10 GMT 2011


Albert Astals Cid wrote:
>> 
>> >  * I'm not giving you EXTRACT_TEMPLATE_STRINGS, at most
>> > 
>> > EXTRACT_GRANTLEE_TEMPLATE_STRINGS if you want ;-)
>> 
>> That'll do :)
>> 
>> >> Will that be a problem? Can I coordinate that with someone?
>> > 
>> > With the KDE i18n coordinator (me)

Ok, the script is reviewed and committed into kdesdk/scripts.

What's the next step in this?

I looked in l10n-scripts and came up with this but I guess the variable 
needs to be exported too? My shell scripting foo is not that strong.

kde-devel at bishop:~/kdesvn/trunk/l10n-kde4/scripts$ svn diff 
Index: extract-messages.sh
===================================================================
--- extract-messages.sh (revision 1216049)
+++ extract-messages.sh (working copy)
@@ -7,6 +7,7 @@
 EXTRACTRC=${EXTRACTRC:-extractrc}
 EXTRACTATTR=${EXTRACTATTR:-extractattr}
 EXTRACTQML=${EXTRACTQML:-extractqml}
+EXTRACT_GRANTLEE_TEMPLATE_STRINGS=${EXTRACT_GRANTLEE_TEMPLATE_STRINGS:-
grantlee_strings_extractor.py}
 MSGCAT=${MSGCAT:-msgcat}
 PREPARETIPS=${PREPARETIPS:-preparetips}
 REPACKPOT=${REPACKPOT:-repack-pot.pl}                                                                                               

Is there something else that needs to be done?

All the best,

Steve.





More information about the kde-core-devel mailing list