############################################
###   Scripted Localization for German   ###
###           BY Kai Bagehorn            ###
############################################

###################
###  Characters ###
###################
### Pronouns, Personal, Singular, 3rd Person
defined_text = {
	name = GetDE_PRO_PER_S_3P_A
	text = {
		trigger = { is_female = no }
		localization_key = DE_PRO_PER_S_3P_A_male
	}
	text = {
		trigger = { is_female = yes }
		localization_key = DE_PRO_PER_S_3P_A_female
	}
}

###Articles, Definite, Singular
defined_text = {
	name = GetDE_ART_DEF_S_N
	text = {
		trigger = { is_female = no }
		localization_key = DE_ART_DEF_S_N_male
	}
	text = {
		trigger = { is_female = yes }
		localization_key = DE_ART_DEF_S_N_female
	}
}

###Articles, Definite, Singular, CAP
defined_text = {
	name = GetDE_ART_DEF_S_N_Cap
	text = {
		trigger = { is_female = no }
		localization_key = DE_ART_DEF_S_N_male_Cap
	}
	text = {
		trigger = { is_female = yes }
		localization_key = DE_ART_DEF_S_N_female_Cap
	}
}



###################
###  Ideologies ###
###################
#Lowercase Nominativ - EX: (der/die) Faschismus, Kommunismus, Demokratie, Neutralität
defined_text = {
	name = GetRulingIdeologyNoun_DE_ART_DEF_S_N
	text = {
		trigger = { has_government = fascism }
		localization_key = DE_ART_DEF_S_N_fascism_noun
	}
	text = {
		trigger = { has_government = communism }
		localization_key = DE_ART_DEF_S_N_communism_noun
	}
	text = {
		trigger = { has_government = democratic }
		localization_key = DE_ART_DEF_S_N_democratic_noun
	}
	text = {
		trigger = { has_government = neutrality }
		localization_key = DE_ART_DEF_S_N_neutrality_noun
	}
}

#Lowercase Genitiv - EX: (des/der) Faschismus, Kommunismus, Demokratie, Neutralität
defined_text = {
	name = GetRulingIdeologyNoun_DE_ART_DEF_S_G
	text = {
		trigger = { has_government = fascism }
		localization_key = DE_ART_DEF_S_G_fascism_noun
	}
	text = {
		trigger = { has_government = communism }
		localization_key = DE_ART_DEF_S_G_communism_noun
	}
	text = {
		trigger = { has_government = democratic }
		localization_key = DE_ART_DEF_S_G_democratic_noun
	}
	text = {
		trigger = { has_government = neutrality }
		localization_key = DE_ART_DEF_S_G_neutrality_noun
	}
}

#Lowercase Dativ - EX: (dem/der) Faschismus, Kommunismus, Demokratie, Neutralität
defined_text = {
	name = GetRulingIdeologyNoun_DE_ART_DEF_S_D
	text = {
		trigger = { has_government = fascism }
		localization_key = DE_ART_DEF_S_D_fascism_noun
	}
	text = {
		trigger = { has_government = communism }
		localization_key = DE_ART_DEF_S_D_communism_noun
	}
	text = {
		trigger = { has_government = democratic }
		localization_key = DE_ART_DEF_S_D_democratic_noun
	}
	text = {
		trigger = { has_government = neutrality }
		localization_key = DE_ART_DEF_S_D_neutrality_noun
	}
}

#Lowercase Akkusativ - EX: (den/die) Faschismus, Kommunismus, Demokratie, Neutralität
defined_text = {
	name = GetRulingIdeologyNoun_DE_ART_DEF_S_A
	text = {
		trigger = { has_government = fascism }
		localization_key = DE_ART_DEF_S_A_fascism_noun
	}
	text = {
		trigger = { has_government = communism }
		localization_key = DE_ART_DEF_S_A_communism_noun
	}
	text = {
		trigger = { has_government = democratic }
		localization_key = DE_ART_DEF_S_A_democratic_noun
	}
	text = {
		trigger = { has_government = neutrality }
		localization_key = DE_ART_DEF_S_A_neutrality_noun
	}
}

