mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 07:58:34 +02:00
js/dialogs 去簡體化
This commit is contained in:
parent
3a10960941
commit
c88b292003
4 changed files with 25 additions and 24 deletions
|
@ -23,9 +23,9 @@ exports.dialog = {
|
||||||
type: 'ModalAlert',
|
type: 'ModalAlert',
|
||||||
options: {
|
options: {
|
||||||
markdowns: [
|
markdowns: [
|
||||||
'## 确定要看答案吗?',
|
'## 確定偷看解答嗎?',
|
||||||
'',
|
'',
|
||||||
'哥相信你!你可以的'
|
'我相信你!你可以的'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
|
|
@ -41,18 +41,18 @@ exports.dialog = {
|
||||||
type: 'ModalAlert',
|
type: 'ModalAlert',
|
||||||
options: {
|
options: {
|
||||||
markdowns: [
|
markdowns: [
|
||||||
'## 欢迎使用关卡生成器!',
|
'## 歡迎使用關卡編輯器!',
|
||||||
'',
|
'',
|
||||||
'主要步骤如下:',
|
'主要步驟如下:',
|
||||||
'',
|
'',
|
||||||
' * 使用 git 命令布置好初始环境',
|
' * 使用 git 指令建立初始環境',
|
||||||
' * 使用 ```define start``` 命令定义起始树',
|
' * 使用 ```define start``` 指令定義起始樹',
|
||||||
' * 输入一系列 git 命令,编好答案',
|
' * 輸入一系列 git 命令,編好答案',
|
||||||
' * 使用 ```define goal``` 命令定义目标树。定义目标的同时定义答案',
|
' * 使用 ```define goal``` 指令定義目標樹。定義目標的同時定義答案',
|
||||||
' * 还可以用 ```define hint``` 命令定义一个提示',
|
' * 還可以用 ```define hint``` 指令定義一個提示',
|
||||||
' * 用 ```define name``` 修改名称',
|
' * 用 ```define name``` 修改名稱',
|
||||||
' * 还可以用 ```edit dialog``` 定义一个漂亮的开始对话框',
|
' * 還可以用 ```edit dialog``` 定義一個漂亮的開始對話視窗',
|
||||||
' * 输入 ```finish``` 就可以输出你的关卡数据(JSON)了!'
|
' * 輸入 ```finish``` 即可將您的關卡輸出為 JSON!'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
|
|
@ -35,9 +35,10 @@ exports.dialog = {
|
||||||
type: 'ModalAlert',
|
type: 'ModalAlert',
|
||||||
options: {
|
options: {
|
||||||
markdowns: [
|
markdowns: [
|
||||||
'## 碉堡了!',
|
'## 幹得好!',
|
||||||
'',
|
'',
|
||||||
'你用 *{numCommands}* 条命令搞定了这一关;我们的答案要用 {best}。'
|
'您下了 *{numCommands}* 次指令解開這個關卡,',
|
||||||
|
'我們的解答下了 {best} 次。'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
|
|
@ -165,18 +165,18 @@ exports.dialog = {
|
||||||
type: 'ModalAlert',
|
type: 'ModalAlert',
|
||||||
options: {
|
options: {
|
||||||
markdowns: [
|
markdowns: [
|
||||||
'## 欢迎光临 LearnGitBranching!',
|
'## 歡迎光臨 LearnGitBranching!',
|
||||||
'',
|
'',
|
||||||
'本应用旨在帮助初学者领会 git 分支背后的强大概念。',
|
'本應用旨在幫助初學者領會 git 分支背後的強大概念。',
|
||||||
'希望你能喜欢这个应用,并学到知识!',
|
'希望你能喜歡这个應用,並學到知識!',
|
||||||
'',
|
'',
|
||||||
'# 演示!',
|
'# 演示!',
|
||||||
'',
|
'',
|
||||||
'如果你还没看过演示,请到此查看:',
|
'如果你還沒看過演示,請到此查看:',
|
||||||
'',
|
'',
|
||||||
'[http://pcottle.github.io/learnGitBranching/?demo](http://pcottle.github.io/learnGitBranching/?demo)',
|
'[http://pcottle.github.io/learnGitBranching/?demo](http://pcottle.github.io/learnGitBranching/?demo)',
|
||||||
'',
|
'',
|
||||||
'厌烦这个对话框? 在 URL 后头加上 `?NODEMO` 就看不到它了,也可以直接点下边这个链接:',
|
'厭煩這個對話視窗嗎?在 URL 後頭加上 `?NODEMO` 就看不到它了,也可以直接點下邊這個連結:',
|
||||||
'',
|
'',
|
||||||
'[http://pcottle.github.io/learnGitBranching/?NODEMO](http://pcottle.github.io/learnGitBranching/?NODEMO)'
|
'[http://pcottle.github.io/learnGitBranching/?NODEMO](http://pcottle.github.io/learnGitBranching/?NODEMO)'
|
||||||
]
|
]
|
||||||
|
@ -187,7 +187,7 @@ exports.dialog = {
|
||||||
markdowns: [
|
markdowns: [
|
||||||
'## Git 命令',
|
'## Git 命令',
|
||||||
'',
|
'',
|
||||||
'在沙盒模式里,你有好多命令可用。 包括:',
|
'在沙盒模式中,你有好多指令可用。 包括:',
|
||||||
'',
|
'',
|
||||||
' * commit',
|
' * commit',
|
||||||
' * branch',
|
' * branch',
|
||||||
|
@ -203,13 +203,13 @@ exports.dialog = {
|
||||||
type: 'ModalAlert',
|
type: 'ModalAlert',
|
||||||
options: {
|
options: {
|
||||||
markdowns: [
|
markdowns: [
|
||||||
'## 分享即关怀',
|
'## 分享即關懷',
|
||||||
'',
|
'',
|
||||||
'使用 `export tree` 和 `import tree` 与朋友分享 Git 树',
|
'使用 `export tree` 和 `import tree` 與朋友分享 Git 樹',
|
||||||
'',
|
'',
|
||||||
'有个好课程可以分享?试试用 `build level` 创建一个关卡,或者 `import level` 试试朋友的。',
|
'有個好課程可以分享?試試用 `build level` 創建一個關卡,或者 `import level` 試試朋友的。',
|
||||||
'',
|
'',
|
||||||
'言归正传,让我们先从 `levels` 开始……'
|
'言歸正傳,讓我們先從 `levels` 開始……'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue