Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Content #469

Merged
merged 11 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8,424 changes: 7,525 additions & 899 deletions languages.xml

Large diffs are not rendered by default.

588 changes: 550 additions & 38 deletions locations.xml

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions scripts/common/paths.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ fi
STEAM_GAMES_DIR="${STEAM_APPS_DIR}/common"
STEAM_WORKSHOP_DIR="${STEAM_APPS_DIR}/workshop"
STEAM_WORKSHOP_CK3_DIR="${STEAM_WORKSHOP_DIR}/content/1158310"
STEAM_WORKSHOP_EU4_DIR="${STEAM_WORKSHOP_DIR}/content/236850"
STEAM_WORKSHOP_HOI4_DIR="${STEAM_WORKSHOP_DIR}/content/394360"
STEAM_WORKSHOP_IR_DIR="${STEAM_WORKSHOP_DIR}/content/859580"
STEAM_WORKSHOP_Vic3_DIR="${STEAM_WORKSHOP_DIR}/content/529340"
CK2_LOCAL_MODS_DIR="${HOME}/.paradoxinteractive/Crusader Kings II/mod"

CK1_DIR="${STEAM_GAMES_DIR}/Crusader Kings"

CK2_DIR="${STEAM_GAMES_DIR}/Crusader Kings II"
CK2_CULTURES_DIR="${CK2_DIR}/common/cultures"
CK2_LOCALISATIONS_DIR="${CK2_DIR}/localisation"
Expand Down Expand Up @@ -122,6 +126,12 @@ CK3TFE_LOCALISATIONS_DIR="${CK3TFE_DIR}/localization/english"
CK3TFE_VANILLA_LANDED_TITLES_FILE="${VANILLA_FILES_DIR}/ck3tfe_landed_titles.txt"
CK3TFE_VANILLA_LOCALISATION_FILE="${CK3TFE_LOCALISATIONS_DIR}/replace/TFE_titles_l_english.yml"

EU4_DIR="${STEAM_GAMES_DIR}/Europa Universalis IV"
EU4_CULTURES_DIR="${EU4_DIR}/common/cultures"

HOI3_DIR="${STEAM_GAMES_DIR}/Hearts of Iron 3"
HOI3_LOCALISATIONS_DIR="${HOI3_DIR}/localisation"

HOI4_DIR="${STEAM_GAMES_DIR}/Hearts of Iron IV"
HOI4_TAGS_DIR="${HOI4_DIR}/common/country_tags"
HOI4_STATES_DIR="${HOI4_DIR}/history/states"
Expand Down Expand Up @@ -170,6 +180,9 @@ IR_TI_CULTURES_DIR="${IR_TI_DIR}/common/cultures"
IR_TI_LOCALISATIONS_DIR="${IR_TI_DIR}/localization/english"
IR_TI_VANILLA_FILE="${VANILLA_FILES_DIR}/irti_province_names.yml"

Vic2_DIR="${STEAM_GAMES_DIR}/Victoria 2"
Vic2_LOCALISATIONS_DIR="${Vic2_DIR}/localisation"

Vic3_DIR="${STEAM_GAMES_DIR}/Victoria 3"
Vic3_COMMON_DIR="${Vic3_DIR}/game/common"
Vic3_COUNTRIES_DIR="${Vic3_COMMON_DIR}/country_definitions"
Expand Down
2 changes: 1 addition & 1 deletion scripts/gather-names.sh
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ function get-name-lines() {
"German_Palatine" "pfl" \
"German_Pennsylvania" "pdc" \
"German" "de" \
"Greek_Ancient_Pontic" "pnt" \
"Greek_Pontic" "pnt" \
"Greek" "el" \
"Greenlandic" "kl" \
"Guarani" "gn" \
Expand Down
4 changes: 2 additions & 2 deletions scripts/validate-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ function checkDefaultIrLocalisations() {
awk -F= 'NR==FNR{a[$0]; next} $1 in a' \
<(getGameIds "${GAME_ID}") \
<( \
tac "${LOCALISATIONS_FILE}" "${IR_VANILLA_FILE}" | \
tac "${@}" | \
grep "^\s*PROV" | \
grep -v "_[A-Za-z_-]*:" | \
awk '!x[substr($0,0,index($0, ":"))]++' | \
Expand Down Expand Up @@ -747,7 +747,7 @@ checkForMismatchingLocationLinks "CK3SoW" "${CK3SoW_VANILLA_LANDED_TITLES_FILE
#checkForMismatchingLocationLinks "CK3TBA" "${CK3TBA_VANILLA_LANDED_TITLES_FILE}" "${CK3TBA_VANILLA_LOCALISATION_FILE}"
checkForMismatchingLocationLinks "CK3TFE" "${CK3TFE_VANILLA_LANDED_TITLES_FILE}" "${CK3TFE_VANILLA_LOCALISATION_FILE}" "${CK3_VANILLA_LOCALISATION_FILE}"
checkForMismatchingLocationLinks "IR" "${IR_VANILLA_FILE}"
checkForMismatchingLocationLinks "IR_ABW" "${IR_AoE_VANILLA_FILE}"
checkForMismatchingLocationLinks "IR_ABW" "${IR_ABW_VANILLA_FILE}"
checkForMismatchingLocationLinks "IR_AoE" "${IR_AoE_VANILLA_FILE}"
checkForMismatchingLocationLinks "IR_INV" "${IR_INV_VANILLA_FILE}"
checkForMismatchingLocationLinks "IR_TBA" "${IR_TBA_VANILLA_FILE}"
Expand Down
143 changes: 92 additions & 51 deletions unused-data/languages.xml
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,13 @@
<Id>Bororo</Id> <!-- Borôro, Boe, Boe Wadáru -->
<Code iso-639-3="bor" />
</Language>
<Language>
<Id>Bosnian</Id>
<Code iso-639-1="bs" iso-639-2="bos" iso-639-3="bos" />
<FallbackLanguages>
<LanguageId>SerboCroatian</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Bourbonnais</Id>
</Language>
Expand Down Expand Up @@ -702,47 +709,6 @@
<Id>CandoshiShapra</Id> <!-- Candoshi-Shapra, Kandozi-Chapra, Candoshi, Candoxi, Kandoshi, Murato -->
<Code iso-639-3="cbu" />
</Language>
<Language>
<Id>Caribbean_Hindustani</Id>
<Code iso-639-3="hns" />
<FallbackLanguages>
<LanguageId>Caribbean_Hindustani_Guyanese</LanguageId>
<LanguageId>Caribbean_Hindustani_Sarnami</LanguageId>
<LanguageId>Caribbean_Hindustani_Trinidadian</LanguageId>
<LanguageId>Sadri</LanguageId>
<LanguageId>Sadri_Oraon</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Caribbean_Hindustani_Guyanese</Id> <!-- Guyanese Hindustani, Guyanese Bhojpuri, Aili Gaili -->
<FallbackLanguages>
<LanguageId>Caribbean_Hindustani</LanguageId>
<LanguageId>Caribbean_Hindustani_Sarnami</LanguageId>
<LanguageId>Caribbean_Hindustani_Trinidadian</LanguageId>
<LanguageId>Sadri</LanguageId>
<LanguageId>Sadri_Oraon</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Caribbean_Hindustani_Sarnami</Id> <!-- Sarnami, Sarnami Hindoestani, Sarnami Hindustani, Surinamese Hindustani -->
<FallbackLanguages>
<LanguageId>Caribbean_Hindustani</LanguageId>
<LanguageId>Caribbean_Hindustani_Guyanese</LanguageId>
<LanguageId>Caribbean_Hindustani_Trinidadian</LanguageId>
<LanguageId>Sadri</LanguageId>
<LanguageId>Sadri_Oraon</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Caribbean_Hindustani_Trinidadian</Id> <!-- Trinidadian Hindustani, Trinidadian Bhojpuri, Trinidadian Hindi, Indian, Plantation Hindustani, Gaon ke Bolee, Village Speech -->
<FallbackLanguages>
<LanguageId>Caribbean_Hindustani</LanguageId>
<LanguageId>Caribbean_Hindustani_Guyanese</LanguageId>
<LanguageId>Caribbean_Hindustani_Sarnami</LanguageId>
<LanguageId>Sadri</LanguageId>
<LanguageId>Sadri_Oraon</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Catawba</Id> <!-- Katapa -->
<Code iso-639-3="chc" />
Expand Down Expand Up @@ -932,6 +898,10 @@
<LanguageId>Chumash_Central</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Chumburung</Id> <!-- Kyongborong, Nchimburu, Nchummuru -->
<Code iso-639-3="ncu" />
</Language>
<Language>
<Id>Chuvan</Id>
<Code iso-639-3="xcv" />
Expand Down Expand Up @@ -985,6 +955,7 @@
<LanguageId>Cree_East_South</LanguageId>
<LanguageId>Cree_Plains</LanguageId>
<LanguageId>Cree_Woods</LanguageId>
<LanguageId>Cree_Swampy</LanguageId>
</FallbackLanguages>
</Language>
<Language>
Expand All @@ -997,8 +968,14 @@
<LanguageId>Cree_East_South</LanguageId>
<LanguageId>Cree_Moose</LanguageId>
<LanguageId>Cree_Plains</LanguageId>
<LanguageId>Cree_Plains</LanguageId>
<LanguageId>Cree_Swampy</LanguageId>
<LanguageId>Cree_Woods</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Croatian</Id>
<Code iso-639-1="hr" iso-639-2="hrv" iso-639-3="hrv" />
<FallbackLanguages>
<LanguageId>SerboCroatian</LanguageId>
</FallbackLanguages>
</Language>
<Language>
Expand Down Expand Up @@ -1042,6 +1019,9 @@
</Language>
<Language>
<Id>Czech_Hanakian</Id> <!-- Central Moravian Czech -->
<FallbackLanguages>
<LanguageId>Czech</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Daba</Id> <!-- Dabba -->
Expand Down Expand Up @@ -1076,6 +1056,9 @@
<Language>
<Id>Danish_Jutlandic</Id>
<Code iso-639-3="jut" />
<FallbackLanguages>
<LanguageId>Danish</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Defaka</Id> <!-- Afakani, Défàkà -->
Expand Down Expand Up @@ -1113,10 +1096,6 @@
<Id>Djimini</Id> <!-- Jinmini -->
<Code iso-639-3="dyi" />
</Language>
<Language>
<Id>Dogri</Id>
<Code iso-639-2="doi" iso-639-3="doi" />
</Language>
<Language>
<Id>Dolgan</Id>
<Code iso-639-3="dlg" />
Expand Down Expand Up @@ -1288,6 +1267,10 @@
<Id>Eteocypriot</Id>
<Code iso-639-3="ecy" />
</Language>
<Language>
<Id>Europanto</Id>
<Code iso-639-3="eur" />
</Language>
<Language>
<Id>Even</Id> <!-- Lamut, Ewen, Eben, Orich, Ilqan -->
<Code iso-639-3="eve" />
Expand Down Expand Up @@ -1380,6 +1363,13 @@
<Language>
<Id>German_Texas</Id> <!-- Texasdeutsch -->
</Language>
<Language>
<Id>Ghanaian</Id> <!-- Ghanaian Pidgin English, Kru Brofo, kulu blofo, Pidgin, Broken English, Kru English -->
<Code iso-639-3="gpe" />
<FallbackLanguages>
<LanguageId>English</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Ghotuo</Id> <!-- Otwa, Otuo -->
<Code iso-639-3="aaa" />
Expand Down Expand Up @@ -1629,6 +1619,36 @@
<Id>Himarima</Id> <!-- Himarimã, Hi-Merima, Hi-Merimã -->
<Code iso-639-3="hir" />
</Language>
<Language>
<Id>Hindustani_Caribbean_Guyanese</Id> <!-- Guyanese Hindustani, Guyanese Bhojpuri, Aili Gaili -->
<FallbackLanguages>
<LanguageId>Hindustani_Caribbean</LanguageId>
<LanguageId>Hindustani_Caribbean_Sarnami</LanguageId>
<LanguageId>Hindustani_Caribbean_Trinidadian</LanguageId>
<LanguageId>Sadri</LanguageId>
<LanguageId>Sadri_Oraon</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Hindustani_Caribbean_Sarnami</Id> <!-- Sarnami, Sarnami Hindoestani, Sarnami Hindustani, Surinamese Hindustani -->
<FallbackLanguages>
<LanguageId>Hindustani_Caribbean</LanguageId>
<LanguageId>Hindustani_Caribbean_Guyanese</LanguageId>
<LanguageId>Hindustani_Caribbean_Trinidadian</LanguageId>
<LanguageId>Sadri</LanguageId>
<LanguageId>Sadri_Oraon</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Hindustani_Caribbean_Trinidadian</Id> <!-- Trinidadian Hindustani, Trinidadian Bhojpuri, Trinidadian Hindi, Indian, Plantation Hindustani, Gaon ke Bolee, Village Speech -->
<FallbackLanguages>
<LanguageId>Hindustani_Caribbean</LanguageId>
<LanguageId>Hindustani_Caribbean_Guyanese</LanguageId>
<LanguageId>Hindustani_Caribbean_Sarnami</LanguageId>
<LanguageId>Sadri</LanguageId>
<LanguageId>Sadri_Oraon</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Hiri_Motu</Id> <!-- Police Motu, Pidgin Motu, Hiri -->
<Code iso-639-1="ho" iso-639-2="hmo" iso-639-3="hmo" />
Expand Down Expand Up @@ -3108,6 +3128,13 @@
<Id>Mono</Id>
<Code iso-639-3="mnr" />
</Language>
<Language>
<Id>Montenegrin</Id>
<Code iso-639-2="cnr" iso-639-3="cnr" />
<FallbackLanguages>
<LanguageId>SerboCroatian</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Mota</Id>
<Code iso-639-3="mtt" />
Expand Down Expand Up @@ -3365,6 +3392,13 @@
<LanguageId>MoheganPequot</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Nigerian</Id> <!-- Nigerian Pidgin, Naija, Naijá -->
<Code iso-639-3="pcm" />
<FallbackLanguages>
<LanguageId>English</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Nisenan</Id> <!-- Southern Maidu, Neeshenam, Nishinam, Pujuni, Wapumni -->
<Code iso-639-3="nsz" />
Expand Down Expand Up @@ -4051,10 +4085,10 @@
<Code iso-639-3="sdr" />
<FallbackLanguages>
<LanguageId>Sadri</LanguageId>
<LanguageId>Caribbean_Hindustani</LanguageId>
<LanguageId>Caribbean_Hindustani_Guyanese</LanguageId>
<LanguageId>Caribbean_Hindustani_Sarnami</LanguageId>
<LanguageId>Caribbean_Hindustani_Trinidadian</LanguageId>
<LanguageId>Hindustani_Caribbean</LanguageId>
<LanguageId>Hindustani_Caribbean_Guyanese</LanguageId>
<LanguageId>Hindustani_Caribbean_Sarnami</LanguageId>
<LanguageId>Hindustani_Caribbean_Trinidadian</LanguageId>
</FallbackLanguages>
</Language>
<Language>
Expand Down Expand Up @@ -4398,6 +4432,13 @@
<Id>Sentinelese</Id>
<Code iso-639-3="std" />
</Language>
<Language>
<Id>Serbian</Id>
<Code iso-639-1="sr" iso-639-2="srp" iso-639-3="srp" />
<FallbackLanguages>
<LanguageId>SerboCroatian</LanguageId>
</FallbackLanguages>
</Language>
<Language>
<Id>Shatt</Id>
<Code iso-639-3="shj" />
Expand Down
Loading
Loading