#Uppercase Nominativ - EX: (Der/Die) Faschismus, Kommunismus, Demokratie, Neutralität
defined_text = {
	name = GetRulingIdeologyNoun_DE_ART_DEF_S_N_Cap
	text = {
		trigger = { has_government = fascism }
		localization_key = DE_ART_DEF_S_N_Cap_fascism_noun
	}
	text = {
		trigger = { has_government = communism }
		localization_key = DE_ART_DEF_S_N_Cap_communism_noun
	}
	text = {
		trigger = { has_government = democratic }
		localization_key = DE_ART_DEF_S_N_Cap_democratic_noun
	}
	text = {
		trigger = { has_government = neutrality }
		localization_key = DE_ART_DEF_S_N_Cap_neutrality_noun
	}
}

##################################
###  Modified english commands ###
##################################
defined_text = {
	name = GetGermanCountryLeaderTitle_DE_ART_DEF_S_D
	text = {
		trigger = { 
			GER = { has_government = fascism }
		}
		localization_key = DE_ART_DEF_S_D_GER_fascism_leader_title
	}
	text = {
		trigger = { 
			GER = { 
				OR = {
					has_country_leader = {
						character = GER_wilhelm_ii
						ruling_only = yes 
					}
					has_country_leader = {
						character = GER_wilhelm_iii
						ruling_only = yes 
					}
				}
			}
		}
		localization_key = DE_ART_DEF_S_D_GER_male_kaiser_title
	}
	text = {
		trigger = { 
			GER = { 
				has_country_leader = {
					character = GER_victoria
					ruling_only = yes 
				}
			}
		}
		localization_key = DE_ART_DEF_S_D_GER_female_kaiser_title
	}
	text = {
		trigger = { 
			GER = { 
				has_country_leader = {
					character = GER_august_von_mackensen
					ruling_only = yes 
				}
			}
		}
		localization_key = DE_ART_DEF_S_D_GER_generalfeldmarshall_title
	}

	text = {
		localization_key = DE_ART_DEF_S_D_GER_chancellor_title
	}
}

defined_text = { #Blackshirt Assault Battalion name
	name = GetBlackshirtAssaultBattalionName_DE_ART_DEF_S_N
	text = {
		trigger = { 
			has_government = communism
		}
		localization_key = DE_ART_DEF_S_N_blackshirt_assault_battalion_communism
	}
	text = { #Default: Blackshirt
		localization_key = DE_ART_DEF_S_N_blackshirt_assault_battalion_default
	}
}

defined_text = { #Text to get fascis-est neighbor 
	name = SWI_get_fascist_neighbor_DE1
	text = {
		trigger = {
			GER = {
				exists = yes
				has_government = fascism 
				is_major = yes
			}
		}
		localization_key = "DE1_SWI_german_fascist_neighbor"
	}
	text = {
		trigger = {
			ITA = {
				exists = yes 
				has_government = fascism 
				is_major = yes
			}
		}
		localization_key = "DE1_SWI_italian_fascist_neighbor"
	}
	text = {
		trigger = {
			FRA = {
				exists = yes
				SWI_is_country_to_balance = yes 
				has_government = fascism 
			}
		}
		localization_key = "DE1_SWI_french_fascist_neighbor"
	}	
	text = {
		trigger = {
			ENG = {
				exists = yes
				SWI_is_country_to_balance = yes 
				has_government = fascism 
			}
		}
		localization_key = "DE1_SWI_english_fascist_neighbor"
	}
	text = {
		localization_key = DE1_SWI_generic_fascist_neighbor
	}
}

defined_text = {
	name = ETH_GetCentralBankName_DE1
	text = {
		trigger = {
			has_government = communism
			has_completed_focus = ETH_callout_to_the_world
		}
		localization_key = DE1_ETH_anarchist_bank
	}
	text = {
		localization_key = DE1_ETH_central_bank
	}
} 

defined_text = {
	name = NORDIC_get_alliance_name_DE_Nom
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_Nom_NORDIC_alliance_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_Nom_NORDIC_alliance_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_Nom_NORDIC_alliance_monarchist
	}	
}

