translate inline notation setting

pull/3626/head
Niklas Fiekas 2017-09-20 01:00:56 +02:00
parent afa756c635
commit 32f0a3abaf
6 changed files with 9 additions and 4 deletions

View File

@ -42,6 +42,7 @@ trans.toggleLocalEvaluation,
// action menu
trans.menu,
trans.preferences,
trans.inlineNotation,
trans.computerAnalysis,
trans.enable,
trans.bestMoveArrow,

View File

@ -29,6 +29,8 @@ trans.continueFromHere,
trans.playWithTheMachine,
trans.playWithAFriend,
trans.openStudy,
trans.preferences,
trans.inlineNotation,
trans.replayMode,
trans.slow,
trans.fast,

View File

@ -326,6 +326,7 @@ val `lastName` = new Translated("lastName", Site)
val `biography` = new Translated("biography", Site)
val `country` = new Translated("country", Site)
val `preferences` = new Translated("preferences", Site)
val `inlineNotation` = new Translated("inlineNotation", Site)
val `watchLichessTV` = new Translated("watchLichessTV", Site)
val `previouslyOnLichessTV` = new Translated("previouslyOnLichessTV", Site)
val `onlinePlayers` = new Translated("onlinePlayers", Site)

View File

@ -415,6 +415,7 @@ a computer analysis, a game chat and a shareable URL.</string>
<string name="biography">Biography</string>
<string name="country">Country</string>
<string name="preferences">Preferences</string>
<string name="inlineNotation">Inline notation</string>
<string name="watchLichessTV">Watch Lichess TV</string>
<string name="previouslyOnLichessTV">Previously on Lichess TV</string>
<string name="onlinePlayers">Online players</string>

View File

@ -190,7 +190,7 @@ export function view(ctrl: AnalyseCtrl): VNode {
ctrl.showComputer() ? [
boolSetting(ctrl, {
name: 'bestMoveArrow',
title: 'Keyboard: a',
title: 'a',
id: 'shapes',
checked: ctrl.showAutoShapes(),
change: ctrl.toggleAutoShapes
@ -266,8 +266,8 @@ export function view(ctrl: AnalyseCtrl): VNode {
const notationConfig = [
h('h2', noarg('preferences')),
boolSetting(ctrl, {
name: 'Inline notation',
title: 'Keyboard: Shift+I',
name: noarg('inlineNotation'),
title: 'Shift+I',
id: 'inline',
checked: ctrl.treeView.inline(),
change(v) {

View File

@ -143,7 +143,7 @@ export function view(ctrl: AnalyseCtrl): VNode {
row([k('shift'), k('←'), or(), k('shift'), k('→')], trans('keyEnterOrExitVariation')),
row([k('shift'), k('J'), or(), k('shift'), k('K')], trans('keyEnterOrExitVariation')),
header('Analysis options'),
row([k('shift'), k('I')], 'Inline notation'),
row([k('shift'), k('I')], trans('inlineNotation')),
row([k('l')], 'Local computer analysis'),
row([k('a')], 'Computer arrows'),
row([k('space')], 'Play computer best move'),