From 98dc5e886fbf787c1c610a5567899860aaef99ef Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Tue, 12 Oct 2021 21:28:52 +0300 Subject: [PATCH 50/50] Improve coding style of x*.ruleset nation rulesets See osdn #43018 Signed-off-by: Marko Lindqvist --- data/nation/xhosa.ruleset | 56 ++++++++++++++++++------------------- data/nation/xiongnu.ruleset | 28 ++++++++++--------- 2 files changed, 43 insertions(+), 41 deletions(-) diff --git a/data/nation/xhosa.ruleset b/data/nation/xhosa.ruleset index 39df11793d..73705c82e6 100644 --- a/data/nation/xhosa.ruleset +++ b/data/nation/xhosa.ruleset @@ -1,9 +1,9 @@ [nation_xhosa] -name=_("Xhosa") -plural=_("?plural:amaXhosa") -groups="Early Modern", "African" -legend=_("The Xhosa are Bantu people in South Africa, having arrived\ +name = _("Xhosa") +plural = _("?plural:amaXhosa") +groups = "Early Modern", "African" +legend = _("The Xhosa are Bantu people in South Africa, having arrived\ there from the Great Lakes region by the 17th century. During the\ apartheid era there were two Xhosa Bantustans, Transkei and Ciskei. Many\ of the leading anti-apartheid activists, including Nelson Mandela and\ @@ -19,7 +19,7 @@ leaders = { "Stella Sigcau", "Female" "Kaiser Matanzima", "Male" "Walter Sisulu", "Male" - "Madiba", "Male" ;Nelson Mandela + "Madiba", "Male" ; Nelson Mandela } ruler_titles = { @@ -28,47 +28,47 @@ ruler_titles = { "Monarchy", _("Paramount Chief %s"), _("?female:Paramount Chief %s") } -flag="xhosa" +flag = "xhosa" flag_alt = "-" style = "Tropical" -init_techs="" -init_buildings="" -init_units="" +init_techs = "" +init_buildings = "" +init_units = "" civilwar_nations = "zulu" ;basotho cities = "Mthatha", "Bhisho", - "iKapa", ;Cape Town - "iMonti", ;East London - "iBhayi", ;Port Elizabeth - "eDikeni", ;Alice - "eQonce", ;King Williams town - "iKhimbali", ;Kimberley + "iKapa", ; Cape Town + "iMonti", ; East London + "iBhayi", ; Port Elizabeth + "eDikeni", ; Alice + "eQonce", ; King Williams town + "iKhimbali", ; Kimberley "eNgcobo", - "Gcuwa", ;Butterworth + "Gcuwa", ; Butterworth "iDutywa", - "eRhini", ;Grahamstown - "iKwezi", + "eRhini", ; Grahamstown + "iKwezi", "Qunu", "Mvezo", "iHanoveri", "Mdantsane", "KwaBhaca", "Bizana", - "eZibeleni", ;Queensdale + "eZibeleni", ; Queensdale "Haka Haka", - "KwaNobhule", ;Uitenhage - "KwaTinidubu", ;Fort Beaufort - "Lingelihle", ;Cradock - "KwaNonzame", ;Middelburg - "Nkwenkwezi", ;Port Alfred - "KwaNojoli", ;Somerset East - "Mzamomhle", ;Burgersdorp - "Masibambane", ;Elliot - "Umzimvubu", ;Mount Ayliff + "KwaNobhule", ; Uitenhage + "KwaTinidubu", ; Fort Beaufort + "Lingelihle", ; Cradock + "KwaNonzame", ; Middelburg + "Nkwenkwezi", ; Port Alfred + "KwaNojoli", ; Somerset East + "Mzamomhle", ; Burgersdorp + "Masibambane", ; Elliot + "Umzimvubu", ; Mount Ayliff "Cofimvaba", "Umzimkulu", "Ntabankulu", diff --git a/data/nation/xiongnu.ruleset b/data/nation/xiongnu.ruleset index 4e7cf5d576..c046d8f800 100644 --- a/data/nation/xiongnu.ruleset +++ b/data/nation/xiongnu.ruleset @@ -1,15 +1,16 @@ [nation_xiongnu] -name=_("Xiongnu") -plural=_("?plural:Xiongnu") -groups="Ancient", "Asian" -legend=_("The Xiongnu, also known as Asiatic Huns, were an ancient tribal\ +name = _("Xiongnu") +plural = _("?plural:Xiongnu") +groups = "Ancient", "Asian" +legend = _("The Xiongnu, also known as Asiatic Huns, were an ancient tribal\ confederation of mixed origin. Their language is unknown; it may have\ belonged to the Altaic or Yeniseian language family. The Xiongnu created\ a strong state in the plains of the eastern part of Central Asia, which\ was an important threat to China. From the second century onwards the\ northern wing of the Xiongnu was known as Xianbei, while another group of\ the Xiongnu emigrated to the west.") + leaders = { "name", "sex" "Touman", "Male" @@ -29,10 +30,7 @@ leaders = { "Zhizhi", "Male" "Huahanye", "Male" "Cheniu", "Male" - } -flag="xiongnu" -flag_alt = "-" -style = "Asian" +} ruler_titles = { "government", "male_title", "female_title" @@ -40,12 +38,16 @@ ruler_titles = { "Monarchy", _("%s Khagan"), _("?female:%s Khagan") } -init_techs="" -init_buildings="" -init_units="" +flag = "xiongnu" +flag_alt = "-" +style = "Asian" + +init_techs = "" +init_buildings = "" +init_units = "" -conflicts_with= "Russian", "Soviet", "Manchu", "Kazakh", "Gokturk", - "Uyghur", "Buryat", "Chinese", "Tuvan" +conflicts_with = "Russian", "Soviet", "Manchu", "Kazakh", "Gokturk", + "Uyghur", "Buryat", "Chinese", "Tuvan" civilwar_nations = "Gokturk", "Saka", "Mongol", "Han", "Tocharian" cities = -- 2.33.0