286 Commits

Author SHA1 Message Date
Eric S. Raymond
99e5675ce7 Fix archaic use of id= in [unit]. 2008-03-12 11:06:33 +00:00
Eric S. Raymond
b1fd28f140 Variable name change. 2008-03-12 08:37:59 +00:00
Eric S. Raymond
9655d59081 [unit] enclosing UnitWML becomes [unit_type]
Note: This change breaks backward compatibility with the 1.4 branch!
2008-03-12 08:08:37 +00:00
Eric S. Raymond
500fa1ee31 Notify iser when we add map bordewrs, in case the code hits a false positive. 2008-03-12 05:42:36 +00:00
Eric S. Raymond
796b4ef8cc Correct a minor wmllint error 2008-03-12 02:20:11 +00:00
Eric S. Raymond
06b7f7b1d9 Consistently use "speaker" rather than "description" in [message];...
...change by wmllint.  This is a step towards cleaning up the mess
around "description", which is translatable in some contexts and not
in others.
2008-03-11 11:10:59 +00:00
Eric S. Raymond
31a3f81875 Change the "description" attribute in [object] to "user_description"...
...to mark the fact that it is used in the game display rather than as a
filter term. For backward compatibility with 1.4 UMC, continue to accept 
"description", but this patch makes the appropriate change in all
mainline content.
2008-03-11 02:45:12 +00:00
Eric S. Raymond
b6ce8536be Add a --stringfreeze option. 2008-03-10 02:54:42 +00:00
Eric S. Raymond
15187c0e65 Enabke wmllint to check for newlines in message strings,
...and implement a new kind of magic comment to suppress the warning.
2008-03-10 02:42:35 +00:00
Eric S. Raymond
f8491fa057 Teach wmllint to check for double spaces after end of sentence, and fix some. 2008-03-09 02:17:02 +00:00
Eric S. Raymond
7a0097ea9c Small refactoring step. 2008-03-08 23:11:45 +00:00
Eric S. Raymond
f7122947fe Disable the road terrain check. 2008-03-08 04:55:14 +00:00
Eric S. Raymond
364a4decbd wmlindent strikes again. 2008-03-07 21:26:44 +00:00
Eric S. Raymond
878f5a32a5 Teach wmllint to detect unbalanced string quotes in macro calls,
...and fix the example.
2008-03-06 03:32:11 +00:00
Eric S. Raymond
512c996f22 New wmllint test and some minor cleanliness fixes to go with it. 2008-03-05 22:36:00 +00:00
Eric S. Raymond
43ada21c84 Address bug #11202. 2008-03-04 17:39:32 +00:00
Eric S. Raymond
9c89a6c0fe Minor bug fix. 2008-03-02 15:18:41 +00:00
Eric S. Raymond
2341a7ee08 Suppress some verbosity. 2008-03-01 23:39:52 +00:00
Eric S. Raymond
c2c4914e19 Typo fix. 2008-03-01 08:47:37 +00:00
Eric S. Raymond
303a039679 Use cancrecruit={yes,no} rather than canrecruit={1,0} everywhere,
...because it's a good example mainline should set for UMC.
This change was done mechanically with a wmllint enhancement.
2008-03-01 08:42:40 +00:00
Eric S. Raymond
85b90320cf Tweak some things soi SoF continues to pass sanity tests. 2008-02-19 22:57:57 +00:00
Eric S. Raymond
1981d43bad Teach wmllint to convert letter= to terrain= when appropriate.
Fix a comment.
2008-02-12 13:16:22 +00:00
Eric S. Raymond
358cf05fb9 Avoid spurious messages. 2008-02-08 05:46:19 +00:00
Eric S. Raymond
e849504a0c Remove unused transformation. 2008-02-06 20:57:07 +00:00
Eric S. Raymond
cc6d19f0d8 Impplement noyga's FR in bug #10990:
detect unknown movetypes and rwaces in units.
2008-02-06 03:01:37 +00:00
Eric S. Raymond
5f883d14bd Implement FR #4 in bug #10990, checking side sequence numbers.
Fix a couple of glitches this revealed in mainline
2008-02-06 01:41:18 +00:00
Eric S. Raymond
b2061f6180 Code cleanup. 2008-02-06 01:07:55 +00:00
Eric S. Raymond
aba249cf83 Move all #textdomain declarations to line 1 at Ivanovic's request. 2008-02-05 21:56:35 +00:00
Eric S. Raymond
c10cf2b68b Ibanovic wants all #textdomain declrations in line 1. 2008-02-05 21:31:31 +00:00
Eric S. Raymond
3d0d0a6841 Iplemented FR in bug #10952, but under the --future switch.
We have a couple of these glitches but can't fix them until after 1.4.
2008-02-05 19:57:56 +00:00
Eric S. Raymond
30e46d21f9 Address FR #10951.
My check is actually slightly more relaxed, it verifies that there are
no translatable strings before the #textdomain directive.
2008-02-05 19:45:35 +00:00
Eric S. Raymond
875f023721 Detect badly placed #textdomain strings (partial implementation of FR #10951).
Correct two mainline glitches detected by this code.
2008-02-05 19:22:06 +00:00
Eric S. Raymond
4f0c7c0c41 Don't just warn about wrong translation marks, actually fix them. 2008-02-05 18:20:15 +00:00
Eric S. Raymond
b84b295168 Added check for macro calls in translatable strings.
Mainline has none at this time.
2008-02-02 22:53:50 +00:00
Eric S. Raymond
759f1dc262 Spelling, typo and text fixes related to meta-bug #10960. 2008-02-02 19:14:38 +00:00
Eric S. Raymond
9c7005d08d Adde extended translation-mark checking and fixed some bugs it found. 2008-02-02 11:20:25 +00:00
Eric S. Raymond
727f8d6116 Expect description= within [trait] to have a translation mark. 2008-02-02 10:47:40 +00:00
Eric S. Raymond
793b94b23b New logic in wmllint for checking tags that should have translation marks...
(such as [message]) and tags that should not (such as
[speaker]). Also, fixes for all but one of the glitches found with
this code.
2008-02-02 10:35:44 +00:00
Eric S. Raymond
8e486eea22 Restore --oldversion. 2008-02-02 04:59:36 +00:00
Eric S. Raymond
b5c52be244 Avoid some false his on the keyword 'usage'. 2008-02-01 23:29:58 +00:00
Eric S. Raymond
b527bc665b Properly conditionalize another conversion. 2008-02-01 23:12:38 +00:00
Eric S. Raymond
b55fd6f648 Remove remaining version check 2008-02-01 15:49:44 +00:00
Eric S. Raymond
26033be54c Reove the --oldversions option, It was never very useful. 2008-02-01 15:12:19 +00:00
Eric S. Raymond
13d01a4e51 wmllint now has the capability to automatically check...
...that every description= in [message] and [filter] blocks refers to
a unit that is present in the scenario. This commit fixes almost all
bugs found with this test, and adds magic comments to handle places
where the WML doesn't supply a recognizable unit creation or recall
(usually because of macros).
2008-01-31 13:12:19 +00:00
Eric S. Raymond
f077b9485e Handle the last edge cases in the test for recruitment_pattern consistency. 2008-01-31 06:20:57 +00:00
Eric S. Raymond
1c34d84292 Yet more fixes to recruitment-pattern bugs,
...and a warning about the limitations of the wmllint test.
2008-01-31 05:47:44 +00:00
Eric S. Raymond
3534629847 Recruitment-pattern sanity checks now work. 2008-01-31 03:55:59 +00:00
Eric S. Raymond
4c1fcf1193 wmllint now gathers the information necessary...
...to do recruitment consistency checks, but doesn't do them yet.
2008-01-31 01:01:27 +00:00
Eric S. Raymond
67175d706a Disable note checks if we see a base_unit. 2008-01-29 20:00:38 +00:00
Eric S. Raymond
d82fd86f96 1.3.13 -> 1.3.14 windmill to village conversion. Apparently for UMC only. 2008-01-25 03:57:49 +00:00