create textdomain wesnoth-help (part3)

load the textdomain ingame

change the textdomain for some relevant files
This commit is contained in:
Nils Kneuper 2010-12-22 11:36:22 +00:00
parent fada480797
commit bc1d7ec1a5
10 changed files with 13 additions and 8 deletions

View file

@ -40,6 +40,9 @@
[textdomain]
name="wesnoth"
[/textdomain]
[textdomain]
name="wesnoth-help"
[/textdomain]
[textdomain]
name="wesnoth-units"
[/textdomain]

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-help
[section]
id=encyclopedia

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-help
[section]
id=geography

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-help
[help]
# FIXME: This is a kluge to keep the reference checker happy
# These are actually used in the C++ portion of the help engine.

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-help
# Ability macros to be included in the SingleWML description of a unit.
#define ABILITY_HEALS

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-help
#this file contains macros for After Max Level Advancement (AMLA)
#define AMLA_DEFAULT

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-help
#define DAWN
[time]

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-help
#define SPECIAL_NOTES
_"

View file

@ -1,4 +1,4 @@
#textdomain wesnoth
#textdomain wesnoth-help
# Traits for the [modifications] clause of SingleWML descriptions
#define TRAIT_LOYAL

View file

@ -18,6 +18,8 @@
* Routines for showing the help-dialog.
*/
#define GETTEXT_DOMAIN "wesnoth-help"
#include "global.hpp"
#include "help.hpp"