mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 15:27:50 +07:00
Made rich presence text not change with language (#5613)
* update for no reason * bruuhhhhhhhhh * bruuhhhhhhhhh * rebase... this probably wont work * bruuhhhhhhhhh * fix comments..? * bruuhhhhhhhhh * equalize with upstream/master * made the game not change the text shown in rich presence with the current language, added a language override functionality to String.tr() which is probably inefficient as hell, also the reason why i had to keep the .tr in leader name is because it showed the parantheses * i have no idea why github or git keeps bugging me on this but this line randomly appears then disappears * i have no idea why github or git keeps bugging me on this but this line randomly appears then disappears * revert changes to .tr(), use what @yairm210 suggested
This commit is contained in:
@ -259,6 +259,7 @@ class WorldScreenTopBar(val worldScreen: WorldScreen) : Table() {
|
||||
val nation = worldScreen.gameInfo.ruleSet.nations[worldScreen.selectedCiv.civName]!!
|
||||
val selectedCivIcon = ImageGetter.getNationIndicator(nation, 35f)
|
||||
selectedCivIconHolder.actor = selectedCivIcon
|
||||
selectedCivIconHolder.onClick { worldScreen.game.setScreen(EmpireOverviewScreen(worldScreen.selectedCiv)) }
|
||||
}
|
||||
|
||||
private fun getCultureText(civInfo: CivilizationInfo, nextTurnStats: Stats): String {
|
||||
|
Reference in New Issue
Block a user