[Localization] Localizable Event Timer (#4971)

This commit is contained in:
Lugiad 2024-12-07 02:49:09 +01:00 committed by GitHub
parent 22f4e747ab
commit f2ef3620b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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() {