mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-15 13:31:40 +00:00
[Localization] Localizable Event Timer (#4971)
This commit is contained in:
parent
22f4e747ab
commit
f2ef3620b5
@ -189,7 +189,7 @@ export class TimedEventDisplay extends Phaser.GameObjects.Container {
|
|||||||
const secs = Math.round(diff % 6e4 / 1e3);
|
const secs = Math.round(diff % 6e4 / 1e3);
|
||||||
|
|
||||||
// Return formatted string
|
// Return formatted string
|
||||||
return "Event Ends in : " + z(days) + "d " + z(hours) + "h " + z(mins) + "m " + z(secs) + "s";
|
return i18next.t("menu:eventTimer", { days: z(days), hours: z(hours), mins: z(mins), secs: z(secs) });
|
||||||
}
|
}
|
||||||
|
|
||||||
updateCountdown() {
|
updateCountdown() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user