diff --git a/curriculum/comment-dictionary.js b/curriculum/comment-dictionary.js new file mode 100644 index 00000000000..f750de0b57d --- /dev/null +++ b/curriculum/comment-dictionary.js @@ -0,0 +1,29 @@ +/* eslint-disable max-len */ +// NOTE: updates to translations will not appear until the client is restarted +// i.e. close it and run npm run develop +const COMMENT_TRANSLATIONS = { + 'Only change code above this line': { + chinese: '仅修改这一行注释上面的代码' + }, + 'Only change code below this line': { + chinese: '仅修改这一行注释下面的代码' + }, + 'Change code above this line': { + chinese: '请修改这一行注释上面的代码' + }, + 'Change code below this line': { + chinese: '请修改这一行注释下面的代码' + }, + '
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
': { + chinese: + 'Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
' + }, + 'Stacked bar chart of weekly training': { + chinese: '每周训练的条形图' + }, + 'Stacked bar chart will go here': { + chinese: '条形图在这里' + } +}; + +exports.COMMENT_TRANSLATIONS = COMMENT_TRANSLATIONS;