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:
Andrey Bienkowski 2021-01-19 21:23:15 +03:00 committed by Gunter Labes
parent 42fa1aa3b5
commit 5b7865e36f
11 changed files with 13 additions and 6 deletions

View file

@ -1,3 +1,5 @@
#textdomain wesnoth-sof
#define SOF_BIGMAP
[background_layer]
image=maps/background.jpg

View file

@ -1,3 +1,4 @@
#textdomain wesnoth-sota
#ifdef EDITOR
[terrain_graphics]
[tile]

View file

@ -1,4 +1,4 @@
#textdomain wesnoth-trow
# Cutscene-only unit, has no need of fancy animations
[unit_type]
id=Elvish Champion Kalian

View file

@ -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"

View file

@ -1,3 +1,5 @@
#textdomain wesnoth-wc
#ifdef EDITOR
#ifndef LOAD_WC2
#define LOAD_WC2

View file

@ -1,4 +1,4 @@
##############################################################
#textdomain wesnoth-wc
#define WORLD_CONQUEST_II_ERA_HEROES_TRAITS
[trait_extra]

View file

@ -1,3 +1,4 @@
#textdomain wesnoth-wc
## add subfolders
{./factions}
{./campaign}

View file

@ -1,4 +1,4 @@
#textdomain wesnoth-wc
#define WORLD_CONQUEST_TEK_ARTIFACT_DEFINITIONS
## in alphabetic order by name
## uses some macros from training

View file

@ -1,4 +1,4 @@
#textdomain wesnoth-wc
#define WORLD_CONQUEST_TEK_TRAINER_DEFINITIONS
[trainer]
type=Lich

View file

@ -1,3 +1,4 @@
#textdomain wesnoth-wc
## add subfolders
{./data}
{./strings}

View file

@ -1,3 +1,4 @@
#textdomain wesnoth-wc
## macros may not be used inside translatable strings.
#define WC_II_CAMPAIGN_NAME_1P