From 82f0b608911e5fee4eaa73d8bd132e5f688469fb Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Mon, 6 Jan 2025 10:04:03 +0100 Subject: [PATCH] generate i18n files with `pnpm trans-dump` --- modules/coreI18n/src/main/key.scala | 3 +++ ui/@types/lichess/i18n.d.ts | 12 +++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/modules/coreI18n/src/main/key.scala b/modules/coreI18n/src/main/key.scala index 27be42122f50..e91839ee7557 100644 --- a/modules/coreI18n/src/main/key.scala +++ b/modules/coreI18n/src/main/key.scala @@ -2207,8 +2207,11 @@ object I18nKey: val `stats`: I18nKey = "stats" val `opponentLeftCounter`: I18nKey = "opponentLeftCounter" val `mateInXHalfMoves`: I18nKey = "mateInXHalfMoves" + val `nbBlunders`: I18nKey = "nbBlunders" val `numberBlunders`: I18nKey = "numberBlunders" + val `nbMistakes`: I18nKey = "nbMistakes" val `numberMistakes`: I18nKey = "numberMistakes" + val `nbInaccuracies`: I18nKey = "nbInaccuracies" val `numberInaccuracies`: I18nKey = "numberInaccuracies" val `nbPlayers`: I18nKey = "nbPlayers" val `nbGames`: I18nKey = "nbGames" diff --git a/ui/@types/lichess/i18n.d.ts b/ui/@types/lichess/i18n.d.ts index 7bcc4705ecec..4fe2d2fee00b 100644 --- a/ui/@types/lichess/i18n.d.ts +++ b/ui/@types/lichess/i18n.d.ts @@ -3510,7 +3510,7 @@ interface I18n { /** Navigate the move tree */ navigateMoveTree: string; /** %s blunders */ - numberBlunders: I18nPlural; + nbBlunders: I18nPlural; /** %s bookmarks */ nbBookmarks: I18nPlural; /** %s days */ @@ -3536,13 +3536,13 @@ interface I18n { /** %s imported games */ nbImportedGames: I18nPlural; /** %s inaccuracies */ - numberInaccuracies: I18nPlural; + nbInaccuracies: I18nPlural; /** %s losses */ nbLosses: I18nPlural; /** %s minutes */ nbMinutes: I18nPlural; /** %s mistakes */ - numberMistakes: I18nPlural; + nbMistakes: I18nPlural; /** %1$s %2$s players this week. */ nbPerfTypePlayersThisWeek: I18nPlural; /** %s players */ @@ -3629,6 +3629,12 @@ interface I18n { notifications: string; /** Notifications: %1$s */ notificationsX: I18nFormat; + /** %s Blunders */ + numberBlunders: I18nPlural; + /** %s Inaccuracies */ + numberInaccuracies: I18nPlural; + /** %s Mistakes */ + numberMistakes: I18nPlural; /** Offer draw */ offerDraw: string; /** OK */