From 4499d0d03a63d31c0777148df2ac8d83894dbb82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Gl=C3=B3rias?= Date: Mon, 20 Jan 2025 23:55:15 +0000 Subject: [PATCH] translate back to live move --- modules/coreI18n/src/main/key.scala | 1 + translation/source/broadcast.xml | 1 + ui/@types/lichess/i18n.d.ts | 2 ++ ui/analyse/src/study/relay/relayView.ts | 2 +- 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/coreI18n/src/main/key.scala b/modules/coreI18n/src/main/key.scala index eb71ef690ea87..54709bfa51958 100644 --- a/modules/coreI18n/src/main/key.scala +++ b/modules/coreI18n/src/main/key.scala @@ -204,6 +204,7 @@ object I18nKey: val `optionalDetails`: I18nKey = "broadcast:optionalDetails" val `pastBroadcasts`: I18nKey = "broadcast:pastBroadcasts" val `allBroadcastsByMonth`: I18nKey = "broadcast:allBroadcastsByMonth" + val `backToLiveMove`: I18nKey = "broadcast:backToLiveMove" val `nbBroadcasts`: I18nKey = "broadcast:nbBroadcasts" object challenge: diff --git a/translation/source/broadcast.xml b/translation/source/broadcast.xml index 1e5e534532df7..adb1bf3b25591 100644 --- a/translation/source/broadcast.xml +++ b/translation/source/broadcast.xml @@ -80,4 +80,5 @@ Optional details Past broadcasts View all broadcasts by month + Back to live move diff --git a/ui/@types/lichess/i18n.d.ts b/ui/@types/lichess/i18n.d.ts index f0d19a92b23fb..bcb0d94756072 100644 --- a/ui/@types/lichess/i18n.d.ts +++ b/ui/@types/lichess/i18n.d.ts @@ -233,6 +233,8 @@ interface I18n { allBroadcastsByMonth: string; /** All teams */ allTeams: string; + /** Back to live move */ + backToLiveMove: string; /** Boards */ boards: string; /** Boards can be loaded with a source or via the %s */ diff --git a/ui/analyse/src/study/relay/relayView.ts b/ui/analyse/src/study/relay/relayView.ts index 61703d21a9865..c14031de43d67 100644 --- a/ui/analyse/src/study/relay/relayView.ts +++ b/ui/analyse/src/study/relay/relayView.ts @@ -49,7 +49,7 @@ export const backToLiveView = (ctrl: AnalyseCtrl) => ctrl.redraw, ), }, - 'Back to live move', + i18n.broadcast.backToLiveMove, ) : undefined;