create textdomain wesnoth-help (part3)
load the textdomain ingame change the textdomain for some relevant files
This commit is contained in:
parent
fada480797
commit
bc1d7ec1a5
10 changed files with 13 additions and 8 deletions
|
@ -40,6 +40,9 @@
|
|||
[textdomain]
|
||||
name="wesnoth"
|
||||
[/textdomain]
|
||||
[textdomain]
|
||||
name="wesnoth-help"
|
||||
[/textdomain]
|
||||
[textdomain]
|
||||
name="wesnoth-units"
|
||||
[/textdomain]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#textdomain wesnoth
|
||||
#textdomain wesnoth-help
|
||||
|
||||
[section]
|
||||
id=encyclopedia
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#textdomain wesnoth
|
||||
#textdomain wesnoth-help
|
||||
|
||||
[section]
|
||||
id=geography
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#textdomain wesnoth
|
||||
#textdomain wesnoth-help
|
||||
# Ability macros to be included in the SingleWML description of a unit.
|
||||
|
||||
#define ABILITY_HEALS
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#textdomain wesnoth
|
||||
#textdomain wesnoth-help
|
||||
#this file contains macros for After Max Level Advancement (AMLA)
|
||||
|
||||
#define AMLA_DEFAULT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#textdomain wesnoth
|
||||
#textdomain wesnoth-help
|
||||
|
||||
#define DAWN
|
||||
[time]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#textdomain wesnoth
|
||||
#textdomain wesnoth-help
|
||||
#define SPECIAL_NOTES
|
||||
_"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#textdomain wesnoth
|
||||
#textdomain wesnoth-help
|
||||
# Traits for the [modifications] clause of SingleWML descriptions
|
||||
|
||||
#define TRAIT_LOYAL
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
* Routines for showing the help-dialog.
|
||||
*/
|
||||
|
||||
#define GETTEXT_DOMAIN "wesnoth-help"
|
||||
|
||||
#include "global.hpp"
|
||||
|
||||
#include "help.hpp"
|
||||
|
|
Loading…
Add table
Reference in a new issue