Skip to content

Commit

Permalink
[Localization] Localizable Event Timer (#4971)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adri1 authored Dec 7, 2024
1 parent 22f4e74 commit f2ef362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/timed-event-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit f2ef362

Please sign in to comment.