mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-26 02:02:20 +02:00
Update party-exp-bar.ts localizable
This commit is contained in:
parent
8555ef7cb7
commit
01a129871a
@ -43,9 +43,9 @@ export default class PartyExpBar extends Phaser.GameObjects.Container {
|
|||||||
// if we want to only display the level in the small frame
|
// if we want to only display the level in the small frame
|
||||||
if (showOnlyLevelUp) {
|
if (showOnlyLevelUp) {
|
||||||
if (newLevel > 200) { // if the level is greater than 200, we only display Lv. UP
|
if (newLevel > 200) { // if the level is greater than 200, we only display Lv. UP
|
||||||
this.expText.setText("Lv. UP");
|
this.expText.setText(i18next.t("battleScene:levelUp"));
|
||||||
} else { // otherwise we display Lv. Up and the new level
|
} else { // otherwise we display Lv. Up and the new level
|
||||||
this.expText.setText(`Lv. UP: ${newLevel.toString()}`);
|
this.expText.setText(i18next.t("battleScene:levelUpWithLevel", { level: newLevel }));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// if we want to display the exp
|
// if we want to display the exp
|
||||||
|
Loading…
Reference in New Issue
Block a user