From 772531a35f0b2c7e93f23f171d34646dc3c36d16 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Fri, 18 Jun 2021 16:54:09 +0300 Subject: [PATCH] Translation no longer breaks on multiple uses of the same parameter in a unique --- .../assets/jsons/translations/Brazilian_Portuguese.properties | 4 ++-- android/assets/jsons/translations/Bulgarian.properties | 4 ++-- android/assets/jsons/translations/Czech.properties | 4 ++-- android/assets/jsons/translations/Dutch.properties | 4 ++-- android/assets/jsons/translations/English.properties | 4 ++-- android/assets/jsons/translations/Finnish.properties | 4 ++-- android/assets/jsons/translations/French.properties | 4 ++-- android/assets/jsons/translations/German.properties | 4 ++-- android/assets/jsons/translations/Hungarian.properties | 4 ++-- android/assets/jsons/translations/Indonesian.properties | 4 ++-- android/assets/jsons/translations/Italian.properties | 4 ++-- android/assets/jsons/translations/Japanese.properties | 4 ++-- android/assets/jsons/translations/Korean.properties | 4 ++-- android/assets/jsons/translations/Lithuanian.properties | 4 ++-- android/assets/jsons/translations/Malay.properties | 4 ++-- .../jsons/translations/Persian_(Pinglish-DIN).properties | 4 ++-- .../jsons/translations/Persian_(Pinglish-UN).properties | 4 ++-- android/assets/jsons/translations/Polish.properties | 4 ++-- android/assets/jsons/translations/Portuguese.properties | 4 ++-- android/assets/jsons/translations/Romanian.properties | 4 ++-- android/assets/jsons/translations/Russian.properties | 4 ++-- .../assets/jsons/translations/Simplified_Chinese.properties | 4 ++-- android/assets/jsons/translations/Spanish.properties | 4 ++-- android/assets/jsons/translations/Swedish.properties | 4 ++-- .../assets/jsons/translations/Traditional_Chinese.properties | 4 ++-- android/assets/jsons/translations/Turkish.properties | 4 ++-- android/assets/jsons/translations/Ukrainian.properties | 4 ++-- .../com/unciv/models/translations/TranslationFileWriter.kt | 2 +- 28 files changed, 55 insertions(+), 55 deletions(-) diff --git a/android/assets/jsons/translations/Brazilian_Portuguese.properties b/android/assets/jsons/translations/Brazilian_Portuguese.properties index 42e58fbb81..cf2766549a 100644 --- a/android/assets/jsons/translations/Brazilian_Portuguese.properties +++ b/android/assets/jsons/translations/Brazilian_Portuguese.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Bulgarian.properties b/android/assets/jsons/translations/Bulgarian.properties index 2f8e8754a0..bb060792b1 100644 --- a/android/assets/jsons/translations/Bulgarian.properties +++ b/android/assets/jsons/translations/Bulgarian.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Czech.properties b/android/assets/jsons/translations/Czech.properties index 88504dba2e..8b5aa2168e 100644 --- a/android/assets/jsons/translations/Czech.properties +++ b/android/assets/jsons/translations/Czech.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Dutch.properties b/android/assets/jsons/translations/Dutch.properties index 35a31f2e69..24bbf68509 100644 --- a/android/assets/jsons/translations/Dutch.properties +++ b/android/assets/jsons/translations/Dutch.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/English.properties b/android/assets/jsons/translations/English.properties index 23c4c7ef92..479bff774c 100644 --- a/android/assets/jsons/translations/English.properties +++ b/android/assets/jsons/translations/English.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Finnish.properties b/android/assets/jsons/translations/Finnish.properties index 7473637e78..56aa35ddb5 100644 --- a/android/assets/jsons/translations/Finnish.properties +++ b/android/assets/jsons/translations/Finnish.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/French.properties b/android/assets/jsons/translations/French.properties index 13e93f898c..eaaa87aae7 100644 --- a/android/assets/jsons/translations/French.properties +++ b/android/assets/jsons/translations/French.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/German.properties b/android/assets/jsons/translations/German.properties index bd11b2f864..2fb47288b7 100644 --- a/android/assets/jsons/translations/German.properties +++ b/android/assets/jsons/translations/German.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Hungarian.properties b/android/assets/jsons/translations/Hungarian.properties index f003a89553..1206af6cfe 100644 --- a/android/assets/jsons/translations/Hungarian.properties +++ b/android/assets/jsons/translations/Hungarian.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Indonesian.properties b/android/assets/jsons/translations/Indonesian.properties index f4752f0a70..2820c7330b 100644 --- a/android/assets/jsons/translations/Indonesian.properties +++ b/android/assets/jsons/translations/Indonesian.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Italian.properties b/android/assets/jsons/translations/Italian.properties index 5b45a4930a..2f41a7f37b 100644 --- a/android/assets/jsons/translations/Italian.properties +++ b/android/assets/jsons/translations/Italian.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Japanese.properties b/android/assets/jsons/translations/Japanese.properties index b11f2a3b05..f81e1e38c5 100644 --- a/android/assets/jsons/translations/Japanese.properties +++ b/android/assets/jsons/translations/Japanese.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Korean.properties b/android/assets/jsons/translations/Korean.properties index a52ac09042..87cff37a0e 100644 --- a/android/assets/jsons/translations/Korean.properties +++ b/android/assets/jsons/translations/Korean.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Lithuanian.properties b/android/assets/jsons/translations/Lithuanian.properties index 87f43f9694..dc35430edf 100644 --- a/android/assets/jsons/translations/Lithuanian.properties +++ b/android/assets/jsons/translations/Lithuanian.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Malay.properties b/android/assets/jsons/translations/Malay.properties index 4627e6dd0a..6b308e68d3 100644 --- a/android/assets/jsons/translations/Malay.properties +++ b/android/assets/jsons/translations/Malay.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Persian_(Pinglish-DIN).properties b/android/assets/jsons/translations/Persian_(Pinglish-DIN).properties index 9881bf2972..05f9c6b6fa 100644 --- a/android/assets/jsons/translations/Persian_(Pinglish-DIN).properties +++ b/android/assets/jsons/translations/Persian_(Pinglish-DIN).properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Persian_(Pinglish-UN).properties b/android/assets/jsons/translations/Persian_(Pinglish-UN).properties index e12ca75257..78f8bb3ab0 100644 --- a/android/assets/jsons/translations/Persian_(Pinglish-UN).properties +++ b/android/assets/jsons/translations/Persian_(Pinglish-UN).properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Polish.properties b/android/assets/jsons/translations/Polish.properties index be52849464..deaf5988a0 100644 --- a/android/assets/jsons/translations/Polish.properties +++ b/android/assets/jsons/translations/Polish.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Portuguese.properties b/android/assets/jsons/translations/Portuguese.properties index 8da297692e..52a29f3220 100644 --- a/android/assets/jsons/translations/Portuguese.properties +++ b/android/assets/jsons/translations/Portuguese.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Romanian.properties b/android/assets/jsons/translations/Romanian.properties index 01549b8b99..8865588b6f 100644 --- a/android/assets/jsons/translations/Romanian.properties +++ b/android/assets/jsons/translations/Romanian.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Russian.properties b/android/assets/jsons/translations/Russian.properties index bffd9a22c2..f825eb8e72 100644 --- a/android/assets/jsons/translations/Russian.properties +++ b/android/assets/jsons/translations/Russian.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Simplified_Chinese.properties b/android/assets/jsons/translations/Simplified_Chinese.properties index bf63c0eb06..b9f81b630c 100644 --- a/android/assets/jsons/translations/Simplified_Chinese.properties +++ b/android/assets/jsons/translations/Simplified_Chinese.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Spanish.properties b/android/assets/jsons/translations/Spanish.properties index 42e5901925..fcfb47323e 100644 --- a/android/assets/jsons/translations/Spanish.properties +++ b/android/assets/jsons/translations/Spanish.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Swedish.properties b/android/assets/jsons/translations/Swedish.properties index 48730e6ddd..6fd6e5c48c 100644 --- a/android/assets/jsons/translations/Swedish.properties +++ b/android/assets/jsons/translations/Swedish.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Traditional_Chinese.properties b/android/assets/jsons/translations/Traditional_Chinese.properties index 1539924c08..71cc253f71 100644 --- a/android/assets/jsons/translations/Traditional_Chinese.properties +++ b/android/assets/jsons/translations/Traditional_Chinese.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Turkish.properties b/android/assets/jsons/translations/Turkish.properties index 2f7e932e53..e90564a8ce 100644 --- a/android/assets/jsons/translations/Turkish.properties +++ b/android/assets/jsons/translations/Turkish.properties @@ -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 #################### diff --git a/android/assets/jsons/translations/Ukrainian.properties b/android/assets/jsons/translations/Ukrainian.properties index fedac8d6d0..5f402db96d 100644 --- a/android/assets/jsons/translations/Ukrainian.properties +++ b/android/assets/jsons/translations/Ukrainian.properties @@ -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 #################### diff --git a/core/src/com/unciv/models/translations/TranslationFileWriter.kt b/core/src/com/unciv/models/translations/TranslationFileWriter.kt index 90d7f028a9..742b58636f 100644 --- a/core/src/com/unciv/models/translations/TranslationFileWriter.kt +++ b/core/src/com/unciv/models/translations/TranslationFileWriter.kt @@ -225,7 +225,7 @@ object TranslationFileWriter { } existingParameterNames += parameterName - stringToTranslate = stringToTranslate.replace(parameter, parameterName) + stringToTranslate = stringToTranslate.replaceFirst(parameter, parameterName) } } resultStrings!!.add("$stringToTranslate = ")