Moved Tutorial textdomain and ifdef into its _main.cfg to avoid it being included twice

This commit is contained in:
Charles Dang 2014-12-31 05:49:50 +11:00
parent e6a7b34555
commit f222744f4e
2 changed files with 8 additions and 8 deletions

View file

@ -86,10 +86,6 @@
[textdomain]
name="wesnoth-multiplayer"
[/textdomain]
# required to wire it in rather early, won't work in the ifdef for the tutorial
[textdomain]
name="wesnoth-tutorial"
[/textdomain]
# does not work when wired in only in the multiplayer file, do not ask me why...
[textdomain]
name="wesnoth-anl"
@ -112,7 +108,3 @@
[textdomain]
name="wesnoth-lib"
[/textdomain]
#ifdef TUTORIAL
{campaigns/tutorial}
#endif

View file

@ -1,3 +1,10 @@
#textdomain wesnoth-tutorial
[textdomain]
name="wesnoth-tutorial"
[/textdomain]
#ifdef TUTORIAL
[binary_path]
path=data/campaigns/tutorial
[/binary_path]
@ -8,3 +15,4 @@
{campaigns/tutorial/utils}
{campaigns/tutorial/scenarios}
#endif