Le vendredi 29 octobre 2004 à 01:44 +0200, Victor STINNER a écrit : > Le vendredi 29 octobre 2004 à 01:15 +0200, Michael Prager a écrit : > > Bug No.1: it doesn't compile :-P
Bug No.2: it doesn't compile :'-( New patch. Michael will be happy to see this patch : it fix po/wormux.pot file ! But I don't understand why the compilation was alright until the beta, and now it doesn't work :-/ Isaac and lodesi: do you agree with this patch ? I'm not sure that xgettext should write into wormux.pot. Bye, Haypo -- Victor STINNER <[EMAIL PROTECTED]>
Index: po/Makefile.am =================================================================== RCS file: /cvs/wormux/wormux/po/Attic/Makefile.am,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- po/Makefile.am 16 Oct 2004 20:20:01 -0000 1.1.2.1 +++ po/Makefile.am 29 Oct 2004 12:54:01 -0000 1.1.2.2 @@ -23,7 +23,6 @@ src/gui/spin_button.cpp \ src/main.cpp \ src/graphic/animation.cpp \ - src/graphic/clipping.cpp \ src/graphic/convert.cpp \ src/graphic/font.cpp \ src/graphic/fps.cpp \ @@ -44,6 +43,7 @@ src/map/map.cpp \ src/map/maps_list.cpp \ src/map/sky.cpp \ + src/map/tile.cpp \ src/map/water.cpp \ src/map/wind.cpp \ src/menu/infos_menu.cpp \ @@ -156,7 +156,9 @@ # This target rebuilds $(DOMAIN).pot; it is an expensive operation. # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. $(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed - $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + $(XGETTEXT) \ + -o $(DOMAIN).pot -k'_' -s --from-code iso-8859-1 \ + --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --msgid-bugs-address='$(MSGID_BUGS_ADDRESS)' \
# Sed script that remove the POT-Creation-Date line in the header entry # from a POT file. # # The distinction between the first and the following occurrences of the # pattern is achieved by looking at the hold space. /^"POT-Creation-Date: .*"$/{ x # Test if the hold space is empty. s/P/P/ ta # Yes it was empty. First occurrence. Remove the line. g d bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b }