From f2ef3620b56576c35b5cf478cafef572c943b05c Mon Sep 17 00:00:00 2001 From: Lugiad <2070109+Adri1@users.noreply.github.com> Date: Sat, 7 Dec 2024 02:49:09 +0100 Subject: [PATCH] [Localization] Localizable Event Timer (#4971) --- src/timed-event-manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timed-event-manager.ts b/src/timed-event-manager.ts index 3b2b3619397..9515be7b49e 100644 --- a/src/timed-event-manager.ts +++ b/src/timed-event-manager.ts @@ -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() {