l10n: zh_CN: Add translations for Git glossary

Add translations of Git glossary (most of them are from the command `git help glossary`) in the header of `zh_CN.po`. Also fixes some translations according to this glossary, such as "pathspec", "repository", "refspec". Signed-off-by: Jiang Xin <worldhello.net@gmail.com> Signed-off-by: Ray Chen <oldsharp@gmail.com>

Jiang Xin committed Aug 2, 2015 at 21:47 UTC 160fb2b28b87ce6c9f2f8714ce6646c9586cb68a
1 file changed +233 -117
po/zh_CN.po
+233 -117
@@ -13,12 +13,128 @@
13 # - Yichao Yu <yyc1992 AT gmail.com>
14 # - Zhuang Ya <zhuangya AT me.com>
15 #
16 +# Git glossary for Chinese translators
17 +#
18 +# English | Chinese
19 +# ---------------------------------+--------------------------------------
20 +# 3-way merge | 三方合并
21 +# abbreviate | 简写(的 SHA-1 值)
22 +# alternate object database | 备用对象库
23 +# amend | 修补
24 +# ancestor | 祖先,祖先提交
25 +# annotated tag | 附注标签
26 +# bare repository | 纯仓库
27 +# bisect | 二分查找
28 +# blob object | 数据对象
29 +# branch | 分支
30 +# bundle | 包
31 +# bypass | 绕过
32 +# cache | 索引(的别称)
33 +# chain | (提交)链
34 +# changeset | 变更集
35 +# checkout | 检出
36 +# checksum | 校验,校验和
37 +# cherry-picking | 拣选
38 +# clean | 干净(的工作区)
39 +# clone | 克隆
40 +# commit | 提交
41 +# commit object | 提交对象
42 +# commit-ish (also committish) | 提交号
43 +# conflict | 冲突
44 +# core Git | 核心 Git 工具
45 +# DAG | 有向无环图
46 +# dangling object | 摇摆对象
47 +# detached HEAD | 分离头指针
48 +# directory | 目录
49 +# dirty | 脏(的工作区)
50 +# dumb HTTP | 哑 HTTP 协议
51 +# evil merge | 坏合并(合并引入了父提交没有的修改)
52 +# fast-forward | 快进
53 +# fetch | 获取
54 +# file system | 文件系统
55 +# fork | 派生,复刻
56 +# Git archive | 仓库(对于 arch 用户)
57 +# gitfile | gitfile(仓库链接文件)
58 +# grafts | (提交)嫁接
59 +# hash | 哈希值
60 +# HEAD | HEAD(头指针,亦即当前分支)
61 +# head | 头、分支
62 +# head ref | 分支
63 +# header | 头信息
64 +# hook | 钩子
65 +# hunk | 补丁片段
66 +# index | 索引
67 +# index entry | 索引条目
68 +# loose object | 松散对象
69 +# loose refs | 松散引用
70 +# master | master(默认分支名)
71 +# merge | 合并
72 +# object | 对象
73 +# object database | 对象库
74 +# object identifier | 对象标识符
75 +# object name | 对象名称
76 +# object type | 对象类型
77 +# octopus | 章鱼式合并(两分支以上的合并)
78 +# origin | origin(默认的远程名称)
79 +# pack | 包
80 +# pack index | 包索引
81 +# packfile | 包文件
82 +# parent | 父提交
83 +# patch | 补丁
84 +# pathspec | 路径规格
85 +# pattern | 模式
86 +# pickaxe | pickaxe
87 +# plumbing | 管件(Git 底层核心命令的别称)
88 +# porcelain | 瓷件(Git 上层封装命令的别称)
89 +# prune | 清除
90 +# pull | 拉,拉取
91 +# push | 推,推送
92 +# reachable | 可达
93 +# rebase | 变基
94 +# ref | 引用
95 +# reflog | 引用日志
96 +# refspec | 引用规格
97 +# remote | 远程,远程仓库
98 +# remote-tracking branch | 远程跟踪分支
99 +# replay | 重放
100 +# repo | 仓库
101 +# repository | 仓库
102 +# resolve | (冲突)解决
103 +# revert | 还原
104 +# revision | 版本
105 +# rewind | 回退
106 +# SCM | 源代码管理(工具)
107 +# SHA-1 | 安全哈希算法1
108 +# shallow repository | 浅(克隆)仓库
109 +# signed tag | 签名标签
110 +# smart HTTP | 智能 HTTP 协议
111 +# squash | 压缩
112 +# stage | n. 暂存区(即索引); v. 暂存
113 +# stash | n. 进度保存; v. 保存进度
114 +# submodule | 子模组
115 +# symref | 符号引用
116 +# tag | 标签
117 +# tag object | 标签对象
118 +# tagger | 打标签者
119 +# topic branch | 主题分支
120 +# track | 跟踪
121 +# tree | 树(工作区或树对象)
122 +# tree object | 树对象
123 +# tree-ish (also treeish) | 树对象(或可以解析为一树对象)
124 +# unmerged index | 未合并索引
125 +# unpack | 解包
126 +# unreachable object | 不可达对象
127 +# unstage | 取消暂存
128 +# upstream | 上游
129 +# upstream branch | 上游分支
130 +# working tree | 工作区
131 +#
132 msgid ""
133 msgstr ""
134 "Project-Id-Version: Git\n"
135 "Report-Msgid-Bugs-To: Git Mailing List <git@vger.kernel.org>\n"
136 "POT-Creation-Date: 2015-07-14 07:19+0800\n"
21 -"PO-Revision-Date: 2015-08-04 00:42+0800\n"
137 +"PO-Revision-Date: 2015-08-04 00:43+0800\n"
138 "Last-Translator: Jiang Xin <worldhello.net@gmail.com>\n"
139 "Language-Team: GitHub <https://github.com/jiangxin/git/>\n"
140 "Language: zh_CN\n"
@@ -52,16 +168,16 @@ msgstr "git archive --list"
168 msgid ""
169 "git archive --remote <repo> [--exec <cmd>] [<options>] <tree-ish> [<path>...]"
170 msgstr ""
55 -"git archive --remote <版本库> [--exec <命令>] [<选项>] <树或提交> [<路径>...]"
171 +"git archive --remote <仓库> [--exec <命令>] [<选项>] <树或提交> [<路径>...]"
172
173 #: archive.c:14
174 msgid "git archive --remote <repo> [--exec <cmd>] --list"
59 -msgstr "git archive --remote <版本库> [--exec <命令>] --list"
175 +msgstr "git archive --remote <仓库> [--exec <命令>] --list"
176
177 #: archive.c:342 builtin/add.c:137 builtin/add.c:428 builtin/rm.c:327
178 #, c-format
179 msgid "pathspec '%s' did not match any files"
64 -msgstr "路径规则 '%s' 未匹配任何文件"
180 +msgstr "路径规格 '%s' 未匹配任何文件"
181
182 #: archive.c:427
183 msgid "fmt"
@@ -117,11 +233,11 @@ msgstr "列出支持的归档格式"
233
234 #: archive.c:449 builtin/archive.c:90 builtin/clone.c:77
235 msgid "repo"
120 -msgstr "版本库"
236 +msgstr "仓库"
237
238 #: archive.c:450 builtin/archive.c:91
239 msgid "retrieve the archive from remote repository <repo>"
124 -msgstr "从远程版本库(<版本库>)提取归档文件"
240 +msgstr "从远程仓库(<仓库>)提取归档文件"
241
242 #: archive.c:451 builtin/archive.c:92 builtin/notes.c:478
243 msgid "command"
@@ -263,7 +379,7 @@ msgstr "不能打开 '%s'"
379
380 #: bundle.c:139
381 msgid "Repository lacks these prerequisite commits:"
266 -msgstr "版本库缺少这些必备的提交:"
382 +msgstr "仓库中缺少这些必备的提交:"
383
384 #: bundle.c:163 sequencer.c:650 sequencer.c:1105 builtin/blame.c:2705
385 #: builtin/branch.c:651 builtin/commit.c:1045 builtin/log.c:330
@@ -704,7 +820,7 @@ msgstr "不能读取对象 %s '%s'"
820 #: merge-recursive.c:765
821 #, c-format
822 msgid "blob expected for %s '%s'"
707 -msgstr "%s '%s' 应为数据(blob)对象"
823 +msgstr "%s '%s' 应为数据对象"
824
825 #: merge-recursive.c:788 builtin/clone.c:306
826 #, c-format
@@ -813,7 +929,7 @@ msgstr "不能读取对象 %s"
929 #: merge-recursive.c:1527
930 #, c-format
931 msgid "object %s is not a blob"
816 -msgstr "对象 %s 不是一个数据(blob)对象"
932 +msgstr "对象 %s 不是一个数据对象"
933
934 #: merge-recursive.c:1575
935 msgid "modify"
@@ -969,32 +1085,32 @@ msgstr "-数字"
1085
1086 #: pathspec.c:133
1087 msgid "global 'glob' and 'noglob' pathspec settings are incompatible"
972 -msgstr "全局的 'glob' 和 'noglob' 路径规则设置不兼容"
1088 +msgstr "全局的 'glob' 和 'noglob' 路径规格设置不兼容"
1089
1090 #: pathspec.c:143
1091 msgid ""
1092 "global 'literal' pathspec setting is incompatible with all other global "
1093 "pathspec settings"
978 -msgstr "全局的 'literal' 路径规则设置和其它的全局路径规则设置不兼容"
1094 +msgstr "全局的 'literal' 路径规格设置和其它的全局路径规格设置不兼容"
1095
1096 #: pathspec.c:177
1097 msgid "invalid parameter for pathspec magic 'prefix'"
982 -msgstr "路径规则包含无效的神奇前缀"
1098 +msgstr "路径规格包含无效的神奇前缀"
1099
1100 #: pathspec.c:183
1101 #, c-format
1102 msgid "Invalid pathspec magic '%.*s' in '%s'"
987 -msgstr "在路径规则 '%3$s' 中无效的神奇前缀 '%2$.*1$s'"
1103 +msgstr "在路径规格 '%3$s' 中无效的神奇前缀 '%2$.*1$s'"
1104
1105 #: pathspec.c:187
1106 #, c-format
1107 msgid "Missing ')' at the end of pathspec magic in '%s'"
992 -msgstr "路径规则 '%s' 的神奇前缀结尾少了一个 ')'"
1108 +msgstr "路径规格 '%s' 的神奇前缀结尾少了一个 ')'"
1109
1110 #: pathspec.c:205
1111 #, c-format
1112 msgid "Unimplemented pathspec magic '%c' in '%s'"
997 -msgstr "路径规则 '%2$s' 中包含未实现的神奇前缀 '%1$c'"
1113 +msgstr "路径规格 '%2$s' 中包含未实现的神奇前缀 '%1$c'"
1114
1115 #: pathspec.c:230
1116 #, c-format
@@ -1004,22 +1120,22 @@ msgstr "%s:'literal' 和 'glob' 不兼容"
1120 #: pathspec.c:241
1121 #, c-format
1122 msgid "%s: '%s' is outside repository"
1007 -msgstr "%s:'%s' 在版本库之外"
1123 +msgstr "%s:'%s' 在仓库之外"
1124
1125 #: pathspec.c:291
1126 #, c-format
1127 msgid "Pathspec '%s' is in submodule '%.*s'"
1012 -msgstr "路径规则 '%s' 在子模组 '%.*s' 中"
1128 +msgstr "路径规格 '%s' 在子模组 '%.*s' 中"
1129
1130 #: pathspec.c:353
1131 #, c-format
1132 msgid "%s: pathspec magic not supported by this command: %s"
1017 -msgstr "%s:路径规则神奇前缀不被此命令支持:%s"
1133 +msgstr "%s:路径规格神奇前缀不被此命令支持:%s"
1134
1135 #: pathspec.c:432
1136 #, c-format
1137 msgid "pathspec '%s' is beyond a symbolic link"
1022 -msgstr "路径规则 '%s' 位于符号链接中"
1138 +msgstr "路径规格 '%s' 位于符号链接中"
1139
1140 #: pathspec.c:441
1141 msgid ""
@@ -1106,7 +1222,7 @@ msgstr "分支 '%s' 没有设置要推送的远程服务器"
1222 #: remote.c:1782
1223 #, c-format
1224 msgid "push refspecs for '%s' do not include '%s'"
1109 -msgstr "向 '%s' 推送引用表达式未包含 '%s'"
1225 +msgstr "向 '%s' 推送引用规格未包含 '%s'"
1226
1227 #: remote.c:1795
1228 msgid "push has no destination (push.default is 'nothing')"
@@ -1603,12 +1719,12 @@ msgstr "未合并的路径:"
1719 #: wt-status.c:177 wt-status.c:204
1720 #, c-format
1721 msgid " (use \"git reset %s <file>...\" to unstage)"
1606 -msgstr " (使用 \"git reset %s <文件>...\" 撤出暂存区)"
1722 +msgstr " (使用 \"git reset %s <文件>...\" 以取消暂存)"
1723
1724 # 译者:注意保持前导空格
1725 #: wt-status.c:179 wt-status.c:206
1726 msgid " (use \"git rm --cached <file>...\" to unstage)"
1611 -msgstr " (使用 \"git rm --cached <文件>...\" 撤出暂存区)"
1727 +msgstr " (使用 \"git rm --cached <文件>...\" 以取消暂存)"
1728
1729 # 译者:注意保持前导空格
1730 #: wt-status.c:183
@@ -2046,7 +2162,7 @@ msgstr "无法删除 '%s'"
2162
2163 #: builtin/add.c:22
2164 msgid "git add [<options>] [--] <pathspec>..."
2049 -msgstr "git add [<选项>] [--] <路径规则>..."
2165 +msgstr "git add [<选项>] [--] <路径规格>..."
2166
2167 #: builtin/add.c:65
2168 #, c-format
@@ -2589,7 +2705,7 @@ msgstr "还应用此补丁(与 --stat/--summary/--check 选项同时使用)"
2705
2706 #: builtin/apply.c:4555
2707 msgid "attempt three-way merge if a patch does not apply"
2592 -msgstr "如果一个补丁不能应用则尝试三路合并"
2708 +msgstr "如果一个补丁不能应用则尝试三方合并"
2709
2710 #: builtin/apply.c:4557
2711 msgid "build a temporary index based on embedded index information"
@@ -2649,15 +2765,15 @@ msgstr "为所有文件名前添加 <根目录>"
2765
2766 #: builtin/apply.c:4610
2767 msgid "--3way outside a repository"
2652 -msgstr "--3way 在一个版本库之外"
2768 +msgstr "--3way 在一个仓库之外"
2769
2770 #: builtin/apply.c:4618
2771 msgid "--index outside a repository"
2656 -msgstr "--index 在一个版本库之外"
2772 +msgstr "--index 在一个仓库之外"
2773
2774 #: builtin/apply.c:4621
2775 msgid "--cached outside a repository"
2660 -msgstr "--cached 在一个版本库之外"
2776 +msgstr "--cached 在一个仓库之外"
2777
2778 #: builtin/apply.c:4640
2779 #, c-format
@@ -3257,11 +3373,11 @@ msgstr "%s 可以\n"
3373
3374 #: builtin/bundle.c:64
3375 msgid "Need a repository to create a bundle."
3260 -msgstr "需要一个版本库来创建包。"
3376 +msgstr "需要一个仓库来创建包。"
3377
3378 #: builtin/bundle.c:68
3379 msgid "Need a repository to unbundle."
3264 -msgstr "需要一个版本库来解包。"
3380 +msgstr "需要一个仓库来解包。"
3381
3382 #: builtin/cat-file.c:369
3383 msgid ""
@@ -3300,7 +3416,7 @@ msgstr "美观地打印对象的内容"
3416
3417 #: builtin/cat-file.c:414
3418 msgid "for blob objects, run textconv on object's content"
3303 -msgstr "对于数据(blob)对象,对其内容执行 textconv"
3419 +msgstr "对于数据对象,对其内容执行 textconv"
3420
3421 #: builtin/cat-file.c:416
3422 msgid "allow -s and -t to work with broken/corrupt objects"
@@ -3694,7 +3810,7 @@ msgstr "强制检出(丢弃本地修改)"
3810
3811 #: builtin/checkout.c:1217
3812 msgid "perform a 3-way merge with the new branch"
3697 -msgstr "和新的分支执行三路合并"
3813 +msgstr "和新的分支执行三方合并"
3814
3815 #: builtin/checkout.c:1218 builtin/merge.c:227
3816 msgid "update ignored files (default)"
@@ -3776,12 +3892,12 @@ msgstr "将删除 %s\n"
3892 #: builtin/clean.c:32
3893 #, c-format
3894 msgid "Skipping repository %s\n"
3779 -msgstr "忽略版本库 %s\n"
3895 +msgstr "忽略仓库 %s\n"
3896
3897 #: builtin/clean.c:33
3898 #, c-format
3899 msgid "Would skip repository %s\n"
3784 -msgstr "将忽略版本库 %s\n"
3900 +msgstr "将忽略仓库 %s\n"
3901
3902 #: builtin/clean.c:34
3903 #, c-format
@@ -3938,7 +4054,7 @@ msgstr ""
4054
4055 #: builtin/clone.c:37
4056 msgid "git clone [<options>] [--] <repo> [<dir>]"
3941 -msgstr "git clone [<选项>] [--] <版本库> [<路径>]"
4057 +msgstr "git clone [<选项>] [--] <仓库> [<路径>]"
4058
4059 #: builtin/clone.c:57 builtin/fetch.c:111 builtin/merge.c:224
4060 #: builtin/push.c:523
@@ -3951,15 +4067,15 @@ msgstr "不创建一个检出"
4067
4068 #: builtin/clone.c:60 builtin/clone.c:62 builtin/init-db.c:503
4069 msgid "create a bare repository"
3954 -msgstr "创建一个纯版本库"
4070 +msgstr "创建一个纯仓库"
4071
4072 #: builtin/clone.c:64
4073 msgid "create a mirror repository (implies bare)"
3958 -msgstr "创建一个镜像版本库(也是纯版本库)"
4074 +msgstr "创建一个镜像仓库(也是纯仓库)"
4075
4076 #: builtin/clone.c:66
4077 msgid "to clone from a local repository"
3962 -msgstr "从本地版本库克隆"
4078 +msgstr "从本地仓库克隆"
4079
4080 #: builtin/clone.c:68
4081 msgid "don't use local hardlinks, always copy"
@@ -3967,7 +4083,7 @@ msgstr "不使用本地硬链接,始终复制"
4083
4084 #: builtin/clone.c:70
4085 msgid "setup as shared repository"
3970 -msgstr "设置为共享版本库"
4086 +msgstr "设置为共享仓库"
4087
4088 #: builtin/clone.c:72 builtin/clone.c:74
4089 msgid "initialize submodules in the clone"
@@ -3983,11 +4099,11 @@ msgstr "模板目录将被使用"
4099
4100 #: builtin/clone.c:78
4101 msgid "reference repository"
3986 -msgstr "参考版本库"
4102 +msgstr "参考仓库"
4103
4104 #: builtin/clone.c:80
4105 msgid "use --reference only while cloning"
3990 -msgstr "仅在克隆时参考 --reference 指向的本地版本库"
4106 +msgstr "仅在克隆时参考 --reference 指向的本地仓库"
4107
4108 #: builtin/clone.c:81 builtin/column.c:26 builtin/merge-file.c:44
4109 msgid "name"
@@ -4031,22 +4147,22 @@ msgstr "key=value"
4147
4148 #: builtin/clone.c:94
4149 msgid "set config inside the new repository"
4034 -msgstr "在新版本库中设置配置信息"
4150 +msgstr "在新仓库中设置配置信息"
4151
4152 #: builtin/clone.c:240
4153 #, c-format
4154 msgid "reference repository '%s' is not a local repository."
4039 -msgstr "参考版本库 '%s' 不是一个本地版本库。"
4155 +msgstr "参考仓库 '%s' 不是一个本地仓库。"
4156
4157 #: builtin/clone.c:244
4158 #, c-format
4159 msgid "reference repository '%s' is shallow"
4044 -msgstr "参考版本库 '%s' 是一个浅克隆"
4160 +msgstr "参考仓库 '%s' 是一个浅克隆"
4161
4162 #: builtin/clone.c:247
4163 #, c-format
4164 msgid "reference repository '%s' is grafted"
4049 -msgstr "参考版本库 '%s' 已被嫁接"
4165 +msgstr "参考仓库 '%s' 已被嫁接"
4166
4167 #: builtin/clone.c:310
4168 #, c-format
@@ -4129,7 +4245,7 @@ msgstr "太多参数。"
4245
4246 #: builtin/clone.c:767
4247 msgid "You must specify a repository to clone."
4132 -msgstr "您必须指定一个版本库来克隆。"
4248 +msgstr "您必须指定一个仓库来克隆。"
4249
4250 #: builtin/clone.c:778
4251 #, c-format
@@ -4143,7 +4259,7 @@ msgstr "--bare 和 --separate-git-dir 选项不兼容。"
4259 #: builtin/clone.c:794
4260 #, c-format
4261 msgid "repository '%s' does not exist"
4146 -msgstr "版本库 '%s' 不存在"
4262 +msgstr "仓库 '%s' 不存在"
4263
4264 #: builtin/clone.c:800 builtin/fetch.c:1160
4265 #, c-format
@@ -4174,7 +4290,7 @@ msgstr "不能创建工作区目录 '%s'"
4290 #: builtin/clone.c:856
4291 #, c-format
4292 msgid "Cloning into bare repository '%s'...\n"
4177 -msgstr "克隆到纯版本库 '%s'...\n"
4293 +msgstr "克隆到纯仓库 '%s'...\n"
4294
4295 #: builtin/clone.c:858
4296 #, c-format
@@ -4191,7 +4307,7 @@ msgstr "--depth 在本地克隆被忽略,改为 file:// 协议试试。"
4307
4308 #: builtin/clone.c:903
4309 msgid "source repository is shallow, ignoring --local"
4194 -msgstr "源版本库是浅克隆,忽略 --local"
4310 +msgstr "源仓库是浅克隆,忽略 --local"
4311
4312 #: builtin/clone.c:908
4313 msgid "--local is ignored"
@@ -4209,7 +4325,7 @@ msgstr "远程分支 %s 在上游 %s 未发现"
4325
4326 #: builtin/clone.c:972
4327 msgid "You appear to have cloned an empty repository."
4212 -msgstr "您似乎克隆了一个空版本库。"
4328 +msgstr "您似乎克隆了一个空仓库。"
4329
4330 #: builtin/column.c:9
4331 msgid "git column [<options>]"
@@ -4245,11 +4361,11 @@ msgstr "--command 必须是第一个参数"
4361
4362 #: builtin/commit.c:37
4363 msgid "git commit [<options>] [--] <pathspec>..."
4248 -msgstr "git commit [<选项>] [--] <路径规则>..."
4364 +msgstr "git commit [<选项>] [--] <路径规格>..."
4365
4366 #: builtin/commit.c:42
4367 msgid "git status [<options>] [--] <pathspec>..."
4252 -msgstr "git status [<选项>] [--] <路径规则>..."
4368 +msgstr "git status [<选项>] [--] <路径规格>..."
4369
4370 #: builtin/commit.c:47
4371 msgid ""
@@ -4580,7 +4696,7 @@ msgstr "参数 --include/--only 不跟路径没有意义。"
4696
4697 #: builtin/commit.c:1195
4698 msgid "Clever... amending the last one with dirty index."
4583 -msgstr "聪明... 在索引不干净下修补最后的提交。"
4699 +msgstr "聪明... 用脏索引修补最后一个提交。"
4700
4701 #: builtin/commit.c:1197
4702 msgid "Explicit paths specified without -i or -o; assuming --only paths..."
@@ -4846,7 +4962,7 @@ msgid ""
4962 "new_index file. Check that disk is not full and quota is\n"
4963 "not exceeded, and then \"git reset HEAD\" to recover."
4964 msgstr ""
4849 -"版本库已更新,但无法写 new_index 文件。检查是否磁盘已满\n"
4965 +"仓库已更新,但无法写 new_index 文件。检查是否磁盘已满\n"
4966 "或磁盘配额已耗尽,然后执行 \"git reset HEAD\" 恢复。"
4967
4968 #: builtin/config.c:8
@@ -4867,7 +4983,7 @@ msgstr "使用系统级配置文件"
4983
4984 #: builtin/config.c:56
4985 msgid "use repository config file"
4870 -msgstr "使用版本库级配置文件"
4986 +msgstr "使用仓库级配置文件"
4987
4988 #: builtin/config.c:57
4989 msgid "use given config file"
@@ -4975,7 +5091,7 @@ msgstr "查询时参照 include 指令递归查找"
5091
5092 #: builtin/config.c:316
5093 msgid "unable to parse default color value"
4978 -msgstr "不能解析缺省的颜色值"
5094 +msgstr "不能解析默认颜色值"
5095
5096 #: builtin/config.c:457
5097 #, c-format
@@ -5131,7 +5247,7 @@ msgstr "标记"
5247
5248 #: builtin/describe.c:412
5249 msgid "append <mark> on dirty working tree (default: \"-dirty\")"
5134 -msgstr "若工作区脏(有变更)在结尾添加 <标记>(默认:\"-dirty\")"
5250 +msgstr "对于脏工作区,追加 <标记>(默认:\"-dirty\")"
5251
5252 #: builtin/describe.c:430
5253 msgid "--long is incompatible with --abbrev=0"
@@ -5157,7 +5273,7 @@ msgstr "无效选项:%s"
5273
5274 #: builtin/diff.c:358
5275 msgid "Not a git repository"
5160 -msgstr "不是一个 git 版本库"
5276 +msgstr "不是一个 git 仓库"
5277
5278 #: builtin/diff.c:401
5279 #, c-format
@@ -5167,7 +5283,7 @@ msgstr "提供了无效对象 '%s'。"
5283 #: builtin/diff.c:410
5284 #, c-format
5285 msgid "more than two blobs given: '%s'"
5170 -msgstr "提供了超过两个数据(blob)对象:'%s'"
5286 +msgstr "提供了超过两个数据对象:'%s'"
5287
5288 #: builtin/diff.c:417
5289 #, c-format
@@ -5216,11 +5332,11 @@ msgstr "跳过数据对象的输出"
5332
5333 #: builtin/fast-export.c:997
5334 msgid "refspec"
5219 -msgstr "引用表达式"
5335 +msgstr "引用规格"
5336
5337 #: builtin/fast-export.c:998
5338 msgid "Apply refspec to exported refs"
5223 -msgstr "对导出的引用应用引用表达式"
5339 +msgstr "对导出的引用应用引用规格"
5340
5341 #: builtin/fast-export.c:999
5342 msgid "anonymize output"
@@ -5228,7 +5344,7 @@ msgstr "匿名输出"
5344
5345 #: builtin/fetch.c:19
5346 msgid "git fetch [<options>] [<repository> [<refspec>...]]"
5231 -msgstr "git fetch [<选项>] [<版本库> [<引用规则>...]]"
5347 +msgstr "git fetch [<选项>] [<仓库> [<引用规格>...]]"
5348
5349 #: builtin/fetch.c:20
5350 msgid "git fetch [<options>] <group>"
@@ -5236,7 +5352,7 @@ msgstr "git fetch [<选项>] <组>"
5352
5353 #: builtin/fetch.c:21
5354 msgid "git fetch --multiple [<options>] [(<repository> | <group>)...]"
5239 -msgstr "git fetch --multiple [<选项>] [(<版本库> | <组>)...]"
5355 +msgstr "git fetch --multiple [<选项>] [(<仓库> | <组>)...]"
5356
5357 #: builtin/fetch.c:22
5358 msgid "git fetch --all [<options>]"
@@ -5297,7 +5413,7 @@ msgstr "深化浅克隆的历史"
5413
5414 #: builtin/fetch.c:115
5415 msgid "convert to a complete repository"
5300 -msgstr "转换为一个完整的版本库"
5416 +msgstr "转换为一个完整的仓库"
5417
5418 #: builtin/fetch.c:117 builtin/log.c:1208
5419 msgid "dir"
@@ -5430,7 +5546,7 @@ msgstr "(无)"
5546 #: builtin/fetch.c:822
5547 #, c-format
5548 msgid "Refusing to fetch into current branch %s of non-bare repository"
5433 -msgstr "拒绝获取到非纯版本库的当前分支 %s"
5549 +msgstr "拒绝获取到非纯仓库的当前分支 %s"
5550
5551 #: builtin/fetch.c:841
5552 #, c-format
@@ -5461,7 +5577,7 @@ msgstr "不能获取 %s"
5577 msgid ""
5578 "No remote repository specified. Please, specify either a URL or a\n"
5579 "remote name from which new revisions should be fetched."
5464 -msgstr "未指定远程版本库。请通过一个URL或远程版本库名指定,用以获取新提交。"
5580 +msgstr "未指定远程仓库。请通过一个URL或远程仓库名指定,用以获取新提交。"
5581
5582 #: builtin/fetch.c:1106
5583 msgid "You need to specify a tag name."
@@ -5473,15 +5589,15 @@ msgstr "--depth 和 --unshallow 不能同时使用"
5589
5590 #: builtin/fetch.c:1150
5591 msgid "--unshallow on a complete repository does not make sense"
5476 -msgstr "对于一个完整的版本库,参数 --unshallow 没有意义"
5592 +msgstr "对于一个完整的仓库,参数 --unshallow 没有意义"
5593
5594 #: builtin/fetch.c:1173
5595 msgid "fetch --all does not take a repository argument"
5480 -msgstr "fetch --all 不能带一个版本库参数"
5596 +msgstr "fetch --all 不能带一个仓库参数"
5597
5598 #: builtin/fetch.c:1175
5599 msgid "fetch --all does not make sense with refspecs"
5484 -msgstr "fetch --all 带引用规则没有任何意义"
5600 +msgstr "fetch --all 带引用规格没有任何意义"
5601
5602 #: builtin/fetch.c:1186
5603 #, c-format
@@ -5490,7 +5606,7 @@ msgstr "没有这样的远程或远程组:%s"
5606
5607 #: builtin/fetch.c:1194
5608 msgid "Fetching a group and specifying refspecs does not make sense"
5493 -msgstr "获取组并指定引用规则没有意义"
5609 +msgstr "获取组并指定引用规格没有意义"
5610
5611 #: builtin/fmt-merge-msg.c:13
5612 msgid ""
@@ -5657,12 +5773,12 @@ msgstr "强制执行 gc 即使另外一个 gc 正在执行"
5773 #: builtin/gc.c:327
5774 #, c-format
5775 msgid "Auto packing the repository in background for optimum performance.\n"
5660 -msgstr "自动在后台执行版本库打包以求最佳性能。\n"
5776 +msgstr "自动在后台执行仓库打包以求最佳性能。\n"
5777
5778 #: builtin/gc.c:329
5779 #, c-format
5780 msgid "Auto packing the repository for optimum performance.\n"
5665 -msgstr "自动打包版本库以求最佳性能。\n"
5781 +msgstr "自动打包仓库以求最佳性能。\n"
5782
5783 #: builtin/gc.c:330
5784 #, c-format
@@ -6192,7 +6308,7 @@ msgstr "不能读取现存对象 %s"
6308 #: builtin/index-pack.c:825
6309 #, c-format
6310 msgid "invalid blob object %s"
6195 -msgstr "无效的数据(blob)对象 %s"
6311 +msgstr "无效的数据对象 %s"
6312
6313 #: builtin/index-pack.c:839
6314 #, c-format
@@ -6451,7 +6567,7 @@ msgstr "不能移动 %s 至 %s"
6567 #: builtin/init-db.c:433
6568 #, c-format
6569 msgid "%s%s Git repository in %s%s\n"
6454 -msgstr "%s%s Git 版本库于 %s%s\n"
6570 +msgstr "%s%s Git 仓库于 %s%s\n"
6571
6572 #: builtin/init-db.c:434
6573 msgid "Reinitialized existing"
@@ -6480,7 +6596,7 @@ msgstr "权限"
6596
6597 #: builtin/init-db.c:506
6598 msgid "specify that the git repository is to be shared amongst several users"
6483 -msgstr "指定 git 版本库是多个用户之间共享的"
6599 +msgstr "指定 git 仓库是多个用户之间共享的"
6600
6601 #: builtin/init-db.c:508 builtin/prune-packed.c:57 builtin/repack.c:171
6602 msgid "be quiet"
@@ -7149,7 +7265,7 @@ msgstr "没有当前分支。"
7265
7266 #: builtin/merge.c:937
7267 msgid "No remote for the current branch."
7152 -msgstr "当前分支没有对应的远程版本库。"
7268 +msgstr "当前分支没有对应的远程仓库。"
7269
7270 #: builtin/merge.c:939
7271 msgid "No default upstream defined for the current branch."
@@ -7325,7 +7441,7 @@ msgstr "第一个是其他的祖先提交么?"
7441
7442 #: builtin/merge-base.c:222
7443 msgid "find where <commit> forked from reflog of <ref>"
7328 -msgstr "查找 <提交> 从<引用>日志的何处分支的"
7444 +msgstr "根据引用日志 <引用> 查找 <提交> 的派生处"
7445
7446 #: builtin/merge-file.c:8
7447 msgid ""
@@ -7394,7 +7510,7 @@ msgstr "目录 %s 在索引中并且不是子模组?"
7510
7511 #: builtin/mv.c:71
7512 msgid "Please stage your changes to .gitmodules or stash them to proceed"
7397 -msgstr "请将您的修改缓存到 .gitmodules 中或保存进度后再继续"
7513 +msgstr "请将您的修改暂存到 .gitmodules 中或保存进度后再继续"
7514
7515 #: builtin/mv.c:89
7516 #, c-format
@@ -7915,7 +8031,7 @@ msgstr "每个输出包的最大尺寸"
8031
8032 #: builtin/pack-objects.c:2633
8033 msgid "ignore borrowed objects from alternate object store"
7918 -msgstr "忽略从替代对象存储里借用对象"
8034 +msgstr "忽略从备用对象存储里借用对象"
8035
8036 #: builtin/pack-objects.c:2635
8037 msgid "ignore packed objects"
@@ -7999,7 +8115,7 @@ msgstr "创建精简包"
8115
8116 #: builtin/pack-objects.c:2678
8117 msgid "create packs suitable for shallow fetches"
8002 -msgstr "创建适合浅克隆版本库获取的包"
8118 +msgstr "创建适合浅克隆仓库获取的包"
8119
8120 #: builtin/pack-objects.c:2680
8121 msgid "ignore packs that have companion .keep file"
@@ -8063,7 +8179,7 @@ msgstr "使早于给定时间的对象过期"
8179
8180 #: builtin/push.c:14
8181 msgid "git push [<options>] [<repository> [<refspec>...]]"
8066 -msgstr "git push [<选项>] [<版本库> [<引用规则>...]]"
8182 +msgstr "git push [<选项>] [<仓库> [<引用规格>...]]"
8183
8184 #: builtin/push.c:85
8185 msgid "tag shorthand without <tag>"
@@ -8184,7 +8300,7 @@ msgstr ""
8300 "当 push.default 设置为 'matching' 后,git 将推送和远程同名的所有\n"
8301 "本地分支。\n"
8302 "\n"
8187 -"从 Git 2.0 开始,Git 缺省采用更为保守的 'simple' 模式,只推送当前\n"
8303 +"从 Git 2.0 开始,Git 默认采用更为保守的 'simple' 模式,只推送当前\n"
8304 "分支到远程关联的同名分支,即 'git push' 推送当前分支。\n"
8305 "\n"
8306 "参见 'git help config' 并查找 'push.default' 以获取更多信息。\n"
@@ -8194,7 +8310,7 @@ msgstr ""
8310 #: builtin/push.c:272
8311 msgid ""
8312 "You didn't specify any refspecs to push, and push.default is \"nothing\"."
8197 -msgstr "您没有为推送指定任何引用规则,并且 push.default 为 \"nothing\"。"
8313 +msgstr "您没有为推送指定任何引用规格,并且 push.default 为 \"nothing\"。"
8314
8315 #: builtin/push.c:279
8316 msgid ""
@@ -8226,8 +8342,8 @@ msgid ""
8342 "(e.g., 'git pull ...') before pushing again.\n"
8343 "See the 'Note about fast-forwards' in 'git push --help' for details."
8344 msgstr ""
8229 -"更新被拒绝,因为远程版本库包含您本地尚不存在的提交。这通常是因为另外\n"
8230 -"一个版本库已向该引用进行了推送。再次推送前,您可能需要先整合远程变更\n"
8345 +"更新被拒绝,因为远程仓库包含您本地尚不存在的提交。这通常是因为另外\n"
8346 +"一个仓库已向该引用进行了推送。再次推送前,您可能需要先整合远程变更\n"
8347 "(如 'git pull ...')。\n"
8348 "详见 'git push --help' 中的 'Note about fast-forwards' 小节。"
8349
@@ -8257,7 +8373,7 @@ msgstr "无法推送一些引用到 '%s'"
8373 #: builtin/push.c:394
8374 #, c-format
8375 msgid "bad repository '%s'"
8260 -msgstr "坏的版本库 '%s'"
8376 +msgstr "坏的仓库 '%s'"
8377
8378 #: builtin/push.c:395
8379 msgid ""
@@ -8272,11 +8388,11 @@ msgid ""
8388 " git push <name>\n"
8389 msgstr ""
8390 "没有配置推送目标。\n"
8275 -"或通过命令行指定URL,或用下面命令配置一个远程版本库\n"
8391 +"或通过命令行指定URL,或用下面命令配置一个远程仓库\n"
8392 "\n"
8393 " git remote add <名称> <地址>\n"
8394 "\n"
8279 -"然后使用该远程版本库名执行推送\n"
8395 +"然后使用该远程仓库名执行推送\n"
8396 "\n"
8397 " git push <名称>\n"
8398
@@ -8286,7 +8402,7 @@ msgstr "--all 和 --tags 不兼容"
8402
8403 #: builtin/push.c:411
8404 msgid "--all can't be combined with refspecs"
8289 -msgstr "--all 不能和引用规则同时使用"
8405 +msgstr "--all 不能和引用规格同时使用"
8406
8407 #: builtin/push.c:416
8408 msgid "--mirror and --tags are incompatible"
@@ -8294,7 +8410,7 @@ msgstr "--mirror 和 --tags 不兼容"
8410
8411 #: builtin/push.c:417
8412 msgid "--mirror can't be combined with refspecs"
8297 -msgstr "--mirror 不能和引用规则同时使用"
8413 +msgstr "--mirror 不能和引用规格同时使用"
8414
8415 #: builtin/push.c:422
8416 msgid "--all and --mirror are incompatible"
@@ -8302,7 +8418,7 @@ msgstr "--all 和 --mirror 不兼容"
8418
8419 #: builtin/push.c:502
8420 msgid "repository"
8305 -msgstr "版本库"
8421 +msgstr "仓库"
8422
8423 #: builtin/push.c:503
8424 msgid "push all refs"
@@ -8404,11 +8520,11 @@ msgstr "读取之余再执行一个合并"
8520
8521 #: builtin/read-tree.c:119
8522 msgid "3-way merge if no file level merging required"
8407 -msgstr "如果没有文件级合并需要,执行三路合并"
8523 +msgstr "如果没有文件级合并需要,执行三方合并"
8524
8525 #: builtin/read-tree.c:121
8526 msgid "3-way merge in presence of adds and removes"
8411 -msgstr "存在添加和删除时,也执行三路合并"
8527 +msgstr "存在添加和删除时,也执行三方合并"
8528
8529 #: builtin/read-tree.c:123
8530 msgid "same as -m, but discard unmerged entries"
@@ -8609,7 +8725,7 @@ msgstr "无法设置 master '%s'"
8725 #: builtin/remote.c:335
8726 #, c-format
8727 msgid "Could not get fetch map for refspec %s"
8612 -msgstr "无法得到引用规则 %s 的获取列表"
8728 +msgstr "无法得到引用规格 %s 的获取列表"
8729
8730 #: builtin/remote.c:436 builtin/remote.c:444
8731 msgid "(matching)"
@@ -8646,7 +8762,7 @@ msgid ""
8762 "\t%s\n"
8763 "\tPlease update the configuration manually if necessary."
8764 msgstr ""
8649 -"没有更新非默认的获取引用规则\n"
8765 +"没有更新非默认的获取引用规格\n"
8766 "\t%s\n"
8767 "\t如果必要请手动更新配置。"
8768
@@ -9226,7 +9342,7 @@ msgstr "不能带路径进行%s重置。"
9342 #: builtin/reset.c:343
9343 #, c-format
9344 msgid "%s reset is not allowed in a bare repository"
9229 -msgstr "不能对纯版本库进行%s重置"
9345 +msgstr "不能对纯仓库进行%s重置"
9346
9347 #: builtin/reset.c:347
9348 msgid "-N can only be used with --mixed"
@@ -9234,7 +9350,7 @@ msgstr "-N 只能和 --mixed 同时使用"
9350
9351 #: builtin/reset.c:364
9352 msgid "Unstaged changes after reset:"
9237 -msgstr "重置后撤出暂存区的变更:"
9353 +msgstr "重置后取消暂存的变更:"
9354
9355 #: builtin/reset.c:370
9356 #, c-format
@@ -9407,8 +9523,8 @@ msgstr ""
9523 #: builtin/rm.c:239
9524 msgid "the following file has changes staged in the index:"
9525 msgid_plural "the following files have changes staged in the index:"
9410 -msgstr[0] "如下文件相对索引区的内容有修改"
9411 -msgstr[1] "如下文件相对索引区的内容有修改"
9526 +msgstr[0] "下列文件索引中有变更"
9527 +msgstr[1] "下列文件索引中有变更"
9528
9529 #: builtin/rm.c:243 builtin/rm.c:254
9530 msgid ""
@@ -9609,7 +9725,7 @@ msgstr "不打印结果到标准输出(例如与 --verify 参数共用)"
9725
9726 #: builtin/show-ref.c:187
9727 msgid "show refs from stdin that aren't in local repository"
9612 -msgstr "显示从标准输入中读入的不在本地版本库中的引用"
9728 +msgstr "显示从标准输入中读入的不在本地仓库中的引用"
9729
9730 #: builtin/symbolic-ref.c:7
9731 msgid "git symbolic-ref [<options>] <name> [<ref>]"
@@ -10255,11 +10371,11 @@ msgstr "切换分支或恢复工作区文件"
10371
10372 #: common-cmds.h:22
10373 msgid "Clone a repository into a new directory"
10258 -msgstr "克隆一个版本库到一个新目录"
10374 +msgstr "克隆一个仓库到一个新目录"
10375
10376 #: common-cmds.h:23
10377 msgid "Record changes to the repository"
10262 -msgstr "记录变更到版本库"
10378 +msgstr "记录变更到仓库"
10379
10380 #: common-cmds.h:24
10381 msgid "Show changes between commits, commit and working tree, etc"
@@ -10267,7 +10383,7 @@ msgstr "显示提交之间、提交和工作区之间等的差异"
10383
10384 #: common-cmds.h:25
10385 msgid "Download objects and refs from another repository"
10270 -msgstr "从另外一个版本库下载对象和引用"
10386 +msgstr "从另外一个仓库下载对象和引用"
10387
10388 #: common-cmds.h:26
10389 msgid "Print lines matching a pattern"
@@ -10275,7 +10391,7 @@ msgstr "输出和模式匹配的行"
10391
10392 #: common-cmds.h:27
10393 msgid "Create an empty Git repository or reinitialize an existing one"
10278 -msgstr "创建一个空的 Git 版本库或重新初始化一个已存在的版本库"
10394 +msgstr "创建一个空的 Git 仓库或重新初始化一个已存在的仓库"
10395
10396 #: common-cmds.h:28
10397 msgid "Show commit logs"
@@ -10291,7 +10407,7 @@ msgstr "移动或重命名一个文件、目录或符号链接"
10407
10408 #: common-cmds.h:31
10409 msgid "Fetch from and integrate with another repository or a local branch"
10294 -msgstr "获取并整合另外的版本库或一个本地分支"
10410 +msgstr "获取并整合另外的仓库或一个本地分支"
10411
10412 #: common-cmds.h:32
10413 msgid "Update remote refs along with associated objects"
@@ -10368,15 +10484,15 @@ msgstr ""
10484
10485 #: git-am.sh:126
10486 msgid "Cannot fall back to three-way merge."
10371 -msgstr "无法求助于三路合并。"
10487 +msgstr "无法求助于三方合并。"
10488
10489 #: git-am.sh:142
10490 msgid "Repository lacks necessary blobs to fall back on 3-way merge."
10375 -msgstr "版本库缺乏必要的数据(blob)对象以进行三路合并。"
10491 +msgstr "仓库缺乏必要的数据对象以进行三方合并。"
10492
10493 #: git-am.sh:144
10494 msgid "Using index info to reconstruct a base tree..."
10379 -msgstr "使用索引来重建一个(三路合并的)基础目录树..."
10495 +msgstr "使用索引来重建一个(三方合并的)基础目录树..."
10496
10497 #: git-am.sh:159
10498 msgid ""
@@ -10384,11 +10500,11 @@ msgid ""
10500 "It does not apply to blobs recorded in its index."
10501 msgstr ""
10502 "您是否曾手动编辑过您的补丁?\n"
10387 -"无法应用补丁到索引中的数据(blob)对象上。"
10503 +"无法应用补丁到索引中的数据对象上。"
10504
10505 #: git-am.sh:168
10506 msgid "Falling back to patching base and 3-way merge..."
10391 -msgstr "转而在基础版本上打补丁及进行三路合并..."
10507 +msgstr "转而在基础版本上打补丁及进行三方合并..."
10508
10509 #: git-am.sh:185
10510 msgid "Failed to merge in the changes."
@@ -10440,7 +10556,7 @@ msgstr "解决操作未进行,我们不会继续。"
10556 #: git-am.sh:635
10557 #, sh-format
10558 msgid "Dirty index: cannot apply patches (dirty: $files)"
10443 -msgstr "脏的索引:不能应用补丁(脏文件:$files)"
10559 +msgstr "脏索引:不能应用补丁(脏文件:$files)"
10560
10561 #: git-am.sh:747
10562 #, sh-format
@@ -10855,7 +10971,7 @@ msgstr "变更从 $mb 到 $onto:"
10971
10972 #: git-rebase.sh:610
10973 msgid "First, rewinding head to replay your work on top of it..."
10858 -msgstr "首先,重置头指针以便在上面重放您的工作..."
10974 +msgstr "首先,回退分支以便在上面重放您的工作..."
10975
10976 #: git-rebase.sh:620
10977 #, sh-format
@@ -10977,7 +11093,7 @@ msgstr "不能保存索引树"
11093
11094 #: git-stash.sh:507
11095 msgid "Cannot unstage modified files"
10980 -msgstr "无法还原修改的文件"
11096 +msgstr "无法将修改的文件取消暂存"
11097
11098 #: git-stash.sh:522
11099 msgid "Index was not unstashed."
@@ -11028,7 +11144,7 @@ msgstr "只能在工作区的顶级目录中使用相对路径"
11144 #: git-submodule.sh:416
11145 #, sh-format
11146 msgid "repo URL: '$repo' must be absolute or begin with ./|../"
11031 -msgstr "版本库URL:'$repo' 必须是绝对路径或以 ./|../ 起始"
11147 +msgstr "仓库URL:'$repo' 必须是绝对路径或以 ./|../ 起始"
11148
11149 #: git-submodule.sh:433
11150 #, sh-format
@@ -11049,17 +11165,17 @@ msgstr ""
11165 #: git-submodule.sh:455
11166 #, sh-format
11167 msgid "Adding existing repo at '$sm_path' to the index"
11052 -msgstr "添加位于 '$sm_path' 的现存版本库到索引"
11168 +msgstr "添加位于 '$sm_path' 的现存仓库到索引"
11169
11170 #: git-submodule.sh:457
11171 #, sh-format
11172 msgid "'$sm_path' already exists and is not a valid git repo"
11057 -msgstr "'$sm_path' 已存在且不是一个有效的 git 版本库"
11173 +msgstr "'$sm_path' 已存在且不是一个有效的 git 仓库"
11174
11175 #: git-submodule.sh:465
11176 #, sh-format
11177 msgid "A git directory for '$sm_name' is found locally with remote(s):"
11062 -msgstr "本地发现 '$sm_name' 的一个 git 目录,与其对应的远程版本库:"
11178 +msgstr "本地发现 '$sm_name' 的一个 git 目录,与其对应的远程仓库:"
11179
11180 #: git-submodule.sh:467
11181 #, sh-format
@@ -11071,7 +11187,7 @@ msgstr "如果您想重用此本地 git 目录而不是重新克隆自"
11187 #, sh-format
11188 msgid ""
11189 "use the '--force' option. If the local git directory is not the correct repo"
11074 -msgstr "使用 '--force' 参数。如果本地 git 目录不是正确的版本库"
11190 +msgstr "使用 '--force' 参数。如果本地 git 目录不是正确的仓库"
11191
11192 #: git-submodule.sh:470
11193 #, sh-format