mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09:27 +02:00
Localizable Event Timer
This commit is contained in:
parent
757fe1a17c
commit
1bc3b68c24
@ -189,7 +189,7 @@ export class TimedEventDisplay extends Phaser.GameObjects.Container {
|
||||
const secs = Math.round(diff % 6e4 / 1e3);
|
||||
|
||||
// Return formatted string
|
||||
return "Event Ends in : " + z(days) + "d " + z(hours) + "h " + z(mins) + "m " + z(secs) + "s";
|
||||
return i18next.t("eventTimer", {days: z(days), hours: z(hours), mins: z(mins), secs: z(secs)});
|
||||
}
|
||||
|
||||
updateCountdown() {
|
||||
|
Loading…
Reference in New Issue
Block a user