rename gamebook to lesson

pull/3521/head^2
Thibault Duplessis 2017-08-24 15:52:43 -05:00
parent 0c9c46bdb2
commit d9c35b3ece
2 changed files with 3 additions and 4 deletions

View File

@ -13,7 +13,7 @@ export const modeChoices = [
['normal', "Normal analysis"],
['practice', "Practice with computer"],
['conceal', "Hide next moves"],
['gamebook', "Gamebook: interactive lesson [BETA]"]
['gamebook', "Interactive lesson"]
];
export function fieldValue(e: Event, id: string) {

View File

@ -8,7 +8,7 @@ import { State } from './gamebookPlayCtrl';
const defaultComments = {
play: 'What would you play in this position?',
bad: 'That\'s not the right move.',
end: 'Congratulations! You completed this gamebook.'
end: 'Congratulations! You completed this lesson.'
};
export function render(ctrl: GamebookPlayCtrl): VNode {
@ -29,8 +29,7 @@ export function render(ctrl: GamebookPlayCtrl): VNode {
attrs: {
width: 120,
height: 120,
src: window.lichess.assetUrl('/assets/images/mascot/octopus.svg'),
title: 'Click to choose your teacher'
src: window.lichess.assetUrl('/assets/images/mascot/octopus.svg')
}
})
])