Author: esr
Date: Mon Mar 30 05:23:41 2009
New Revision: 34277
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34277&view=rev
Log:
Address feature request at bug #13096: check for space in email names.
Modified:
trunk/data/campaigns/Northern_Rebirth/_main.cfg
trunk/data/tools/wmllint
Modified: trunk/data/campaigns/Northern_Rebirth/_main.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Northern_Rebirth/_main.cfg?rev=34277&r1=34276&r2=34277&view=diff
==============================================================================
--- trunk/data/campaigns/Northern_Rebirth/_main.cfg (original)
+++ trunk/data/campaigns/Northern_Rebirth/_main.cfg Mon Mar 30 05:23:41 2009
@@ -98,6 +98,6 @@
{campaigns/Northern_Rebirth/scenarios}
#endif
-# wmllint: directory spellings Tallin Hamel Anita Stalrag Ro'Arthian Ro'Sothian
-# wmllint: directory spellings Elenia Hidel Sisal Krash Abhai Marcus Theta
+# wmllint: directory spellings Tallin Hamel Eryssa Stalrag Ro'Arthian
Ro'Sothian
+# wmllint: directory spellings Elenia Hidel Sisal Krash Abhai Morvin Thera
# wmllint: directory spellings Al'Tar Malifor Rakshas shinsplitters
Modified: trunk/data/tools/wmllint
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmllint?rev=34277&r1=34276&r2=34277&view=diff
==============================================================================
--- trunk/data/tools/wmllint (original)
+++ trunk/data/tools/wmllint Mon Mar 30 05:23:41 2009
@@ -836,6 +836,16 @@
races.append(value)
except TypeError:
pass
+ # Check for fluky credit parts
+ for nav in WmllintIterator(lines, filename):
+ above = nav.ancestors()
+ if above and above[-1] == "about":
+ try:
+ (key, prefix, value, comment) = parse_attribute(nav.text)
+ if key == email and " " in value:
+ print '"%s", line %d: space in email name'
+ except TypeError:
+ pass
# Sanity-check recruit and recruitment_pattern.
# This code has a limitation; if there are multiple instances of
# recruit and recruitment_pattern (as can happen if these lists
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits