Author: ai0867
Date: Mon Sep 29 10:38:09 2008
New Revision: 29754
URL: http://svn.gna.org/viewcvs/wesnoth?rev=29754&view=rev
Log:
* Add the help section to wmlgrammar.py.
Modified:
trunk/data/tools/wesnoth/wmlgrammar.py
Modified: trunk/data/tools/wesnoth/wmlgrammar.py
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wesnoth/wmlgrammar.py?rev=29754&r1=29753&r2=29754&view=diff
==============================================================================
--- trunk/data/tools/wesnoth/wmlgrammar.py (original)
+++ trunk/data/tools/wesnoth/wmlgrammar.py Mon Sep 29 10:38:09 2008
@@ -9,8 +9,8 @@
# This is the top-level pseudo-tag that everything is a child of.
# It should have no keys
'WML' : (
- [ 'about', 'game_config', 'textdomain', ],
- [] ),
+ [ 'about', 'game_config', 'help', 'textdomain', ],
+ []),
# Attempt to keep everything alphabetically ordered
'about' : (
[ 'entry', ],
@@ -27,12 +27,24 @@
'game_config' : (
[ 'color_palette', 'color_range', 'server', ],
[ 'ally_ball_image', 'base_income', 'buttons_x', 'buttons_y',
'buttons_padding', 'cross_image', 'default_defeat_music',
'default_victory_music', 'defense_color_scale', 'ellipsis_image',
'enemy_ball_image', 'energy_image', 'flag_icon_image', 'flag_image',
'flag_rgb', 'footprint_prefix', 'footprint_teleport_enter',
'footprint_teleport_exit', 'grid_image', 'hp_bar_scaling', 'icon',
'kill_experience', 'level_image', 'lobby_music', 'lobby_refresh', 'logo',
'logo_x', 'logo_y', 'moved_ball_image', 'observer_image',
'partmoved_ball_image', 'poison_amount', 'recall_cost', 'rest_heal_amount',
'terrain_mask_image', 'tip_padding', 'tip_width', 'tip_x', 'title',
'title_music', 'tod_bright_image', 'unmoved_ball_image', 'unreachable_image',
'village_income', 'wesnothd_name', 'xp_bar_scaling', ]),
+'help' : (
+ [ 'section', 'topic', 'toplevel' ],
+ []),
+'section' : (
+ [],
+ [ 'generator', 'id', 'sections_generator', 'sort_sections', 'sort_topics',
'title', 'topics', ]),
'server' : (
[],
[ 'address', 'name', ]),
'textdomain' : (
[],
[ 'name', ]),
+'topic' : (
+ [],
+ [ 'generator', 'id', 'text', 'title', ]),
+'toplevel' : (
+ [],
+ [ 'sections', 'topics', ]),
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits