Skip to content

Commit 58b6f07

Browse files
fangyi-zhoujiangxin
authored andcommitted
l10n: zh_CN translate parameter name
Translate parameters such as: * <new-branch-name> in advice.c:126, * <command>, <path>, <revision> in setup.c:171, setup.c:184, setup.c:252, * <base-commit-id> in builtin/log.c:1288, * <conflicted_files> in git-rebase.sh:58, and more... Signed-off-by: Fangyi Zhou <[email protected]> Signed-off-by: Jiang Xin <[email protected]>
1 parent 2090d5b commit 58b6f07

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

po/zh_CN.po

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ msgstr ""
138138
"Project-Id-Version: Git\n"
139139
"Report-Msgid-Bugs-To: Git Mailing List <[email protected]>\n"
140140
"POT-Creation-Date: 2017-10-17 09:44+0800\n"
141-
"PO-Revision-Date: 2017-10-24 09:43+0800\n"
141+
"PO-Revision-Date: 2017-12-02 17:15+0800\n"
142142
"Last-Translator: Jiang Xin <[email protected]>\n"
143143
"Language-Team: GitHub <https://github.com/jiangxin/git/>\n"
144144
"Language: zh_CN\n"
@@ -225,7 +225,7 @@ msgstr ""
225225
"如果您想要通过创建分支来保留在此状态下所做的提交,您可以通过在检出命令添加\n"
226226
"参数 -b 来实现(现在或稍后)。例如:\n"
227227
"\n"
228-
" git checkout -b <new-branch-name>\n"
228+
" git checkout -b <新分支名>\n"
229229
"\n"
230230

231231
#: apply.c:58
@@ -2659,7 +2659,7 @@ msgstr "领先 %d,落后 %d"
26592659
#: ref-filter.c:105
26602660
#, c-format
26612661
msgid "expected format: %%(color:<color>)"
2662-
msgstr "期望的格式:%%(color:<color>)"
2662+
msgstr "期望的格式:%%(color:<颜色>)"
26632663

26642664
#: ref-filter.c:107
26652665
#, c-format
@@ -2719,7 +2719,7 @@ msgstr "未能识别的 %%(objectname) 参数:%s"
27192719
#: ref-filter.c:267
27202720
#, c-format
27212721
msgid "expected format: %%(align:<width>,<position>)"
2722-
msgstr "期望的格式:%%(align:<width>,<position>)"
2722+
msgstr "期望的格式:%%(align:<宽度>,<位置>)"
27232723

27242724
#: ref-filter.c:279
27252725
#, c-format
@@ -3635,7 +3635,7 @@ msgid ""
36353635
"Use 'git <command> -- <path>...' to specify paths that do not exist locally."
36363636
msgstr ""
36373637
"%s:工作区中无此路径。\n"
3638-
"使用命令 'git <command> -- <path>...' 来指定本地不存在的路径。"
3638+
"使用命令 'git <命令> -- <路径>...' 来指定本地不存在的路径。"
36393639

36403640
#: setup.c:184
36413641
#, c-format
@@ -3646,7 +3646,7 @@ msgid ""
36463646
msgstr ""
36473647
"有歧义的参数 '%s':未知的版本或路径不存在于工作区中。\n"
36483648
"使用 '--' 来分隔版本和路径,例如:\n"
3649-
"'git <command> [<revision>...] -- [<file>...]'"
3649+
"'git <命令> [<版本>...] -- [<文件>...]'"
36503650

36513651
#: setup.c:252
36523652
#, c-format
@@ -3657,7 +3657,7 @@ msgid ""
36573657
msgstr ""
36583658
"有歧义的参数 '%s':可同时是版本和文件\n"
36593659
"使用 '--' 来分隔版本和路径,例如:\n"
3660-
"'git <command> [<revision>...] -- [<file>...]'"
3660+
"'git <命令> [<版本>...] -- [<文件>...]'"
36613661

36623662
#: setup.c:499
36633663
#, c-format
@@ -7273,7 +7273,7 @@ msgstr "请使用 -m 或 -F 选项提供提交说明。\n"
72737273
#: builtin/commit.c:1075
72747274
#, c-format
72757275
msgid "--author '%s' is not 'Name <email>' and matches no existing author"
7276-
msgstr "--author '%s' 不是 'Name <email>' 格式,且未能在现有作者中找到匹配"
7276+
msgstr "--author '%s' 不是 '姓名 <邮箱>' 格式,且未能在现有作者中找到匹配"
72777277

72787278
#: builtin/commit.c:1090 builtin/commit.c:1335
72797279
#, c-format
@@ -9617,7 +9617,7 @@ msgid ""
96179617
msgstr ""
96189618
"无法得到上游地址,如果你想自动记录基线提交,请使用命令\n"
96199619
"git branch --set-upstream-to 来跟踪一个远程分支。或者你可以通过\n"
9620-
"参数 --base=<base-commit-id> 手动指定一个基线提交。"
9620+
"参数 --base=<基线提交> 手动指定一个基线提交。"
96219621

