mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 22:06:05 -04:00
Translation no longer breaks on multiple uses of the same parameter in a unique
This commit is contained in:
parent
655923f4cf
commit
772531a35f
@ -3641,7 +3641,7 @@ Democracy = Democracia
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = Liberdade Completa
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Liberdade
|
||||
|
||||
Populism = Populismo
|
||||
@ -3663,7 +3663,7 @@ Autocracy = Autocracia
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -4595,7 +4595,7 @@ Specialists only produce [amount]% of normal unhappiness =
|
||||
# Requires translation!
|
||||
Freedom Complete =
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
# Requires translation!
|
||||
Freedom =
|
||||
|
||||
@ -4627,7 +4627,7 @@ Autocracy =
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -2940,7 +2940,7 @@ Democracy = Demokracie
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = Kompletní Svoboda
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Svoboda
|
||||
|
||||
Populism = Populismus
|
||||
@ -2962,7 +2962,7 @@ Autocracy = Autokracie
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -4198,7 +4198,7 @@ Specialists only produce [amount]% of normal unhappiness =
|
||||
# Requires translation!
|
||||
Freedom Complete =
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Vrijheid
|
||||
|
||||
Populism = Populisme
|
||||
@ -4225,7 +4225,7 @@ Autocracy = Autocratie
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -5394,7 +5394,7 @@ Specialists only produce [amount]% of normal unhappiness =
|
||||
# Requires translation!
|
||||
Freedom Complete =
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
# Requires translation!
|
||||
Freedom =
|
||||
|
||||
@ -5427,7 +5427,7 @@ Autocracy =
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -3722,7 +3722,7 @@ Specialists only produce [amount]% of normal unhappiness =
|
||||
# Requires translation!
|
||||
Freedom Complete =
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Vapaus
|
||||
|
||||
Populism = Populismi
|
||||
@ -3751,7 +3751,7 @@ Autocracy = Yksinvaltius
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -2986,7 +2986,7 @@ Democracy = Démocratie
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = Liberté complète
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Liberté
|
||||
|
||||
Populism = Populisme
|
||||
@ -3008,7 +3008,7 @@ Autocracy = Autocratie
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -2928,7 +2928,7 @@ Democracy = Demokratie
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = Freiheit vollständig
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Freiheit
|
||||
|
||||
Populism = Populismus
|
||||
@ -2950,7 +2950,7 @@ Autocracy = Autokratie
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -3610,7 +3610,7 @@ Democracy = Demokrácia
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = Függetlenség befejezve
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Függetlenség
|
||||
|
||||
Populism = Populizmus
|
||||
@ -3634,7 +3634,7 @@ Autocracy = Autokrácia
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -2965,7 +2965,7 @@ Democracy = Demokrasi
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = Kebebasan Lengkap
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Kebebasan
|
||||
|
||||
Populism = Populisme
|
||||
@ -2987,7 +2987,7 @@ Autocracy = Otokrasi
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -2861,7 +2861,7 @@ Democracy = Democrazia
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = Uguaglianza Completa
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Uguaglianza
|
||||
|
||||
Populism = Populismo
|
||||
@ -2883,7 +2883,7 @@ Autocracy = Autocrazia
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -2994,7 +2994,7 @@ Democracy = 民主主義
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = 自由コンプリート
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = 自由
|
||||
|
||||
Populism = ポピュリズム
|
||||
@ -3016,7 +3016,7 @@ Autocracy = 独裁政治
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -3023,7 +3023,7 @@ Democracy = 민주주의
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = 평등 이념 완성
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = 평등
|
||||
|
||||
Populism = 포퓰리즘
|
||||
@ -3045,7 +3045,7 @@ Autocracy = 독재
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -4693,7 +4693,7 @@ Specialists only produce [amount]% of normal unhappiness =
|
||||
# Requires translation!
|
||||
Freedom Complete =
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
# Requires translation!
|
||||
Freedom =
|
||||
|
||||
@ -4726,7 +4726,7 @@ Autocracy =
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -4880,7 +4880,7 @@ Specialists only produce [amount]% of normal unhappiness =
|
||||
# Requires translation!
|
||||
Freedom Complete =
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
# Requires translation!
|
||||
Freedom =
|
||||
|
||||
@ -4912,7 +4912,7 @@ Autocracy =
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -4626,7 +4626,7 @@ Specialists only produce [amount]% of normal unhappiness =
|
||||
# Requires translation!
|
||||
Freedom Complete =
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
# Requires translation!
|
||||
Freedom =
|
||||
|
||||
@ -4659,7 +4659,7 @@ Autocracy =
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -4623,7 +4623,7 @@ Specialists only produce [amount]% of normal unhappiness =
|
||||
# Requires translation!
|
||||
Freedom Complete =
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
# Requires translation!
|
||||
Freedom =
|
||||
|
||||
@ -4656,7 +4656,7 @@ Autocracy =
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -3034,7 +3034,7 @@ Democracy = Demokracja
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = Ukończone Swobody
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Swobody
|
||||
|
||||
Populism = Populizm
|
||||
@ -3056,7 +3056,7 @@ Autocracy = Autokracja
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -4305,7 +4305,7 @@ Democracy = Democracia
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = Liberdade Completa
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Liberdade
|
||||
|
||||
Populism = Populismo
|
||||
@ -4329,7 +4329,7 @@ Autocracy = Autocracia
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -4519,7 +4519,7 @@ Democracy = Democrație
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = Libertate realizată
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Libertate
|
||||
|
||||
Populism = Populism
|
||||
@ -4544,7 +4544,7 @@ Autocracy = Autocrație
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -2862,7 +2862,7 @@ Democracy = Демократия
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = Свобода завершена
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Свобода
|
||||
|
||||
Populism = Популизм
|
||||
@ -2884,7 +2884,7 @@ Autocracy = Автократия
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -2977,7 +2977,7 @@ Democracy = 民主主义
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = 完整的自由政策
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = 自由政策
|
||||
|
||||
Populism = 民粹主义
|
||||
@ -2999,7 +2999,7 @@ Autocracy = 独裁政策
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -2928,7 +2928,7 @@ Democracy = Democracia
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = Emancipación Completa
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Emancipación
|
||||
|
||||
Populism = Populismo
|
||||
@ -2950,7 +2950,7 @@ Autocracy = Autocracia
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -2965,7 +2965,7 @@ Democracy = Demokrati
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = Frihet Fullbordat
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Frihet
|
||||
|
||||
Populism = Populism
|
||||
@ -2987,7 +2987,7 @@ Autocracy = Autokrati
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -2997,7 +2997,7 @@ Democracy = 民主主義
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = 完整的自由政策
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = 自由政策
|
||||
|
||||
Populism = 民粹主義
|
||||
@ -3019,7 +3019,7 @@ Autocracy = 獨裁政策
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -2983,7 +2983,7 @@ Democracy = Demokrasi
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = Özgürlük Tamamlandı
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Özgürlük
|
||||
|
||||
Populism = Halkçılık
|
||||
@ -3005,7 +3005,7 @@ Autocracy = Otokrasi
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -3008,7 +3008,7 @@ Democracy = Демократія
|
||||
Specialists only produce [amount]% of normal unhappiness =
|
||||
Freedom Complete = Свобода завершена
|
||||
# Requires translation!
|
||||
+[amount]% yield from [param] =
|
||||
+[amount]% yield from every [param] =
|
||||
Freedom = Свобода
|
||||
|
||||
Populism = Популізм
|
||||
@ -3030,7 +3030,7 @@ Autocracy = Автократія
|
||||
# Requires translation!
|
||||
-[amount]% unit upkeep costs =
|
||||
# Requires translation!
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat] immediately =
|
||||
Upon capturing a city, receive [amount] times its [stat] production as [stat2] immediately =
|
||||
|
||||
|
||||
#################### Lines from Quests from Civ V - Vanilla ####################
|
||||
|
@ -225,7 +225,7 @@ object TranslationFileWriter {
|
||||
}
|
||||
existingParameterNames += parameterName
|
||||
|
||||
stringToTranslate = stringToTranslate.replace(parameter, parameterName)
|
||||
stringToTranslate = stringToTranslate.replaceFirst(parameter, parameterName)
|
||||
}
|
||||
}
|
||||
resultStrings!!.add("$stringToTranslate = ")
|
||||
|
Loading…
x
Reference in New Issue
Block a user