From 234c99f9219b740fec0912dbf5bd1d395b636fd2 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 15 Nov 2021 06:30:10 +0200 Subject: [PATCH 13/13] Nations: Replace translation domain definition "freeciv" with "freeciv-core" This makes it to match the actual translation domain the translations are from. See osdn #42111 Signed-off-by: Marko Lindqvist --- data/nation/american.ruleset | 2 +- data/nation/animals.ruleset | 2 +- data/nation/apache.ruleset | 2 +- data/nation/arab.ruleset | 2 +- data/nation/austrian.ruleset | 2 +- data/nation/aztec.ruleset | 2 +- data/nation/babylonian.ruleset | 2 +- data/nation/barbarian.ruleset | 2 +- data/nation/brazilian.ruleset | 2 +- data/nation/byzantium.ruleset | 2 +- data/nation/carthaginian.ruleset | 2 +- data/nation/celtic.ruleset | 2 +- data/nation/cherokee.ruleset | 2 +- data/nation/chinese.ruleset | 2 +- data/nation/danish.ruleset | 2 +- data/nation/dutch.ruleset | 2 +- data/nation/egyptian.ruleset | 2 +- data/nation/english.ruleset | 2 +- data/nation/ethiopian.ruleset | 2 +- data/nation/french.ruleset | 2 +- data/nation/german.ruleset | 2 +- data/nation/greek.ruleset | 2 +- data/nation/hittite.ruleset | 2 +- data/nation/hunnic.ruleset | 2 +- data/nation/inca.ruleset | 2 +- data/nation/indian.ruleset | 2 +- data/nation/indonesian.ruleset | 2 +- data/nation/iroquois.ruleset | 2 +- data/nation/italian.ruleset | 2 +- data/nation/japanese.ruleset | 2 +- data/nation/khmer.ruleset | 2 +- data/nation/korean.ruleset | 2 +- data/nation/mali.ruleset | 2 +- data/nation/mayan.ruleset | 2 +- data/nation/mongol.ruleset | 2 +- data/nation/persian.ruleset | 2 +- data/nation/pirate.ruleset | 2 +- data/nation/polish.ruleset | 2 +- data/nation/polynesian.ruleset | 2 +- data/nation/portuguese.ruleset | 2 +- data/nation/roman.ruleset | 2 +- data/nation/russian.ruleset | 2 +- data/nation/singlebarbarian.ruleset | 2 +- data/nation/sioux.ruleset | 2 +- data/nation/songhai.ruleset | 2 +- data/nation/spanish.ruleset | 2 +- data/nation/sumerian.ruleset | 2 +- data/nation/swedish.ruleset | 2 +- data/nation/taino.ruleset | 2 +- data/nation/thai.ruleset | 2 +- data/nation/tupi.ruleset | 2 +- data/nation/turk.ruleset | 2 +- data/nation/viking.ruleset | 2 +- data/nation/zulu.ruleset | 2 +- server/ruleset.c | 2 +- tools/ruleutil/rulesave.c | 2 +- 56 files changed, 56 insertions(+), 56 deletions(-) diff --git a/data/nation/american.ruleset b/data/nation/american.ruleset index 8a4afe1a4c..71cd29ee82 100644 --- a/data/nation/american.ruleset +++ b/data/nation/american.ruleset @@ -1,6 +1,6 @@ [nation_american] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("American") plural = _("?plural:Americans") diff --git a/data/nation/animals.ruleset b/data/nation/animals.ruleset index 1c1b01ed8d..d820e18983 100644 --- a/data/nation/animals.ruleset +++ b/data/nation/animals.ruleset @@ -1,6 +1,6 @@ [nation_animals] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Animal Kingdom") plural = _("?plural:Animals") diff --git a/data/nation/apache.ruleset b/data/nation/apache.ruleset index f42a8ba80f..51e90143af 100644 --- a/data/nation/apache.ruleset +++ b/data/nation/apache.ruleset @@ -1,6 +1,6 @@ [nation_apache] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Apache") plural = _("?plural:Apaches") diff --git a/data/nation/arab.ruleset b/data/nation/arab.ruleset index 7ea3266d49..e70cc39af7 100644 --- a/data/nation/arab.ruleset +++ b/data/nation/arab.ruleset @@ -1,6 +1,6 @@ [nation_arab] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Arab") plural = _("?plural:Arabs") diff --git a/data/nation/austrian.ruleset b/data/nation/austrian.ruleset index ea6510d6a4..0d7d6a2217 100644 --- a/data/nation/austrian.ruleset +++ b/data/nation/austrian.ruleset @@ -1,6 +1,6 @@ [nation_austrian] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Austrian") plural = _("?plural:Austrians") diff --git a/data/nation/aztec.ruleset b/data/nation/aztec.ruleset index 58c8598a9c..9779e5cac6 100644 --- a/data/nation/aztec.ruleset +++ b/data/nation/aztec.ruleset @@ -1,6 +1,6 @@ [nation_aztec] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Aztec") plural = _("?plural:Aztecs") diff --git a/data/nation/babylonian.ruleset b/data/nation/babylonian.ruleset index ac01fc0a66..a732c8dbc5 100644 --- a/data/nation/babylonian.ruleset +++ b/data/nation/babylonian.ruleset @@ -1,6 +1,6 @@ [nation_babylonian] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Babylonian") plural = _("?plural:Babylonians") diff --git a/data/nation/barbarian.ruleset b/data/nation/barbarian.ruleset index f5ea03d680..a21bbfa615 100644 --- a/data/nation/barbarian.ruleset +++ b/data/nation/barbarian.ruleset @@ -1,6 +1,6 @@ [nation_barbarian] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Barbarian") plural = _("?plural:Barbarians") diff --git a/data/nation/brazilian.ruleset b/data/nation/brazilian.ruleset index 39ec7b3a42..e519ccce2e 100644 --- a/data/nation/brazilian.ruleset +++ b/data/nation/brazilian.ruleset @@ -1,6 +1,6 @@ [nation_brazilian] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Brazilian") plural = _("?plural:Brazilians") diff --git a/data/nation/byzantium.ruleset b/data/nation/byzantium.ruleset index e074f25227..4713d3b11a 100644 --- a/data/nation/byzantium.ruleset +++ b/data/nation/byzantium.ruleset @@ -1,6 +1,6 @@ [nation_byzantine] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Byzantine") plural = _("?plural:Byzantines") diff --git a/data/nation/carthaginian.ruleset b/data/nation/carthaginian.ruleset index 815ecba7a8..c9eefda1eb 100644 --- a/data/nation/carthaginian.ruleset +++ b/data/nation/carthaginian.ruleset @@ -1,6 +1,6 @@ [nation_carthaginian] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Carthaginian") plural = _("?plural:Carthaginians") diff --git a/data/nation/celtic.ruleset b/data/nation/celtic.ruleset index 091220d2c1..21b5d63262 100644 --- a/data/nation/celtic.ruleset +++ b/data/nation/celtic.ruleset @@ -1,6 +1,6 @@ [nation_celtic] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Celtic") plural = _("?plural:Celts") diff --git a/data/nation/cherokee.ruleset b/data/nation/cherokee.ruleset index 0f7b295f44..f91588b7e5 100644 --- a/data/nation/cherokee.ruleset +++ b/data/nation/cherokee.ruleset @@ -1,6 +1,6 @@ [nation_cherokee] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Cherokee") plural = _("?plural:Cherokees") diff --git a/data/nation/chinese.ruleset b/data/nation/chinese.ruleset index 30f8770e23..e47b4f193d 100644 --- a/data/nation/chinese.ruleset +++ b/data/nation/chinese.ruleset @@ -1,6 +1,6 @@ [nation_chinese] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Chinese") plural = _("?plural:Chinese") diff --git a/data/nation/danish.ruleset b/data/nation/danish.ruleset index 67e547f964..487fe2df8f 100644 --- a/data/nation/danish.ruleset +++ b/data/nation/danish.ruleset @@ -1,6 +1,6 @@ [nation_danish] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Danish") plural = _("?plural:Danes") diff --git a/data/nation/dutch.ruleset b/data/nation/dutch.ruleset index f03106a15f..b5b017348e 100644 --- a/data/nation/dutch.ruleset +++ b/data/nation/dutch.ruleset @@ -1,6 +1,6 @@ [nation_dutch] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Dutch") plural = _("?plural:Dutch") diff --git a/data/nation/egyptian.ruleset b/data/nation/egyptian.ruleset index d18330eae4..531bbe3724 100644 --- a/data/nation/egyptian.ruleset +++ b/data/nation/egyptian.ruleset @@ -1,6 +1,6 @@ [nation_egyptian] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Egyptian") plural = _("?plural:Egyptians") diff --git a/data/nation/english.ruleset b/data/nation/english.ruleset index 14bce8a71e..b14483469a 100644 --- a/data/nation/english.ruleset +++ b/data/nation/english.ruleset @@ -1,6 +1,6 @@ [nation_english] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("English") plural = _("?plural:English") diff --git a/data/nation/ethiopian.ruleset b/data/nation/ethiopian.ruleset index 0aef90de31..384772108e 100644 --- a/data/nation/ethiopian.ruleset +++ b/data/nation/ethiopian.ruleset @@ -1,6 +1,6 @@ [nation_ethiopian] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Ethiopian") plural = _("?plural:Ethiopians") diff --git a/data/nation/french.ruleset b/data/nation/french.ruleset index ea268fcfca..83e5630eca 100644 --- a/data/nation/french.ruleset +++ b/data/nation/french.ruleset @@ -1,6 +1,6 @@ [nation_french] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("French") plural = _("?plural:French") diff --git a/data/nation/german.ruleset b/data/nation/german.ruleset index a63cde94ce..3d79c9ed6c 100644 --- a/data/nation/german.ruleset +++ b/data/nation/german.ruleset @@ -1,6 +1,6 @@ [nation_german] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("German") plural = _("?plural:Germans") diff --git a/data/nation/greek.ruleset b/data/nation/greek.ruleset index f1bb1be794..99eaee952c 100644 --- a/data/nation/greek.ruleset +++ b/data/nation/greek.ruleset @@ -1,6 +1,6 @@ [nation_greek] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Greek") plural = _("?plural:Greeks") diff --git a/data/nation/hittite.ruleset b/data/nation/hittite.ruleset index 9808e8682c..a3a5c549cb 100644 --- a/data/nation/hittite.ruleset +++ b/data/nation/hittite.ruleset @@ -1,6 +1,6 @@ [nation_hittite] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Hittite") plural = _("?plural:Hittites") diff --git a/data/nation/hunnic.ruleset b/data/nation/hunnic.ruleset index a8a77deb1d..1d60a081fa 100644 --- a/data/nation/hunnic.ruleset +++ b/data/nation/hunnic.ruleset @@ -1,6 +1,6 @@ [nation_hunnic] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Hunnic") plural = _("?plural:Huns") diff --git a/data/nation/inca.ruleset b/data/nation/inca.ruleset index 6c1790ea20..82dfb868cb 100644 --- a/data/nation/inca.ruleset +++ b/data/nation/inca.ruleset @@ -1,6 +1,6 @@ [nation_inca] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Inca") plural = _("?plural:Incas") diff --git a/data/nation/indian.ruleset b/data/nation/indian.ruleset index 143b90063d..b0fdaebd15 100644 --- a/data/nation/indian.ruleset +++ b/data/nation/indian.ruleset @@ -1,6 +1,6 @@ [nation_indian] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Indian") plural = _("?plural:Indians") diff --git a/data/nation/indonesian.ruleset b/data/nation/indonesian.ruleset index 4cc0249224..b6bea4c1d6 100644 --- a/data/nation/indonesian.ruleset +++ b/data/nation/indonesian.ruleset @@ -1,6 +1,6 @@ [nation_indonesian] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Indonesian") plural = _("?plural:Indonesians") diff --git a/data/nation/iroquois.ruleset b/data/nation/iroquois.ruleset index c822957153..f0061aecbe 100644 --- a/data/nation/iroquois.ruleset +++ b/data/nation/iroquois.ruleset @@ -1,6 +1,6 @@ [nation_iroquois] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Iroquois") plural = _("?plural:Iroquois") diff --git a/data/nation/italian.ruleset b/data/nation/italian.ruleset index c95af66249..8752b9dc16 100644 --- a/data/nation/italian.ruleset +++ b/data/nation/italian.ruleset @@ -1,6 +1,6 @@ [nation_italian] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Italian") plural = _("?plural:Italians") diff --git a/data/nation/japanese.ruleset b/data/nation/japanese.ruleset index f6ed92e176..d0728bf1b8 100644 --- a/data/nation/japanese.ruleset +++ b/data/nation/japanese.ruleset @@ -1,6 +1,6 @@ [nation_japanese] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Japanese") plural = _("?plural:Japanese") diff --git a/data/nation/khmer.ruleset b/data/nation/khmer.ruleset index 177a6b642f..426ed3c1e6 100644 --- a/data/nation/khmer.ruleset +++ b/data/nation/khmer.ruleset @@ -1,6 +1,6 @@ [nation_khmer] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Khmer") plural = _("?plural:Khmers") diff --git a/data/nation/korean.ruleset b/data/nation/korean.ruleset index 7e21f124dd..435c91ac51 100644 --- a/data/nation/korean.ruleset +++ b/data/nation/korean.ruleset @@ -1,6 +1,6 @@ [nation_korean] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Korean") plural = _("?plural:Koreans") diff --git a/data/nation/mali.ruleset b/data/nation/mali.ruleset index 31597e78f9..081622f8e9 100644 --- a/data/nation/mali.ruleset +++ b/data/nation/mali.ruleset @@ -1,6 +1,6 @@ [nation_mali] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Mali") plural = _("?plural:Malis") diff --git a/data/nation/mayan.ruleset b/data/nation/mayan.ruleset index f282eae202..5a2bddd2f0 100644 --- a/data/nation/mayan.ruleset +++ b/data/nation/mayan.ruleset @@ -1,6 +1,6 @@ [nation_mayan] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Mayan") plural = _("?plural:Mayas") diff --git a/data/nation/mongol.ruleset b/data/nation/mongol.ruleset index bf459729b7..cd3604bd47 100644 --- a/data/nation/mongol.ruleset +++ b/data/nation/mongol.ruleset @@ -1,6 +1,6 @@ [nation_mongol] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Mongol") plural = _("?plural:Mongols") diff --git a/data/nation/persian.ruleset b/data/nation/persian.ruleset index b785135e45..d59c40e3be 100644 --- a/data/nation/persian.ruleset +++ b/data/nation/persian.ruleset @@ -1,6 +1,6 @@ [nation_persian] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Persian") plural = _("?plural:Persians") diff --git a/data/nation/pirate.ruleset b/data/nation/pirate.ruleset index 68d54607de..c7df6be130 100644 --- a/data/nation/pirate.ruleset +++ b/data/nation/pirate.ruleset @@ -1,6 +1,6 @@ [nation_pirate] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Pirate") plural = _("?plural:Pirates") diff --git a/data/nation/polish.ruleset b/data/nation/polish.ruleset index 68c899b8f4..8205072466 100644 --- a/data/nation/polish.ruleset +++ b/data/nation/polish.ruleset @@ -1,6 +1,6 @@ [nation_polish] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Polish") plural = _("?plural:Poles") diff --git a/data/nation/polynesian.ruleset b/data/nation/polynesian.ruleset index e20bc0a83e..843a0609f8 100644 --- a/data/nation/polynesian.ruleset +++ b/data/nation/polynesian.ruleset @@ -1,6 +1,6 @@ [nation_polynesian] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Polynesian") plural = _("?plural:Polynesians") diff --git a/data/nation/portuguese.ruleset b/data/nation/portuguese.ruleset index 5e3d5c4a2f..6e103a43d4 100644 --- a/data/nation/portuguese.ruleset +++ b/data/nation/portuguese.ruleset @@ -1,6 +1,6 @@ [nation_portuguese] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Portuguese") plural = _("?plural:Portuguese") diff --git a/data/nation/roman.ruleset b/data/nation/roman.ruleset index 2eb9d0516f..d49ca6df6c 100644 --- a/data/nation/roman.ruleset +++ b/data/nation/roman.ruleset @@ -1,6 +1,6 @@ [nation_roman] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Roman") plural = _("?plural:Romans") diff --git a/data/nation/russian.ruleset b/data/nation/russian.ruleset index 55df32f6b4..a8950b5ea8 100644 --- a/data/nation/russian.ruleset +++ b/data/nation/russian.ruleset @@ -1,6 +1,6 @@ [nation_russian] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Russian") plural = _("?plural:Russians") diff --git a/data/nation/singlebarbarian.ruleset b/data/nation/singlebarbarian.ruleset index 4d0390aa11..4fb230e336 100644 --- a/data/nation/singlebarbarian.ruleset +++ b/data/nation/singlebarbarian.ruleset @@ -1,6 +1,6 @@ [nation_barbarian] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Barbarian") plural = _("?plural:Barbarians") diff --git a/data/nation/sioux.ruleset b/data/nation/sioux.ruleset index 5a2b9dc5ae..b20fd361c6 100644 --- a/data/nation/sioux.ruleset +++ b/data/nation/sioux.ruleset @@ -1,6 +1,6 @@ [nation_sioux] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Sioux") plural = _("?plural:Sioux") diff --git a/data/nation/songhai.ruleset b/data/nation/songhai.ruleset index 734bc1e3bd..e8902f57f7 100644 --- a/data/nation/songhai.ruleset +++ b/data/nation/songhai.ruleset @@ -1,6 +1,6 @@ [nation_songhai] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Songhai") plural = _("?plural:Songhai") diff --git a/data/nation/spanish.ruleset b/data/nation/spanish.ruleset index 7e44197895..ded68c42ec 100644 --- a/data/nation/spanish.ruleset +++ b/data/nation/spanish.ruleset @@ -1,6 +1,6 @@ [nation_spanish] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Spanish") plural = _("?plural:Spanish") diff --git a/data/nation/sumerian.ruleset b/data/nation/sumerian.ruleset index 4da6c517a2..4c270d6a05 100644 --- a/data/nation/sumerian.ruleset +++ b/data/nation/sumerian.ruleset @@ -1,6 +1,6 @@ [nation_sumerian] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Sumerian") plural = _("?plural:Sumerians") diff --git a/data/nation/swedish.ruleset b/data/nation/swedish.ruleset index 34a801a657..15e7ec52d0 100644 --- a/data/nation/swedish.ruleset +++ b/data/nation/swedish.ruleset @@ -1,6 +1,6 @@ [nation_swedish] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Swedish") plural = _("?plural:Swedes") diff --git a/data/nation/taino.ruleset b/data/nation/taino.ruleset index bfa04097e0..26eb1a8e1e 100644 --- a/data/nation/taino.ruleset +++ b/data/nation/taino.ruleset @@ -1,6 +1,6 @@ [nation_taino] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Taino") plural = _("?plural:Taino") diff --git a/data/nation/thai.ruleset b/data/nation/thai.ruleset index 35d5406633..cca9e68588 100644 --- a/data/nation/thai.ruleset +++ b/data/nation/thai.ruleset @@ -1,6 +1,6 @@ [nation_thai] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Thai") plural = _("?plural:Thai") diff --git a/data/nation/tupi.ruleset b/data/nation/tupi.ruleset index 8a8ea1d550..c814293f5a 100644 --- a/data/nation/tupi.ruleset +++ b/data/nation/tupi.ruleset @@ -1,6 +1,6 @@ [nation_tupi] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Tupi") plural = _("?plural:Tupi") diff --git a/data/nation/turk.ruleset b/data/nation/turk.ruleset index 16a69695d2..02aee1c8af 100644 --- a/data/nation/turk.ruleset +++ b/data/nation/turk.ruleset @@ -1,6 +1,6 @@ [nation_turk] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Turkish") plural = _("?plural:Turks") diff --git a/data/nation/viking.ruleset b/data/nation/viking.ruleset index 631eed58bb..b3e87d4e76 100644 --- a/data/nation/viking.ruleset +++ b/data/nation/viking.ruleset @@ -1,6 +1,6 @@ [nation_viking] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Viking") plural = _("?plural:Vikings") diff --git a/data/nation/zulu.ruleset b/data/nation/zulu.ruleset index 608c0e08cc..07b746dc93 100644 --- a/data/nation/zulu.ruleset +++ b/data/nation/zulu.ruleset @@ -1,6 +1,6 @@ [nation_zulu] -translation_domain = "freeciv" +translation_domain = "freeciv-core" name = _("Zulu") plural = _("?plural:Zulus") diff --git a/server/ruleset.c b/server/ruleset.c index d9bed35d92..83383eda5b 100644 --- a/server/ruleset.c +++ b/server/ruleset.c @@ -4467,7 +4467,7 @@ static bool load_nation_names(struct section_file *file, domain = "freeciv-nations"; } - if (!strcmp("freeciv", domain)) { + if (!strcmp("freeciv-core", domain)) { pl->translation_domain = NULL; } else if (!strcmp("freeciv-nations", domain)) { pl->translation_domain = fc_malloc(strlen(domain) + 1); diff --git a/tools/ruleutil/rulesave.c b/tools/ruleutil/rulesave.c index 40cf1c9814..15e50852a5 100644 --- a/tools/ruleutil/rulesave.c +++ b/tools/ruleutil/rulesave.c @@ -1865,7 +1865,7 @@ static bool save_nation(struct section_file *sfile, struct nation_type *pnat, fc_snprintf(path, sizeof(path), "nation_%d", sect_idx++); if (pnat->translation_domain == NULL) { - secfile_insert_str(sfile, "freeciv", "%s.translation_domain", path); + secfile_insert_str(sfile, "freeciv-core", "%s.translation_domain", path); } else { secfile_insert_str(sfile, pnat->translation_domain, "%s.translation_domain", path); } -- 2.30.2