Benoît Timbert
762a7f1e47
Apply a patch from caslav.ilic: Fix the extraction of info variables...
...
...when the value is quoted.
2008-03-22 17:10:00 +00:00
Benoît Timbert
526f983612
Even more robust version...
...
...(see http://www.wesnoth.org/forum/viewtopic.php?f=7&t=20198 )
2008-03-16 00:48:02 +00:00
Benoît Timbert
8783dbb82b
Apply a fix from caslav.ilic:
...
now the context analyser parses the entire file and no longer crash if
#textdomain is not used at the top level (see
http://forum.wesnoth.org/viewtopic.php?f=7&t=20198 for full details)
2008-03-15 18:06:34 +00:00
Benoît Timbert
6bcc6d52bf
Apply patch #993 by caslav.ilic : wmlxgettext improvements
2008-03-09 23:26:32 +00:00
Nils Kneuper
5493cd1539
removed a part that *should* not be needed anymore
...
if any new untranslated strings appear, please tell me
2007-08-03 14:03:21 +00:00
Yann Dirson
dda5cb55ba
made wmlxgettext to restore the textdomain on #enddef,
...
...to match the new preprocessor behaviour
2005-05-08 12:30:04 +00:00
Yann Dirson
876d57c1d6
d'oh - revert last change, we may need a stack after all
2005-05-08 12:14:40 +00:00
Yann Dirson
d9ce1d893b
no need to use a stack
2005-05-08 11:59:04 +00:00
Yann Dirson
e0c6daf64c
Added --domain (and --initialdomain) to wmlxgettext,
...
...to select the single textdomain to extract from the files. It is
not really complete (not knowing about the WML scope of #textdomain,
and assuming textual scope), but sufficient for now. Changed default
string-extraction rules to use --domain. Added #textdomain in
"library" wml files from standard campaigns, in places where it would
be missing should those files be #included from different campaigns,
but mostly so their strings get extracted.
2005-05-04 22:56:15 +00:00
Yann Dirson
f31ea38d9c
fixed wmlxgettext to support multiple strings on a single line
2004-11-25 10:34:47 +00:00
Yann Dirson
34b10e6a73
missing (albeit cosmetic) newline in output
2004-11-14 22:24:49 +00:00
Yann Dirson
24e7ffda5f
make wmlxgettext output strings sorted as "msgcat --sort-by-file" would do
2004-11-14 22:19:49 +00:00
Yann Dirson
31aee272d6
oops, do not drop all line-endings allogether !
2004-11-09 00:34:35 +00:00
Yann Dirson
08cee34459
behave properly when WML files have msdos line-endings in multiline strings
2004-11-09 00:27:46 +00:00
Yann Dirson
840ad864aa
behave properly when WML files have msdos line-endings in multiline strings
2004-11-09 00:06:42 +00:00
Yann Dirson
490c64ac95
add --directory option to wmlxgettext...
...
so that running out of source tree works as expected
2004-10-21 19:54:39 +00:00
Yann Dirson
145540f989
fixed wmlxgettext for header generation
2004-10-17 12:47:50 +00:00
Cédric Duval
bec7be4bee
Fixed wmlxgettext not finding cfg files when updating pots.
2004-10-14 13:07:05 +00:00
Yann Dirson
397b97861e
better handling of trailing spaces in magic unit attributes
2004-10-03 21:38:48 +00:00
Yann Dirson
b35fbd6b2e
allow wmlxgettext to extract several strings from a single input line
2004-09-05 16:23:22 +00:00
Yann Dirson
47a421f7ac
improved wmlxgettext to catch strings in other places than attribute assignments
2004-09-05 16:13:06 +00:00
Yann Dirson
6192e52096
automagically get weapon and ability strings
2004-08-10 21:28:47 +00:00
Yann Dirson
7492ccf2a0
fixed lookup of multiline strings on import
2004-08-09 20:55:54 +00:00
Yann Dirson
62fd4153e1
new wmlxgettext to extract translatable strings
2004-08-09 18:45:28 +00:00