defined_text = {
	name = NORDIC_get_alliance_name_DE_NomCap
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_NomCap_NORDIC_alliance_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_NomCap_NORDIC_alliance_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_NomCap_NORDIC_alliance_monarchist
	}	
}

defined_text = {
	name = NORDIC_get_alliance_name_DE_Gen
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_Gen_NORDIC_alliance_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_Gen_NORDIC_alliance_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_Gen_NORDIC_alliance_monarchist
	}	
}

defined_text = {
	name = NORDIC_get_alliance_name_DE_Dat
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_Dat_NORDIC_alliance_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_Dat_NORDIC_alliance_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_Dat_NORDIC_alliance_monarchist
	}	
}

defined_text = {
	name = NORDIC_get_nordic_army_name_DE_Nom
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_Nom_NORDIC_nordic_army_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_Nom_NORDIC_nordic_army_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_Nom_NORDIC_nordic_army_monarchist
	}	
}

defined_text = {
	name = NORDIC_get_nordic_army_name_DE_NomCap
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_NomCap_NORDIC_nordic_army_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_NomCap_NORDIC_nordic_army_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_NomCap_NORDIC_nordic_army_monarchist
	}	
}

defined_text = {
	name = NORDIC_get_nordic_army_name_DE_Gen
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_Gen_NORDIC_nordic_army_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_Gen_NORDIC_nordic_army_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_Gen_NORDIC_nordic_army_monarchist
	}	
}

defined_text = {
	name = NORDIC_get_nordic_navy_name_DE_Nom
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_Nom_NORDIC_nordic_navy_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_Nom_NORDIC_nordic_navy_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_Nom_NORDIC_nordic_navy_monarchist
	}	
}

defined_text = {
	name = NORDIC_get_nordic_navy_name_DE_NomCap
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_NomCap_NORDIC_nordic_navy_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_NomCap_NORDIC_nordic_navy_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_NomCap_NORDIC_nordic_navy_monarchist
	}	
}

defined_text = {
	name = NORDIC_get_nordic_navy_name_DE_Gen
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_Gen_NORDIC_nordic_navy_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_Gen_NORDIC_nordic_navy_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_Gen_NORDIC_nordic_navy_monarchist
	}	
}

defined_text = {
	name = NORDIC_get_nordic_airforce_name_DE_Nom
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_Nom_NORDIC_nordic_airforce_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_Nom_NORDIC_nordic_airforce_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_Nom_NORDIC_nordic_airforce_monarchist
	}	
}

defined_text = {
	name = NORDIC_get_nordic_airforce_name_DE_NomCap
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_NomCap_NORDIC_nordic_airforce_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_NomCap_NORDIC_nordic_airforce_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_NomCap_NORDIC_nordic_airforce_monarchist
	}	
}

defined_text = {
	name = NORDIC_get_nordic_airforce_name_DE_Gen
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_Gen_NORDIC_nordic_airforce_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_Gen_NORDIC_nordic_airforce_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_Gen_NORDIC_nordic_airforce_monarchist
	}	
}

defined_text = {
	name = NORDIC_get_nordic_industry_name_DE_Nom
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_Nom_NORDIC_nordic_industry_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_Nom_NORDIC_nordic_industry_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_Nom_NORDIC_nordic_industry_monarchist
	}	
}

defined_text = {
	name = NORDIC_get_nordic_industry_name_DE_NomCap
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_NomCap_NORDIC_nordic_industry_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_NomCap_NORDIC_nordic_industry_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_NomCap_NORDIC_nordic_industry_monarchist
	}	
}

defined_text = {
	name = NORDIC_get_nordic_industry_name_DE_Gen
	text = {
		trigger = {
			NORDIC_democratic_alliance_viable = yes
		}
		localization_key = DE_Gen_NORDIC_nordic_industry_democratic
	}
	text = {
		trigger = {
			NORDIC_communist_alliance_viable = yes 
		}
		localization_key = DE_Gen_NORDIC_nordic_industry_communist
	}
	text = {
		trigger = {
			NORDIC_monarchist_alliance_viable = yes 
		}
		localization_key = DE_Gen_NORDIC_nordic_industry_monarchist
	}	
}