add Chinese translation to all levels in 'Ramping up','Advanced Topics' and modify the other levels's translation except those in 'A Mixed Bag'.

This commit is contained in:
yinchuan 2013-04-23 07:58:37 +08:00
parent 2483a0588a
commit f83631e2ab
11 changed files with 405 additions and 100 deletions

View file

@ -6,13 +6,13 @@ exports.level = {
"ja": "Gitのブランチ",
"ko": "Git에서 브랜치 쓰기",
"fr_FR": "Gérer les branches avec Git",
"zh_CN": "Git分支"
"zh_CN": "建立Git分支"
},
"hint": {
"en_US": "Make a new branch with \"git branch [name]\" and check it out with \"git checkout [name]\"",
"ja": "ブランチの作成(\"git branch [ブランチ名]\")と、チェックアウト(\"git checkout [ブランチ名]\"",
"fr_FR": "Faites une nouvelle branche avec \"git branch [nom]\" positionnez-vous dans celle-ci avec \"git checkout [nom]\"",
"zh_CN": "用 'git branch [分支名]' 来创建分支,用 'git checkout [分支]' 切换到分支",
"zh_CN": "用 'git branch [分支名]' 来创建分支,用 'git checkout [分支]' 切换到分支",
"ko": "\"git branch [브랜치명]\"으로 새 브랜치를 만들고, \"git checkout [브랜치명]\"로 그 브랜치로 이동하세요"
},
"disabledMap": {
@ -261,15 +261,15 @@ exports.level = {
"markdowns": [
"## Git Branches",
"",
"在 Git 里面分支也是非常轻量。它们实际上就是对特定的提交的一个简单参照reference —— 对,就是那么简单。所以许多鼓吹 Git 的玩家会反复吟诵这么一句咒语",
" Git 的分支非常轻量。它们只是简单地指向某个提交纪录——仅此而已。所以许多Git爱好者会念叨",
"",
"```",
"早点开分支多点开分支branch early, and branch often",
"早点建分支!经常建分支!",
"```",
"",
"因为创建分支不会带来任何储存硬盘和内存上的开销所以你大可以根据需要将你的工作划分成几个分支而不是使用只使用一个巨大的分支beefy。",
"创建分支没有储存或内存上的开销,所以按逻辑分解工作比维护单一的代码树要简单。",
"",
"当我们开始将分支和提交混合一起使用之后将会看见两者混合所带来的特性。从现在开始只要记住使用分支其实就是在说“我想把这次提交和它的父提交都包含进去。I want to include the work of this commit and all parent commits.”"
"同时使用分支和提交时,我们会看到两者如何配合。现在,只要记住使用分支其实就是在说:“我想包含本次提交及所有的父提交记录。”"
]
}
},
@ -277,13 +277,13 @@ exports.level = {
"type": "GitDemonstrationView",
"options": {
"beforeMarkdowns": [
"让我们在实践中看看分支究竟是怎样的。",
"举个例子看看分支究竟是什么。",
"",
"现在我们会检出check out到一个叫 `newImage` 的新分支。"
"这里,我们切换到到名为`newImage`的新分支。"
],
"command": "git branch newImage",
"afterMarkdowns": [
"看,这就是分支啦!`newImage` 这个分支现在是指向提交 `C1`。"
"看,这就是建立分支所需的操作啦!`newImage`分支现在指向提交记录`C1`。"
],
"beforeCommand": ""
}
@ -292,11 +292,11 @@ exports.level = {
"type": "GitDemonstrationView",
"options": {
"beforeMarkdowns": [
"现在让我们往这个新分支里添加一点修改。按一下下面的按钮。"
"现在让我们修改一下新分支。点击下面的按钮。"
],
"command": "git commit",
"afterMarkdowns": [
"啊摔!`master` 分支前进了,但`newImage` 分支没有哇!这是因为我们没有“在”这个新分支上,这也是为什么星号(*)只在 `master` 上。"
"啊摔!`master`分支前进了,但`newImage`分支没有哇!这是因为我们没有“在”这个新分支上,这也是为什么星号(*)只在 `master` 上。"
],
"beforeCommand": "git branch newImage"
}
@ -305,17 +305,17 @@ exports.level = {
"type": "GitDemonstrationView",
"options": {
"beforeMarkdowns": [
"要切换到一个分支,我们可以这样告诉 git",
"使用如下命令告诉git我们想要切换到新的分支",
"",
"```",
"git checkout [name]",
"```",
"",
"这样就可以让我们在提交修改之前切换到新的分支。"
"这可以让我们在提交修改之前切换到新的分支。"
],
"command": "git checkout newImage; git commit",
"afterMarkdowns": [
"好的嘞!我们的修改已经记录在新的分支里了。"
"好的嘞!新的分支已经记录了我们的修改。"
],
"beforeCommand": "git branch newImage"
}
@ -324,8 +324,8 @@ exports.level = {
"type": "ModalAlert",
"options": {
"markdowns": [
"好啦,现在你可以准备使用分支了。这个窗口关闭以后,",
"创建一个叫 `bugFix` 的新分支,然后切换到那里。"
"好啦,你已经准备好使用分支了。当前窗口关闭后,",
"创建一个叫 `bugFix` 的新分支,然后切换过去。"
]
}
}