Skip to content

Commit

Permalink
Merge pull request #16823 from SergioGlorias/trans-back-to-live
Browse files Browse the repository at this point in the history
translate back to live move
  • Loading branch information
ornicar authored Jan 21, 2025
2 parents f46dbc0 + 4499d0d commit 7769487
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions modules/coreI18n/src/main/key.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions translation/source/broadcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,5 @@
<string name="optionalDetails">Optional details</string>
<string name="pastBroadcasts">Past broadcasts</string>
<string name="allBroadcastsByMonth">View all broadcasts by month</string>
<string name="backToLiveMove">Back to live move</string>
</resources>
2 changes: 2 additions & 0 deletions ui/@types/lichess/i18n.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion ui/analyse/src/study/relay/relayView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const backToLiveView = (ctrl: AnalyseCtrl) =>
ctrl.redraw,
),
},
'Back to live move',
i18n.broadcast.backToLiveMove,
)
: undefined;

Expand Down

0 comments on commit 7769487

Please sign in to comment.