[Super-tux-commit] supertux/data Jamfile,1.3,1.4
Brought to you by:
wkendrick
From: Matze B. <mat...@us...> - 2004-12-02 01:42:39
|
Update of /cvsroot/super-tux/supertux/data In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv539/data Modified Files: Jamfile Log Message: Made lispfiles translatable. This time the translations are stored externally in .po files in the same directory as the lisp files. So you can have translation files for complete level subsets now. Because Ricardo added a hacked solution before and because people already used that, someone has to go over all the maps now, extract the translations and put them into separate files, I'm too lazy to do that now, I just translated some files for testing. Translation-Patches are always welcome ;-) Index: Jamfile =================================================================== RCS file: /cvsroot/super-tux/supertux/data/Jamfile,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Jamfile 23 Nov 2004 22:21:24 -0000 1.3 +++ Jamfile 2 Dec 2004 01:41:54 -0000 1.4 @@ -32,11 +32,15 @@ levels/test levels/world1 levels/world2 - levels/worldmap ; for p in $(LEVELPATHS) { InstallData [ Wildcard $(p) : info *.stl *.stwm ] : $(p) ; + + local translatable_lisp = [ Wildcard $(p) : info *.stl *.stwm ] ; + SEARCH on $(translatable_lisp) = $(SEARCH_SOURCE) ; + MakePot $(SUBDIR)/$(p)/messages.pot : $(translatable_lisp) ; + XGETTEXT_FLAGS on $(SUBDIR)/$(p)/messages.pot += --language=Lisp ; } InstallData [ Wildcard *.txt ] ; InstallData [ Wildcard music : *.mod *.ogg ] : music ; |