Skip to content

Commit

Permalink
Add roles for Italy for culture-holders (ParadoxGameConverters#619)
Browse files Browse the repository at this point in the history
* Store the source country number.

* Carry primary cultures across

* Add italy unification roles for italian-cultured countries.

* Fix tests

* Simplify role definition

* Fix culture match.
  • Loading branch information
Idhrendur authored May 11, 2024
1 parent a573fa2 commit 91e83a6
Show file tree
Hide file tree
Showing 18 changed files with 550 additions and 26 deletions.
4 changes: 4 additions & 0 deletions data/blank_mod/common/countries/converter_cosmetic.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ITA_UNIFIED = {
color = rgb { 67 127 63 }
color_ui = rgb { 67 127 63 }
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
l_braz_por:
ITA_UNIFIED_fascism: "Itália"
ITA_UNIFIED_fascism_DEF: "a Itália"
ITA_UNIFIED_democratic: "Itália Republicana"
ITA_UNIFIED_democratic_DEF: "a Itália Republicana"
ITA_UNIFIED_neutrality: "Reino da Itália"
ITA_UNIFIED_neutrality_DEF: "o Reino da Itália"
ITA_UNIFIED_communism: "República Popular da Itália"
ITA_UNIFIED_communism_DEF: "a República Popular da Itália"
ITA_UNIFIED_fascism_ADJ: "Italiano"
ITA_UNIFIED_democratic_ADJ: "Italiano"
ITA_UNIFIED_neutrality_ADJ: "Italiano"
ITA_UNIFIED_communism_ADJ: "Italiano"
ITA_UNIFIED: "Itália"
ITA_UNIFIED_DEF: "a Itália"
ITA_UNIFIED_ADJ: "Italiano(a)"
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
l_english:
ITA_UNIFIED_fascism:0 "Italy"
ITA_UNIFIED_fascism_DEF:0 "Italy"
ITA_UNIFIED_democratic:0 "Republican Italy"
ITA_UNIFIED_democratic_DEF:0 "Republican Italy"
ITA_UNIFIED_neutrality:0 "Kingdom of Italy"
ITA_UNIFIED_neutrality_DEF:0 "the Kingdom of Italy"
ITA_UNIFIED_communism:0 "Italian Union"
ITA_UNIFIED_communism_DEF:0 "the Italian Union"
ITA_UNIFIED_fascism_ADJ:0 "Italian"
ITA_UNIFIED_democratic_ADJ:0 "Italian"
ITA_UNIFIED_neutrality_ADJ:0 "Italian"
ITA_UNIFIED_communism_ADJ:0 "Italian"
ITA_UNIFIED:0 "Italy"
ITA_UNIFIED_DEF:0 "Italy"
ITA_UNIFIED_ADJ:0 "Italian"
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
l_french:
ITA_UNIFIED_fascism: "Italie"
ITA_UNIFIED_fascism_DEF: "l'Italie"
ITA_UNIFIED_democratic: "République italienne"
ITA_UNIFIED_democratic_DEF: "la République italienne"
ITA_UNIFIED_neutrality: "Royaume d'Italie"
ITA_UNIFIED_neutrality_DEF: "le Royaume d'Italie"
ITA_UNIFIED_communism: "Union italienne"
ITA_UNIFIED_communism_DEF: "l'Union italienne"
ITA_UNIFIED_fascism_ADJ: "italienne"
ITA_UNIFIED_democratic_ADJ: "italienne"
ITA_UNIFIED_neutrality_ADJ: "italienne"
ITA_UNIFIED_communism_ADJ: "italienne"
ITA_UNIFIED: "Italie"
ITA_UNIFIED_DEF: "l'Italie"
ITA_UNIFIED_ADJ: "italo-"
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
l_german:
ITA_UNIFIED_fascism: "Italien"
ITA_UNIFIED_fascism_DEF: "Italien"
ITA_UNIFIED_democratic: "Republikanisches Italien"
ITA_UNIFIED_democratic_DEF: "das republikanische Italien"
ITA_UNIFIED_neutrality: "Königreich Italien"
ITA_UNIFIED_neutrality_DEF: "das Königreich Italien"
ITA_UNIFIED_communism: "Volksrepublik Italien"
ITA_UNIFIED_communism_DEF: "die Volksrepublik Italien"
ITA_UNIFIED_fascism_ADJ: "Italienisch"
ITA_UNIFIED_democratic_ADJ: "Italienisch"
ITA_UNIFIED_neutrality_ADJ: "Italienisch"
ITA_UNIFIED_communism_ADJ: "Italienisch"
ITA_UNIFIED: "Italien"
ITA_UNIFIED_DEF: "Italien"
ITA_UNIFIED_ADJ: "Italienisch"
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
l_japanese:
ITA_UNIFIED_fascism: "イタリア"
ITA_UNIFIED_fascism_DEF: "イタリア"
ITA_UNIFIED_democratic: "共和制イタリア"
ITA_UNIFIED_democratic_DEF: "共和制イタリア"
ITA_UNIFIED_neutrality: "イタリア王国"
ITA_UNIFIED_neutrality_DEF: "イタリア王国"
ITA_UNIFIED_communism: "イタリア連邦"
ITA_UNIFIED_communism_DEF: "イタリア連邦"
ITA_UNIFIED_fascism_ADJ: "イタリア"
ITA_UNIFIED_democratic_ADJ: "イタリア"
ITA_UNIFIED_neutrality_ADJ: "イタリア"
ITA_UNIFIED_communism_ADJ: "イタリア"
ITA_UNIFIED: "イタリア"
ITA_UNIFIED_DEF: "イタリア"
ITA_UNIFIED_ADJ: "イタリア"
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
l_polish:
ITA_UNIFIED_fascism: "Państwo Włoskie"
ITA_UNIFIED_fascism_DEF: "Włochy"
ITA_UNIFIED_democratic: "Republika Włoska"
ITA_UNIFIED_democratic_DEF: "Republika Włoska"
ITA_UNIFIED_neutrality: "Królestwo Włoch"
ITA_UNIFIED_neutrality_DEF: "Królestwo Włoch"
ITA_UNIFIED_communism: "Włoska Republika Ludowa"
ITA_UNIFIED_communism_DEF: "Włoska Republika Ludowa"
ITA_UNIFIED_fascism_ADJ: "włos."
ITA_UNIFIED_democratic_ADJ: "włos."
ITA_UNIFIED_neutrality_ADJ: "włos."
ITA_UNIFIED_communism_ADJ: "włos."
ITA_UNIFIED: "Włochy"
ITA_UNIFIED_DEF: "Włochy"
ITA_UNIFIED_ADJ: "włos."
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
l_russian:
ITA_UNIFIED_fascism: "Италия"
ITA_UNIFIED_fascism_DEF: "Италия"
ITA_UNIFIED_democratic: "Республиканская Италия"
ITA_UNIFIED_democratic_DEF: "Республиканская Италия"
ITA_UNIFIED_neutrality: "Королевство Италия"
ITA_UNIFIED_neutrality_DEF: "Королевство Италия"
ITA_UNIFIED_communism: "Итальянский Союз"
ITA_UNIFIED_communism_DEF: "Итальянский Союз"
ITA_UNIFIED_fascism_ADJ: "Итальянск"
ITA_UNIFIED_democratic_ADJ: "Итальянск"
ITA_UNIFIED_neutrality_ADJ: "Итальянск"
ITA_UNIFIED_communism_ADJ: "Итальянск"
ITA_UNIFIED: "Италия"
ITA_UNIFIED_DEF: "Италия"
ITA_UNIFIED_ADJ: "Итальянск"
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
l_simp_chinese:
ITA_UNIFIED_fascism: "意大利"
ITA_UNIFIED_fascism_DEF: "意大利"
ITA_UNIFIED_democratic: "意大利共和国"
ITA_UNIFIED_democratic_DEF: "意大利共和国"
ITA_UNIFIED_neutrality: "意大利王国"
ITA_UNIFIED_neutrality_DEF: "意大利王国"
ITA_UNIFIED_communism: "意大利联盟"
ITA_UNIFIED_communism_DEF: "意大利联盟"
ITA_UNIFIED_fascism_ADJ: "意大利"
ITA_UNIFIED_democratic_ADJ: "意大利"
ITA_UNIFIED_neutrality_ADJ: "意大利"
ITA_UNIFIED_communism_ADJ: "意大利"
ITA_UNIFIED: "意大利"
ITA_UNIFIED_DEF: "意大利"
ITA_UNIFIED_ADJ: "意大利"
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
l_spanish:
ITA_UNIFIED_fascism: "Italia"
ITA_UNIFIED_fascism_DEF: "Italia"
ITA_UNIFIED_democratic: "República de Italia"
ITA_UNIFIED_democratic_DEF: "La República de Italia"
ITA_UNIFIED_neutrality: "Reino de Italia"
ITA_UNIFIED_neutrality_DEF: "El Reino de Italia"
ITA_UNIFIED_communism: "República Popular Italiana"
ITA_UNIFIED_communism_DEF: "La República Popular Italiana"
ITA_UNIFIED_fascism_ADJ: "de Italia"
ITA_UNIFIED_democratic_ADJ: "de la República de Italia"
ITA_UNIFIED_neutrality_ADJ: "del Reino de Italia"
ITA_UNIFIED_communism_ADJ: "de la República Popular Italiana"
ITA_UNIFIED: "Italia"
ITA_UNIFIED_DEF: "Italia"
ITA_UNIFIED_ADJ: "de Italia"
Loading

0 comments on commit 91e83a6

Please sign in to comment.