mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-24 03:53:12 -04:00
fix a translation problem in policy screen (#8229)
This commit is contained in:
parent
42a17aab5b
commit
ef55b9b5dc
@ -35,10 +35,10 @@ open class Policy : RulesetObject() {
|
||||
fun getDescription(): String {
|
||||
var text = uniques
|
||||
.filter { !it.contains(UniqueType.OnlyAvailableWhen.text) }
|
||||
.joinToString("\n", transform = { "• $it".tr() })
|
||||
.joinToString("\n", transform = { "• ${it.tr()}" })
|
||||
if (policyBranchType != PolicyBranchType.BranchStart
|
||||
&& policyBranchType != PolicyBranchType.BranchComplete)
|
||||
text = name + "\n" + text
|
||||
text = name.tr() + "\n" + text
|
||||
return text
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user