Make wmllint recognize victory_string, defeat_string,

...gold_carryover_string, and notes_string (all from the [objectives]
tag) as attributes that need to be made translatable
This commit is contained in:
Ignacio R. Morelle 2013-01-17 05:43:48 +00:00
parent caf1ba4343
commit 5f0ce8d010
2 changed files with 7 additions and 0 deletions

View file

@ -72,6 +72,9 @@ Version 1.11.1+svn:
actually works without using :debug
* Removed recognition of the --smallgui command line option, which has been
superfluous since 1.9.5.
* Made wmllint recognize victory_string, defeat_string, gold_carryover_string,
and notes_string (all from the [objectives] tag) as attributes that need
to be made translatable
Version 1.11.1:
* AI:

View file

@ -686,6 +686,10 @@ translatables = re.compile( \
"^source$|" \
"^story$|" \
"^summary$|" \
"^victory_string$|" \
"^defeat_string$|" \
"^gold_carryover_string$|" \
"^notes_string$|" \
"^text$|" \
"^title$|" \
"^title2$|" \