Add translation for XP on World Screen (#7595)

This commit is contained in:
OptimizedForDensity 2022-08-03 13:22:46 -04:00 committed by GitHub
parent 01cc67cee4
commit 67fbc07552
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -891,6 +891,7 @@ Strength =
Ranged strength =
Bombard strength =
Range =
XP =
Move unit =
Stop movement =
Swap units =

View File

@ -165,7 +165,7 @@ class UnitTable(val worldScreen: WorldScreen) : Table(){
}
if (!unit.isCivilian()) {
unitDescriptionTable.add("XP")
unitDescriptionTable.add("XP".tr())
unitDescriptionTable.add(unit.promotions.XP.toString() + "/" + unit.promotions.xpForNextPromotion())
}