Add zh-TW l10n

This commit is contained in:
Carl X. Su 2013-12-07 02:23:19 +08:00
parent 99525509c6
commit 3a10960941
21 changed files with 1003 additions and 25 deletions

View file

@ -6,13 +6,15 @@ exports.level = {
"ja": "Gitのブランチ",
"ko": "Git에서 브랜치 쓰기",
"fr_FR": "Gérer les branches avec Git",
"zh_CN": "建立Git分支"
"zh_CN": "建立Git分支",
"zh_TW": "建立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_TW": "用 'git branch [分支名]' 来创建分支,用 'git checkout [分支名]' 切换到分支",
"ko": "\"git branch [브랜치명]\"으로 새 브랜치를 만들고, \"git checkout [브랜치명]\"로 그 브랜치로 이동하세요"
},
"disabledMap": {
@ -331,6 +333,84 @@ exports.level = {
}
]
},
"zh_TW": {
"childViews": [
{
"type": "ModalAlert",
"options": {
"markdowns": [
"## Git Branches",
"",
" Git 的分支非常轻量。它们只是简单地指向某个提交纪录——仅此而已。所以许多Git爱好者会念叨",
"",
"```",
"早点建分支!经常建分支!",
"```",
"",
"创建分支没有储存或内存上的开销,所以按逻辑分解工作比维护单一的代码树要简单。",
"",
"同时使用分支和提交时,我们会看到两者如何配合。现在,只要记住使用分支其实就是在说:“我想包含本次提交及所有的父提交记录。”"
]
}
},
{
"type": "GitDemonstrationView",
"options": {
"beforeMarkdowns": [
"举个例子看看分支究竟是什么。",
"",
"这里,我们切换到到名为`newImage`的新分支。"
],
"command": "git branch newImage",
"afterMarkdowns": [
"看,这就是建立分支所需的操作啦!`newImage`分支现在指向提交记录`C1`。"
],
"beforeCommand": ""
}
},
{
"type": "GitDemonstrationView",
"options": {
"beforeMarkdowns": [
"现在让我们修改一下新分支。点击下面的按钮。"
],
"command": "git commit",
"afterMarkdowns": [
"啊摔!`master`分支前进了,但`newImage`分支没有哇!这是因为我们没有“在”这个新分支上,这也是为什么星号(*)只在 `master` 上。"
],
"beforeCommand": "git branch newImage"
}
},
{
"type": "GitDemonstrationView",
"options": {
"beforeMarkdowns": [
"使用如下命令告诉git我们想要切换到新的分支",
"",
"```",
"git checkout [name]",
"```",
"",
"这可以让我们在提交修改之前切换到新的分支。"
],
"command": "git checkout newImage; git commit",
"afterMarkdowns": [
"好的嘞!新的分支已经记录了我们的修改。"
],
"beforeCommand": "git branch newImage"
}
},
{
"type": "ModalAlert",
"options": {
"markdowns": [
"好啦,你已经准备好使用分支了。当前窗口关闭后,",
"创建一个叫 `bugFix` 的新分支,然后切换过去。"
]
}
}
]
},
"ko": {
"childViews": [
{