[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);
|
||||
|
||||
// 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() {
|
||||
|
|
Loading…
Reference in New Issue