wmllint: fix textdomain errors
1. Ibanovic wants all #textdomain declrations in line 1: c10cf2b68b
2. Several files were missing an explicit textdomain declaration.
Three of them actually have translated strings that defaulted to "wesnoth" textdomain:
- data/campaigns/World_Conquest/resources/data/training.cfg
- data/campaigns/World_Conquest/era/campaign/heroes.cfg
- data/campaigns/World_Conquest/scenarios/WC_II_scenario.cfg
This commit is contained in:
parent
42fa1aa3b5
commit
5b7865e36f
11 changed files with 13 additions and 6 deletions
|
@ -1,3 +1,5 @@
|
|||
#textdomain wesnoth-sof
|
||||
|
||||
#define SOF_BIGMAP
|
||||
[background_layer]
|
||||
image=maps/background.jpg
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#textdomain wesnoth-sota
|
||||
#ifdef EDITOR
|
||||
[terrain_graphics]
|
||||
[tile]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
#textdomain wesnoth-trow
|
||||
# Cutscene-only unit, has no need of fancy animations
|
||||
[unit_type]
|
||||
id=Elvish Champion Kalian
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
## MP Campaign (Scenarios in Multiplayer >> Random Maps)
|
||||
|
||||
#textdomain wesnoth-wc
|
||||
## MP Campaign (Scenarios in Multiplayer >> Random Maps)
|
||||
|
||||
[textdomain]
|
||||
name="wesnoth-wc"
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#textdomain wesnoth-wc
|
||||
|
||||
#ifdef EDITOR
|
||||
#ifndef LOAD_WC2
|
||||
#define LOAD_WC2
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
##############################################################
|
||||
#textdomain wesnoth-wc
|
||||
|
||||
#define WORLD_CONQUEST_II_ERA_HEROES_TRAITS
|
||||
[trait_extra]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#textdomain wesnoth-wc
|
||||
## add subfolders
|
||||
{./factions}
|
||||
{./campaign}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
#textdomain wesnoth-wc
|
||||
#define WORLD_CONQUEST_TEK_ARTIFACT_DEFINITIONS
|
||||
## in alphabetic order by name
|
||||
## uses some macros from training
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
#textdomain wesnoth-wc
|
||||
#define WORLD_CONQUEST_TEK_TRAINER_DEFINITIONS
|
||||
[trainer]
|
||||
type=Lich
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#textdomain wesnoth-wc
|
||||
## add subfolders
|
||||
{./data}
|
||||
{./strings}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#textdomain wesnoth-wc
|
||||
## macros may not be used inside translatable strings.
|
||||
|
||||
#define WC_II_CAMPAIGN_NAME_1P
|
||||
|
|
Loading…
Add table
Reference in a new issue