Commit Graph

24030 Commits

Author SHA1 Message Date
Elias Pschernig
edce75c59f Made wmlunits output redirectable despite using Python's print command. 2008-03-31 22:07:29 +00:00
David Philippi
efba2e73e6 hungarian translation update 2008-03-31 20:36:53 +00:00
Sergey Popov
d24235b472 scons recipe: removed lingua option.
Added lingua targets, e.g. "scons update-po ru de".
2008-03-31 20:36:29 +00:00
Sergey Popov
cc5ee0d5c6 Made scons recipe automatically delete temporary .wml.po and .cpp.po files. 2008-03-31 20:20:30 +00:00
Nils Kneuper
d3bf7b238f add anl textdomain to g.w.o stats 2008-03-31 20:01:27 +00:00
Nils Kneuper
7927892b23 added the new textdomain wesnoth-anl 2008-03-31 20:00:07 +00:00
Piotr Cychowski
96085dfb2c Update changelog. 2008-03-31 19:51:08 +00:00
Jérémy Rosen
a3cc0f1871 report an error when a macro is not resolved...
...and is not a correct filename either, patch 1035 by cjhopman
2008-03-31 19:24:25 +00:00
Piotr Cychowski
68a6322525 Add ANL textdomain 2008-03-31 19:08:00 +00:00
Piotr Cychowski
50d48d6747 Merge ANL as per patch #936 + Some auto fixes by wmllint 2008-03-31 19:04:13 +00:00
Jérémy Rosen
d10c11f8c6 add svn:ignore property for revision.hpp since it's autogenerated 2008-03-31 18:54:43 +00:00
Sergey Popov
9cf7e852b7 scons recipe: implemented separate "pot-update" and "update-po" options. 2008-03-31 18:51:05 +00:00
Eric S. Raymond
ba20972956 Hide some more units that could use it. 2008-03-31 18:50:23 +00:00
Eric S. Raymond
c3aa49442a Fix a potential dependency on the order that files are preprocessed. 2008-03-31 18:38:54 +00:00
Eric S. Raymond
a9b2e51acc Eliminate a duplicative NR-specific macro in favor of a core macro. 2008-03-31 18:37:44 +00:00
Sergey Popov
1422f1e8a2 scons recipe: added "lingua" option to specify which language...
...update-po will update.
2008-03-31 18:16:19 +00:00
Elias Pschernig
d153541838 Added special case for tutorial to wmlunits for now...
...(ignoring custom units in the tutorial).
2008-03-31 18:08:04 +00:00
Eric S. Raymond
efad4d1a71 Typo fix. 2008-03-31 18:00:50 +00:00
Elias Pschernig
e830b1cccb Ignore campaigns with no extra units. 2008-03-31 17:56:54 +00:00
Elias Pschernig
dae7d2f3ec uncommented campaigns i had commented out for testing 2008-03-31 17:50:13 +00:00
Sergey Popov
309157618d scons recipe: renamed pot-update target to update-po...
...and made it update localized .po files.
2008-03-31 17:49:34 +00:00
Eric S. Raymond
04b00af73a Implement do_not_list interpretation for wml_units. 2008-03-31 17:42:53 +00:00
Elias Pschernig
04bf030559 Made wmlunits parse complete campaigns...
...instead of just their /units subfolder, should be more similar to
what the C++ engine does.
2008-03-31 17:40:49 +00:00
Eric S. Raymond
a037e7a114 Place do_not_list=yes where it will do some good later. 2008-03-31 17:40:35 +00:00
Eric S. Raymond
0a76b4a0c7 Comment fix. 2008-03-31 16:17:08 +00:00
Eric S. Raymond
8f7c7f5049 Add some documentation, remove some to-do comments, and update the to-do list. 2008-03-31 16:12:25 +00:00
Eric S. Raymond
2cabbcf3d7 Fix two glitches revealed by wmlscope and wmllint. 2008-03-31 15:56:08 +00:00
Eric S. Raymond
2ed5dc17f5 Typo fix. 2008-03-31 15:51:55 +00:00
Eric S. Raymond
d7d4b130e8 First cut at [base_unit]-aware lookup. 2008-03-31 15:47:07 +00:00
Sergey Popov
d5f05aa0d8 scons recipe: pot-update target now generates .po files...
...from C++ and wml and concatenates them into .pot files.
2008-03-31 15:21:31 +00:00
Eric S. Raymond
2beeda0b9f Correct a coding error introduced in last commit. 2008-03-31 15:19:08 +00:00
Eric S. Raymond
10862711e4 Collect all unit data in a single object so we can resolve basenames. 2008-03-31 15:07:31 +00:00
Eric S. Raymond
63bd89d392 Report generator doesn't need to be part of the UnitList object. 2008-03-31 14:45:47 +00:00
Eric S. Raymond
801c1409e6 Parsing is now correctly separated from report generation. 2008-03-31 14:25:49 +00:00
Eric S. Raymond
9e0c7d7e84 wmlunits now uses the textdomain information...
...included in each parsed unit item.
2008-03-31 14:12:14 +00:00
Eric S. Raymond
2d862f5646 Begin to separate unit parsing from report generation. 2008-03-31 13:35:23 +00:00
Sergey Popov
f0eba50d9f scons recipe: added pot-update target.
For now updates only messages from C++ files.
2008-03-31 13:28:15 +00:00
Eric S. Raymond
c6fca2eb00 Translation class is generally useful, so put it in the tools library. 2008-03-31 13:11:59 +00:00
Eric S. Raymond
515c68ce4c Two changes to wmlparser:
1) All data items collected by the parse now carry information about
   the text domain that was active when they were parsed.

2) Parser no longer ignores all #textdomain declarations other than
   'wesnoth'.

Note: the second change is potentially not backwards-compatible,
depending on how the parser client uses the data.
2008-03-31 12:58:26 +00:00
Eric S. Raymond
513921c01c Define a function for popping to the top-level dist directory. 2008-03-31 11:17:00 +00:00
Eric S. Raymond
b1a9d29509 Translation language can now be specified with a switch. 2008-03-31 11:05:04 +00:00
Eric S. Raymond
1c0660550a Factor out translation processing. 2008-03-31 10:39:59 +00:00
Nils Kneuper
1410242f23 updated Polish translation 2008-03-31 10:34:07 +00:00
Eric S. Raymond
1753e856fb Start of wmlunits refactoring. 2008-03-31 09:58:49 +00:00
Sergey Popov
bd95e29145 scons recipe: fixed logic error in InstallFilteredHook...
...that caused it to resize images even if tinygui is disabled.
2008-03-31 09:48:57 +00:00
Eric S. Raymond
71d85e4c00 Added elias's unit lister to the data/tools directory. 2008-03-31 09:45:54 +00:00
Douglas Hains
1f3d47c2de Two main changes:
* Exposed terrain information to FormulaAI, accessible by map.terrain

* Added function nearest_loc, takes a loc and list of locs and returns
the closest Added example in scenario-formula.cfg demonstrating new
features by implementing requested 'woodchopper' feature
2008-03-31 09:10:15 +00:00
Richard Kettering
f5dc09e4d0 Major upgrade to the berzerker's animations. 2008-03-31 00:13:53 +00:00
Richard Kettering
e696cdef2a Major upgrade to the berzerker's animations. 2008-03-31 00:06:26 +00:00
Eric S. Raymond
b51b7122a2 Add some clarifying comments. 2008-03-30 23:22:45 +00:00