96229622
#: builtin/log.c:1308
96239623
msgid "Failed to find exact merge base"
@@ -11081,7 +11081,7 @@ msgstr "git pack-objects --stdout [<选项>...] [< <引用列表> | < <对象列
1108111081
#: builtin/pack-objects.c:32
1108211082
msgid ""
1108311083
"git pack-objects [<options>...] <base-name> [< <ref-list> | < <object-list>]"
11084-
msgstr "git pack-objects [<选项>...] <base-name> [< <引用列表> | < <对象列表>]"
11084+
msgstr "git pack-objects [<选项>...] <前缀名称> [< <引用列表> | < <对象列表>]"
1108511085

1108611086
#: builtin/pack-objects.c:181 builtin/pack-objects.c:184
1108711087
#, c-format
@@ -11862,7 +11862,7 @@ msgstr "重新排列 fixup/squash 行"
1186211862

1186311863
#: builtin/receive-pack.c:29
1186411864
msgid "git receive-pack <git-dir>"
11865-
msgstr "git receive-pack <git-dir>"
11865+
msgstr "git receive-pack <仓库目录>"
1186611866

1186711867
#: builtin/receive-pack.c:839
1186811868
msgid ""
@@ -13013,7 +13013,7 @@ msgstr ""
1301313013

1301413014
#: builtin/show-branch.c:16
1301513015
msgid "git show-branch (-g | --reflog)[=<n>[,<base>]] [--list] [<ref>]"
13016-
msgstr "git show-branch (-g | --reflog)[=<n>[,<base>]] [--list] [<引用>]"
13016+
msgstr "git show-branch (-g | --reflog)[=<n>[,<起始点>]] [--list] [<引用>]"
1301713017

1301813018
#: builtin/show-branch.c:376
1301913019
#, c-format
@@ -13089,7 +13089,7 @@ msgstr "<n>[,<base>]"
1308913089

1309013090
#: builtin/show-branch.c:656
1309113091
msgid "show <n> most recent ref-log entries starting at base"
13092-
msgstr "显示从 base 开始的 <n> 条最近的引用日志记录"
13092+
msgstr "显示从起始点开始的 <n> 条最近的引用日志记录"
1309313093

1309413094
#: builtin/show-branch.c:690
1309513095
msgid ""
@@ -13986,7 +13986,7 @@ msgstr "报告清除的工作区"
1398613986

1398713987
#: builtin/worktree.c:149
1398813988
msgid "expire working trees older than <time>"
13989-
msgstr "将早于 <time> 的工作区过期"
13989+
msgstr "将早于 <时间> 的工作区过期"
1399013990

1399113991
#: builtin/worktree.c:223
1399213992
#, c-format
@@ -14005,7 +14005,7 @@ msgstr "准备 %s(标识符 %s)"
1400514005

1400614006
#: builtin/worktree.c:345
1400714007
msgid "checkout <branch> even if already checked out in other worktree"
14008-
msgstr "检出分支 <branch> 即使已经被检出到其它工作区"
14008+
msgstr "检出 <分支>,即使已经被检出到其它工作区"
1400914009

1401014010
#: builtin/worktree.c:347
1401114011
msgid "create a new branch"
@@ -14085,7 +14085,7 @@ msgstr "在初始的引用广告后立即退出"
1408514085

1408614086
#: upload-pack.c:1044
1408714087
msgid "do not try <directory>/.git/ if <directory> is no Git directory"
14088-
msgstr "不要尝试 <directory>/.git/ 如果 <directory> 不是一个 Git 目录"
14088+
msgstr "如果 <目录> 不是一个 Git 目录,不要尝试 <目录>/.git/"
1408914089

1409014090
#: upload-pack.c:1046
1409114091
msgid "interrupt transfer after <n> seconds of inactivity"
@@ -14518,7 +14518,7 @@ msgid ""
1451814518
"To abort and get back to the state before \"git rebase\", run \"git rebase --"
1451914519
"abort\"."
1452014520
msgstr ""
14521-
"手工解决所有冲突,执行 \"git add/rm <conflicted_files>\" 标记\n"
14521+
"手工解决所有冲突,执行 \"git add/rm <冲突的文件>\" 标记\n"
1452214522
"冲突已解决,然后执行 \"git rebase --continue\"。您也可以执行\n"
1452314523
"\"git rebase --skip\" 命令跳过这个提交。如果想要终止执行并回到\n"
1452414524
"\"git rebase\" 执行之前的状态,执行 \"git rebase --abort\"。"

0 commit comments

Comments
 (0)