fix: added Chinese comment translations for Responsive Web Design
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
0952ca6bfd
commit
5bc0187404
29
curriculum/comment-dictionary.js
Normal file
29
curriculum/comment-dictionary.js
Normal file
@@ -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: '请修改这一行注释下面的代码'
|
||||
},
|
||||
'<h1>Hello World</h1>\n\n<h2>CatPhotoApp</h2>\n\n<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>': {
|
||||
chinese:
|
||||
'<h1>Hello World</h1>\n\n<h2>CatPhotoApp</h2>\n\n<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>'
|
||||
},
|
||||
'Stacked bar chart of weekly training': {
|
||||
chinese: '每周训练的条形图'
|
||||
},
|
||||
'Stacked bar chart will go here': {
|
||||
chinese: '条形图在这里'
|
||||
}
|
||||
};
|
||||
|
||||
exports.COMMENT_TRANSLATIONS = COMMENT_TRANSLATIONS;
|
Reference in New Issue
Block a user