l10n: zh_CN: updated translation for 2.49

Helped-by: 依云 <lilydjwg@gmail.com> Helped-by: Jiang Xin <zhiyou.jx@alibaba-inc.com> Signed-off-by: Teng Long <dyroneteng@gmail.com>

Teng Long committed Mar 9, 2025 at 20:32 UTC ed99a5d9b8d3d7ac0074ffcffc36b955edd17954
1 file changed +370 -170
po/zh_CN.po
+370 -170
@@ -93,6 +93,7 @@
93 # pack index | 包索引
94 # packfile | 包文件
95 # parent | 父提交
96 +# partial clone | 部分克隆
97 # patch | 补丁
98 # pathspec | 路径规格
99 # pattern | 模式
@@ -154,8 +155,8 @@ msgid ""
155 msgstr ""
156 "Project-Id-Version: Git\n"
157 "Report-Msgid-Bugs-To: Git Mailing List <git@vger.kernel.org>\n"
157 -"POT-Creation-Date: 2025-01-02 20:43+0800\n"
158 -"PO-Revision-Date: 2025-01-05 19:01+0800\n"
158 +"POT-Creation-Date: 2025-03-09 20:34+0800\n"
159 +"PO-Revision-Date: 2025-03-12 14:47+0800\n"
160 "Last-Translator: Teng Long <dyroneteng@gmail.com>\n"
161 "Language-Team: GitHub <https://github.com/dyrone/git/>\n"
162 "Language: zh_CN\n"
@@ -2962,6 +2963,22 @@ msgstr "git archive:协议错误"
2963 msgid "git archive: expected a flush"
2964 msgstr "git archive:应有一个 flush 包"
2965
2966 +#: builtin/backfill.c
2967 +msgid "git backfill [--min-batch-size=<n>] [--[no-]sparse]"
2968 +msgstr "git backfill [--min-batch-size=<n>] [--[no-]sparse]"
2969 +
2970 +#: builtin/backfill.c
2971 +msgid "problem loading sparse-checkout"
2972 +msgstr "加载稀疏检出时出现问题"
2973 +
2974 +#: builtin/backfill.c
2975 +msgid "Minimum number of objects to request at a time"
2976 +msgstr "单次请求的最少对象数量"
2977 +
2978 +#: builtin/backfill.c
2979 +msgid "Restrict the missing objects to the current sparse-checkout"
2980 +msgstr "将缺少的对象限制在当前的稀疏检出中"
2981 +
2982 #: builtin/bisect.c
2983 msgid ""
2984 "git bisect start [--term-(new|bad)=<term> --term-(old|good)=<term>] [--no-"
@@ -3381,7 +3398,7 @@ msgstr "显示作者的邮箱而不是名字(默认:关闭)"
3398 msgid "ignore whitespace differences"
3399 msgstr "忽略空白差异"
3400
3384 -#: builtin/blame.c builtin/log.c
3401 +#: builtin/blame.c builtin/clone.c builtin/log.c
3402 msgid "rev"
3403 msgstr "版本"
3404
@@ -3803,8 +3820,8 @@ msgstr "HEAD 没有位于 /refs/heads 之下!"
3820
3821 #: builtin/branch.c
3822 msgid ""
3806 -"branch with --recurse-submodules can only be used if submodule."
3807 -"propagateBranches is enabled"
3823 +"branch with --recurse-submodules can only be used if "
3824 +"submodule.propagateBranches is enabled"
3825 msgstr ""
3826 "带有 --recurse-submodules 的分支只能在 submodule.propagateBranches 启用时使用"
3827
@@ -3891,11 +3908,6 @@ msgstr "不再支持选项 '--set-upstream'。请使用 '--track' 或 '--set-ups
3908 msgid "git version:\n"
3909 msgstr "git 版本:\n"
3910
3894 -#: builtin/bugreport.c
3895 -#, c-format
3896 -msgid "uname() failed with error '%s' (%d)\n"
3897 -msgstr "uname() 失败,错误为 '%s'(%d)\n"
3898 -
3911 #: builtin/bugreport.c
3912 msgid "compiler info: "
3913 msgstr "编译器信息:"
@@ -5134,8 +5146,112 @@ msgid "clean.requireForce is true and -f not given: refusing to clean"
5146 msgstr "clean.requireForce 设置为 true 且未提供 -f 选项:拒绝执行清理动作"
5147
5148 #: builtin/clone.c
5137 -msgid "git clone [<options>] [--] <repo> [<dir>]"
5138 -msgstr "git clone [<选项>] [--] <仓库> [<路径>]"
5149 +#, c-format
5150 +msgid "info: Could not add alternate for '%s': %s\n"
5151 +msgstr "info: 不能为 '%s' 添加一个备用:%s\n"
5152 +
5153 +#: builtin/clone.c builtin/diff.c builtin/rm.c grep.c setup.c
5154 +#, c-format
5155 +msgid "failed to stat '%s'"
5156 +msgstr "无法对 '%s' 调用 stat"
5157 +
5158 +#: builtin/clone.c
5159 +#, c-format
5160 +msgid "%s exists and is not a directory"
5161 +msgstr "%s 存在且不是一个目录"
5162 +
5163 +#: builtin/clone.c
5164 +#, c-format
5165 +msgid "'%s' is a symlink, refusing to clone with --local"
5166 +msgstr "'%s' 为符号链接,拒绝用 --local 克隆"
5167 +
5168 +#: builtin/clone.c
5169 +#, c-format
5170 +msgid "failed to start iterator over '%s'"
5171 +msgstr "无法在 '%s' 上启动迭代器"
5172 +
5173 +#: builtin/clone.c
5174 +#, c-format
5175 +msgid "symlink '%s' exists, refusing to clone with --local"
5176 +msgstr "符号链接 '%s' 存在,拒绝用 --local 克隆"
5177 +
5178 +#: builtin/clone.c compat/precompose_utf8.c
5179 +#, c-format
5180 +msgid "failed to unlink '%s'"
5181 +msgstr "无法删除 '%s'"
5182 +
5183 +#: builtin/clone.c
5184 +#, c-format
5185 +msgid "hardlink cannot be checked at '%s'"
5186 +msgstr "无法检查 '%s' 处的硬链接"
5187 +
5188 +#: builtin/clone.c
5189 +#, c-format
5190 +msgid "hardlink different from source at '%s'"
5191 +msgstr "硬链接与 '%s' 处的来源不同"
5192 +
5193 +#: builtin/clone.c
5194 +#, c-format
5195 +msgid "failed to create link '%s'"
5196 +msgstr "无法创建链接 '%s'"
5197 +
5198 +#: builtin/clone.c
5199 +#, c-format
5200 +msgid "failed to copy file to '%s'"
5201 +msgstr "无法拷贝文件至 '%s'"
5202 +
5203 +#: builtin/clone.c refs/files-backend.c
5204 +#, c-format
5205 +msgid "failed to iterate over '%s'"
5206 +msgstr "无法在 '%s' 上迭代"
5207 +
5208 +#: builtin/clone.c
5209 +#, c-format
5210 +msgid "done.\n"
5211 +msgstr "完成。\n"
5212 +
5213 +#: builtin/clone.c
5214 +msgid ""
5215 +"Clone succeeded, but checkout failed.\n"
5216 +"You can inspect what was checked out with 'git status'\n"
5217 +"and retry with 'git restore --source=HEAD :/'\n"
5218 +msgstr ""
5219 +"克隆成功,但是检出失败。\n"
5220 +"您可以通过 'git status' 检查哪些已被检出,然后使用命令\n"
5221 +"'git restore --source=HEAD :/' 重试\n"
5222 +
5223 +#: builtin/clone.c fetch-pack.c
5224 +msgid "remote did not send all necessary objects"
5225 +msgstr "远程没有发送所有必需的对象"
5226 +
5227 +#: builtin/clone.c
5228 +#, c-format
5229 +msgid "unable to update %s"
5230 +msgstr "不能更新 %s"
5231 +
5232 +#: builtin/clone.c
5233 +msgid "failed to initialize sparse-checkout"
5234 +msgstr "无法初始化稀疏检出"
5235 +
5236 +#: builtin/clone.c
5237 +msgid "remote HEAD refers to nonexistent ref, unable to checkout"
5238 +msgstr "远程 HEAD 指向一个不存在的引用,无法检出"
5239 +
5240 +#: builtin/clone.c
5241 +msgid "unable to checkout working tree"
5242 +msgstr "不能检出工作区"
5243 +
5244 +#: builtin/clone.c
5245 +msgid "unable to write parameters to config file"
5246 +msgstr "无法将参数写入配置文件"
5247 +
5248 +#: builtin/clone.c
5249 +msgid "cannot repack to clean up"
5250 +msgstr "无法执行 repack 来清理"
5251 +
5252 +#: builtin/clone.c
5253 +msgid "cannot unlink temporary alternates file"
5254 +msgstr "无法删除临时的备用文件"
5255
5256 #: builtin/clone.c
5257 msgid "don't clone shallow repository"
@@ -5207,6 +5323,10 @@ msgstr "使用 <名称> 而不是 'origin' 去跟踪上游"
5323 msgid "checkout <branch> instead of the remote's HEAD"
5324 msgstr "检出 <分支> 而不是远程 HEAD"
5325
5326 +#: builtin/clone.c
5327 +msgid "clone single revision <rev> and check out"
5328 +msgstr "克隆单个版本 <版本> 并检出"
5329 +
5330 #: builtin/clone.c
5331 msgid "path to git-upload-pack on the remote"
5332 msgstr "远程 git-upload-pack 路径"
@@ -5236,8 +5356,8 @@ msgid "clone only one branch, HEAD or --branch"
5356 msgstr "只克隆一个分支、HEAD 或 --branch"
5357
5358 #: builtin/clone.c
5239 -msgid "don't clone any tags, and make later fetches not to follow them"
5240 -msgstr "不要克隆任何标签,并且后续获取操作也不下载它们"
5359 +msgid "clone tags, and make later fetches not to follow them"
5360 +msgstr "克隆标签,并在后续获取时不跟随它们"
5361
5362 #: builtin/clone.c
5363 msgid "any cloned submodules will be shallow"
@@ -5294,117 +5414,8 @@ msgid "a URI for downloading bundles before fetching from origin remote"
5414 msgstr "用于在从 origin 远程获取之前下载归档包的 URI"
5415
5416 #: builtin/clone.c
5297 -#, c-format
5298 -msgid "info: Could not add alternate for '%s': %s\n"
5299 -msgstr "info: 不能为 '%s' 添加一个备用:%s\n"
5300 -
5301 -#: builtin/clone.c builtin/diff.c builtin/rm.c grep.c setup.c
5302 -#, c-format
5303 -msgid "failed to stat '%s'"
5304 -msgstr "无法对 '%s' 调用 stat"
5305 -
5306 -#: builtin/clone.c
5307 -#, c-format
5308 -msgid "%s exists and is not a directory"
5309 -msgstr "%s 存在且不是一个目录"
5310 -
5311 -#: builtin/clone.c
5312 -#, c-format
5313 -msgid "'%s' is a symlink, refusing to clone with --local"
5314 -msgstr "'%s' 为符号链接,拒绝用 --local 克隆"
5315 -
5316 -#: builtin/clone.c
5317 -#, c-format
5318 -msgid "failed to start iterator over '%s'"
5319 -msgstr "无法在 '%s' 上启动迭代器"
5320 -
5321 -#: builtin/clone.c
5322 -#, c-format
5323 -msgid "symlink '%s' exists, refusing to clone with --local"
5324 -msgstr "符号链接 '%s' 存在,拒绝用 --local 克隆"
5325 -
5326 -#: builtin/clone.c compat/precompose_utf8.c
5327 -#, c-format
5328 -msgid "failed to unlink '%s'"
5329 -msgstr "无法删除 '%s'"
5330 -
5331 -#: builtin/clone.c
5332 -#, c-format
5333 -msgid "hardlink cannot be checked at '%s'"
5334 -msgstr "无法检查 '%s' 处的硬链接"
5335 -
5336 -#: builtin/clone.c
5337 -#, c-format
5338 -msgid "hardlink different from source at '%s'"
5339 -msgstr "硬链接与 '%s' 处的源不同"
5340 -
5341 -#: builtin/clone.c
5342 -#, c-format
5343 -msgid "failed to create link '%s'"
5344 -msgstr "无法创建链接 '%s'"
5345 -
5346 -#: builtin/clone.c
5347 -#, c-format
5348 -msgid "failed to copy file to '%s'"
5349 -msgstr "无法拷贝文件至 '%s'"
5350 -
5351 -#: builtin/clone.c refs/files-backend.c
5352 -#, c-format
5353 -msgid "failed to iterate over '%s'"
5354 -msgstr "无法在 '%s' 上迭代"
5355 -
5356 -#: builtin/clone.c
5357 -#, c-format
5358 -msgid "done.\n"
5359 -msgstr "完成。\n"
5360 -
5361 -#: builtin/clone.c
5362 -msgid ""
5363 -"Clone succeeded, but checkout failed.\n"
5364 -"You can inspect what was checked out with 'git status'\n"
5365 -"and retry with 'git restore --source=HEAD :/'\n"
5366 -msgstr ""
5367 -"克隆成功,但是检出失败。\n"
5368 -"您可以通过 'git status' 检查哪些已被检出,然后使用命令\n"
5369 -"'git restore --source=HEAD :/' 重试\n"
5370 -
5371 -#: builtin/clone.c
5372 -#, c-format
5373 -msgid "Could not find remote branch %s to clone."
5374 -msgstr "不能发现要克隆的远程分支 %s。"
5375 -
5376 -#: builtin/clone.c fetch-pack.c
5377 -msgid "remote did not send all necessary objects"
5378 -msgstr "远程没有发送所有必需的对象"
5379 -
5380 -#: builtin/clone.c
5381 -#, c-format
5382 -msgid "unable to update %s"
5383 -msgstr "不能更新 %s"
5384 -
5385 -#: builtin/clone.c
5386 -msgid "failed to initialize sparse-checkout"
5387 -msgstr "无法初始化稀疏检出"
5388 -
5389 -#: builtin/clone.c
5390 -msgid "remote HEAD refers to nonexistent ref, unable to checkout"
5391 -msgstr "远程 HEAD 指向一个不存在的引用,无法检出"
5392 -
5393 -#: builtin/clone.c
5394 -msgid "unable to checkout working tree"
5395 -msgstr "不能检出工作区"
5396 -
5397 -#: builtin/clone.c
5398 -msgid "unable to write parameters to config file"
5399 -msgstr "无法将参数写入配置文件"
5400 -
5401 -#: builtin/clone.c
5402 -msgid "cannot repack to clean up"
5403 -msgstr "无法执行 repack 来清理"
5404 -
5405 -#: builtin/clone.c
5406 -msgid "cannot unlink temporary alternates file"
5407 -msgstr "无法删除临时的 alternates 文件"
5417 +msgid "git clone [<options>] [--] <repo> [<dir>]"
5418 +msgstr "git clone [<选项>] [--] <仓库> [<目录>]"
5419
5420 #: builtin/clone.c
5421 msgid "Too many arguments."
@@ -5530,6 +5541,11 @@ msgstr "远程传输报告错误"
5541 msgid "Remote branch %s not found in upstream %s"
5542 msgstr "远程分支 %s 在上游 %s 未发现"
5543
5544 +#: builtin/clone.c
5545 +#, c-format
5546 +msgid "Remote revision %s not found in upstream %s"
5547 +msgstr "在上游 %2$s 未发现远程版本 %1$s"
5548 +
5549 #: builtin/clone.c
5550 msgid "You appear to have cloned an empty repository."
5551 msgstr "您似乎克隆了一个空仓库。"
@@ -5593,7 +5609,8 @@ msgstr ""
5609 "[no-]progress]\n"
5610 " <切分选项>"
5611
5596 -#: builtin/commit-graph.c builtin/fetch.c builtin/log.c builtin/repack.c
5612 +#: builtin/commit-graph.c builtin/fetch.c builtin/gc.c builtin/log.c
5613 +#: builtin/repack.c
5614 msgid "dir"
5615 msgstr "目录"
5616
@@ -5751,7 +5768,7 @@ msgstr "git commit-tree:无法读取"
5768
5769 #: builtin/commit.c
5770 msgid ""
5754 -"git commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n"
5771 +"git commit [-a | --interactive | --patch] [-s] [-v] [-u[<mode>]] [--amend]\n"
5772 " [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|"
5773 "reword):]<commit>]\n"
5774 " [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n"
@@ -5761,7 +5778,7 @@ msgid ""
5778 " [(--trailer <token>[(=|:)<value>])...] [-S[<keyid>]]\n"
5779 " [--] [<pathspec>...]"
5780 msgstr ""
5764 -"git commit [-a | --interactive | --patch] [-s] [-v] [-u<模式>] [--amend]\n"
5781 +"git commit [-a | --interactive | --patch] [-s] [-v] [-u[<模式>]] [--amend]\n"
5782 " [--dry-run] [(-c | -C | --squash) <提交> | --fixup [(amend|"
5783 "reword):]<提交>]\n"
5784 " [-F <文件> | -m <消息>] [--reset-author] [--allow-empty]\n"
@@ -7473,14 +7490,13 @@ msgid ""
7490 "Run 'git remote set-head %s %s' to follow the change, or set\n"
7491 "'remote.%s.followRemoteHEAD' configuration option to a different value\n"
7492 "if you do not want to see this message. Specifically running\n"
7476 -"'git config set remote.%s.followRemoteHEAD %s' will disable the warning\n"
7477 -"until the remote changes HEAD to something else."
7493 +"'git config set remote.%s.followRemoteHEAD warn-if-not-branch-%s'\n"
7494 +"will disable the warning until the remote changes HEAD to something else."
7495 msgstr ""
7479 -"运行 'git remote set-head %s %s' 以跟随更改,或者\n"
7480 -"如果您不想看到此消息,则将'remote.%s.followRemoteHEAD' 配置选项设置为不同的"
7481 -"值。\n"
7482 -"特别地,运行 'git config set remote.%s.followRemoteHEAD %s' 将禁用警告,直到"
7483 -"远程将 HEAD 更改为其他内容。\""
7496 +"运行 'git remote set-head %s %s' 同步变更,或通过配置选项\n"
7497 +"'remote.%s.followRemoteHEAD' 设置为其他值以屏蔽此提示。具体可通过\n"
7498 +"运行命令 'git config remote.%s.followRemoteHEAD warn-if-not-branch-%s'\n"
7499 +"以禁用该警告,直到远程将 HEAD 更改为其他内容。"
7500
7501 #: builtin/fetch.c
7502 msgid "multiple branches detected, incompatible with --set-upstream"
@@ -7721,8 +7737,8 @@ msgstr "协议不支持 --negotiate-only,退出"
7737
7738 #: builtin/fetch.c
7739 msgid ""
7724 -"--filter can only be used with the remote configured in extensions."
7725 -"partialclone"
7740 +"--filter can only be used with the remote configured in "
7741 +"extensions.partialclone"
7742 msgstr "只可以将 --filter 用于在 extensions.partialclone 中配置的远程仓库"
7743
7744 #: builtin/fetch.c
@@ -8328,6 +8344,10 @@ msgstr "强制执行 gc 即使另外一个 gc 正在执行"
8344 msgid "repack all other packs except the largest pack"
8345 msgstr "除了最大的包之外,对所有其它包文件重新打包"
8346
8347 +#: builtin/gc.c builtin/repack.c
8348 +msgid "pack prefix to store a pack containing pruned objects"
8349 +msgstr "用于存储修剪对象的包前缀"
8350 +
8351 #: builtin/gc.c
8352 #, c-format
8353 msgid "failed to parse gc.logExpiry value %s"
@@ -9327,6 +9347,11 @@ msgstr "无法完成 pack-objects 来重新打包本地链接"
9347 msgid "Cannot come back to cwd"
9348 msgstr "无法返回当前工作目录"
9349
9350 +#: builtin/index-pack.c builtin/unpack-objects.c
9351 +#, c-format
9352 +msgid "bad --pack_header: %s"
9353 +msgstr "错误的 --pack_header:%s"
9354 +
9355 #: builtin/index-pack.c
9356 #, c-format
9357 msgid "bad %s"
@@ -10432,11 +10457,6 @@ msgstr "未知的策略选项:-X%s"
10457 msgid "malformed input line: '%s'."
10458 msgstr "格式错误的输入行:'%s'。"
10459
10435 -#: builtin/merge-tree.c
10436 -#, c-format
10437 -msgid "merging cannot continue; got unclean result of %d"
10438 -msgstr "合并无法继续;得到不干净的结果 %d"
10439 -
10460 #: builtin/merge.c
10461 msgid "git merge [<options>] [<commit>...]"
10462 msgstr "git merge [<选项>] [<提交>...]"
@@ -11452,6 +11472,15 @@ msgid ""
11472 "git pack-objects [<options>] <base-name> [< <ref-list> | < <object-list>]"
11473 msgstr "git pack-objects [<选项>] <前缀名称> [< <引用列表> | < <对象列表>]"
11474
11475 +#: builtin/pack-objects.c
11476 +#, c-format
11477 +msgid "invalid --name-hash-version option: %d"
11478 +msgstr "无效的 --name-hash-version 选项:%d"
11479 +
11480 +#: builtin/pack-objects.c
11481 +msgid "currently, --write-bitmap-index requires --name-hash-version=1"
11482 +msgstr "当前,--write-bitmap-index 要求 --name-hash-version=1"
11483 +
11484 #: builtin/pack-objects.c
11485 #, c-format
11486 msgid ""
@@ -11857,7 +11886,11 @@ msgstr "协议"
11886
11887 #: builtin/pack-objects.c
11888 msgid "exclude any configured uploadpack.blobpackfileuri with this protocol"
11860 -msgstr "使用此协议排除任何已配置的 uploadpack.blobpackfileuri"
11889 +msgstr "排除掉采用该协议的 uploadpack.blobpackfileuri 配置项"
11890 +
11891 +#: builtin/pack-objects.c
11892 +msgid "use the specified name-hash function to group similar objects"
11893 +msgstr "使用指定的名称哈希函数对相似的对象进行分组"
11894
11895 #: builtin/pack-objects.c
11896 #, c-format
@@ -12284,8 +12317,8 @@ msgid ""
12317 "upstream, see 'push.autoSetupRemote' in 'git help config'.\n"
12318 msgstr ""
12319 "\n"
12287 -"为了让没有追踪上游的分支自动配置,参见 'git help config' 中的 push."
12288 -"autoSetupRemote。\n"
12320 +"为了让没有追踪上游的分支自动配置,参见 'git help config' 中的 "
12321 +"push.autoSetupRemote。\n"
12322
12323 #: builtin/push.c
12324 #, c-format
@@ -13294,8 +13327,8 @@ msgid "invalid ref format: %s"
13327 msgstr "无效的引用格式:%s"
13328
13329 #: builtin/refs.c
13297 -msgid "git refs migrate --ref-format=<format> [--dry-run]"
13298 -msgstr "git refs migrate --ref-format=<格式> [--dry-run]"
13330 +msgid "git refs migrate --ref-format=<format> [--no-reflog] [--dry-run]"
13331 +msgstr "git refs migrate --ref-format=<格式> [--no-reflog] [--dry-run]"
13332
13333 #: builtin/refs.c
13334 msgid "git refs verify [--strict] [--verbose]"
@@ -13309,6 +13342,10 @@ msgstr "指定要转换的引用格式"
13342 msgid "perform a non-destructive dry-run"
13343 msgstr "进行非破坏性的试运行(dry-run)"
13344
13345 +#: builtin/refs.c
13346 +msgid "drop reflogs entirely during the migration"
13347 +msgstr "在迁移期间丢弃引用日志"
13348 +
13349 #: builtin/refs.c
13350 msgid "missing --ref-format=<format>"
13351 msgstr "缺少 --ref-format=<格式>"
@@ -13881,8 +13918,14 @@ msgid "be verbose; must be placed before a subcommand"
13918 msgstr "冗长输出;必须置于子命令之前"
13919
13920 #: builtin/repack.c
13884 -msgid "git repack [<options>]"
13885 -msgstr "git repack [<选项>]"
13921 +msgid ""
13922 +"git repack [-a] [-A] [-d] [-f] [-F] [-l] [-n] [-q] [-b] [-m]\n"
13923 +"[--window=<n>] [--depth=<n>] [--threads=<n>] [--keep-pack=<pack-name>]\n"
13924 +"[--write-midx] [--name-hash-version=<n>]"
13925 +msgstr ""
13926 +"git repack [-a] [-A] [-d] [-f] [-F] [-l] [-n] [-q] [-b] [-m]\n"
13927 +"[--window=<n>] [--depth=<n>] [--threads=<n>] [--keep-pack=<包名>]\n"
13928 +"[--write-midx] [--name-hash-version=<n>]"
13929
13930 #: builtin/repack.c
13931 msgid ""
@@ -13974,6 +14017,11 @@ msgstr "向 git-pack-objects 传递参数 --no-reuse-delta"
14017 msgid "pass --no-reuse-object to git-pack-objects"
14018 msgstr "向 git-pack-objects 传递参数 --no-reuse-object"
14019
14020 +#: builtin/repack.c
14021 +msgid ""
14022 +"specify the name hash version to use for grouping similar objects by path"
14023 +msgstr "指定要使用的名称哈希算法,以实现按照路径对相似对象分组"
14024 +
14025 #: builtin/repack.c
14026 msgid "do not run git-update-server-info"
14027 msgstr "不运行 git-update-server-info"
@@ -14038,10 +14086,6 @@ msgstr "使用因子 <n> 查找几何级数"
14086 msgid "write a multi-pack index of the resulting packs"
14087 msgstr "写入结果包的多包索引"
14088
14041 -#: builtin/repack.c
14042 -msgid "pack prefix to store a pack containing pruned objects"
14043 -msgstr "储存被清除的对象的包的前缀"
14044 -
14089 #: builtin/repack.c
14090 msgid "pack prefix to store a pack containing filtered out objects"
14091 msgstr "储存被过滤的对象的包的前缀"
@@ -14314,10 +14358,6 @@ msgstr "只能为 -l 提供一个模式"
14358 msgid "need some commits to replay"
14359 msgstr "需要一些提交来重放"
14360
14317 -#: builtin/replay.c
14318 -msgid "--onto and --advance are incompatible"
14319 -msgstr "--onto 和 --advance 不兼容"
14320 -
14361 #: builtin/replay.c
14362 msgid "all positive revisions given must be references"
14363 msgstr "提供的所有正向版本必须为引用"
@@ -17545,6 +17585,10 @@ msgstr "将一个 GNU Arch 仓库导入到 Git"
17585 msgid "Create an archive of files from a named tree"
17586 msgstr "基于一个指定的树创建文件存档"
17587
17588 +#: command-list.h
17589 +msgid "Download missing objects in a partial clone"
17590 +msgstr "下载部分克隆中缺失的对象"
17591 +
17592 #: command-list.h
17593 msgid "Use binary search to find the commit that introduced a bug"
17594 msgstr "通过二分查找定位引入 bug 的提交"
@@ -18927,8 +18971,8 @@ msgid ""
18971 "remote URLs cannot be configured in file directly or indirectly included by "
18972 "includeIf.hasconfig:remote.*.url"
18973 msgstr ""
18930 -"远程 URL 不能在文件中配置,不管直接地还是通过 includeIf.hasconfig:remote.*."
18931 -"url 间接地包含。"
18974 +"远程 URL 不能在文件中配置,不管直接地还是通过 "
18975 +"includeIf.hasconfig:remote.*.url 间接地包含。"
18976
18977 #: config.c
18978 #, c-format
@@ -19925,6 +19969,14 @@ msgstr "%s 的参数无效"
19969 msgid "invalid regex given to -I: '%s'"
19970 msgstr "选项 -I 的正则表达式无效:'%s'"
19971
19972 +#: diff.c
19973 +msgid "-G requires a non-empty argument"
19974 +msgstr "-G 需要一个非空参数"
19975 +
19976 +#: diff.c
19977 +msgid "-S requires a non-empty argument"
19978 +msgstr "-S 需要一个非空参数"
19979 +
19980 #: diff.c
19981 #, c-format
19982 msgid "failed to parse --submodule option parameter: '%s'"
@@ -22430,7 +22482,7 @@ msgstr "无法读取替代文件"
22482
22483 #: object-file.c
22484 msgid "unable to move new alternates file into place"
22433 -msgstr "无法将新的替代文件移动到位"
22485 +msgstr "无法将新的备用文件移动到位"
22486
22487 #: object-file.c
22488 #, c-format
@@ -22551,6 +22603,11 @@ msgstr "文件 '%s' 和 '%s' 的内容不同"
22603 msgid "unable to write file %s"
22604 msgstr "无法写文件 %s"
22605
22606 +#: object-file.c
22607 +#, c-format
22608 +msgid "unable to write repeatedly vanishing file %s"
22609 +msgstr "无法写入反复消失的文件 %s"
22610 +
22611 #: object-file.c
22612 #, c-format
22613 msgid "unable to set permission to '%s'"
@@ -23233,6 +23290,55 @@ msgstr "未知开关 `%c'"
23290 msgid "unknown non-ascii option in string: `%s'"
23291 msgstr "字符串中未知的非 ascii 字符选项:`%s'"
23292
23293 +#. TRANSLATORS: The "<%s>" part of this string
23294 +#. stands for an optional value given to a command
23295 +#. line option in the long form, and "<>" is there
23296 +#. as a convention to signal that it is a
23297 +#. placeholder (i.e. the user should substitute it
23298 +#. with the real value). If your language uses a
23299 +#. different convention, you can change "<%s>" part
23300 +#. to match yours, e.g. it might use "|%s|" instead,
23301 +#. or if the alphabet is different enough it may use
23302 +#. "%s" without any placeholder signal. Most
23303 +#. translations leave this message as is.
23304 +#.
23305 +#: parse-options.c
23306 +#, c-format
23307 +msgid "[=<%s>]"
23308 +msgstr "[=<%s>]"
23309 +
23310 +#. TRANSLATORS: The "<%s>" part of this string
23311 +#. stands for an optional value given to a command
23312 +#. line option in the short form, and "<>" is there
23313 +#. as a convention to signal that it is a
23314 +#. placeholder (i.e. the user should substitute it
23315 +#. with the real value). If your language uses a
23316 +#. different convention, you can change "<%s>" part
23317 +#. to match yours, e.g. it might use "|%s|" instead,
23318 +#. or if the alphabet is different enough it may use
23319 +#. "%s" without any placeholder signal. Most
23320 +#. translations leave this message as is.
23321 +#.
23322 +#: parse-options.c
23323 +#, c-format
23324 +msgid "[<%s>]"
23325 +msgstr "[<%s>]"
23326 +
23327 +#. TRANSLATORS: The "<%s>" part of this string stands for a
23328 +#. value given to a command line option, and "<>" is there
23329 +#. as a convention to signal that it is a placeholder
23330 +#. (i.e. the user should substitute it with the real value).
23331 +#. If your language uses a different convention, you can
23332 +#. change "<%s>" part to match yours, e.g. it might use
23333 +#. "|%s|" instead, or if the alphabet is different enough it
23334 +#. may use "%s" without any placeholder signal. Most
23335 +#. translations leave this message as is.
23336 +#.
23337 +#: parse-options.c
23338 +#, c-format
23339 +msgid " <%s>"
23340 +msgstr " <%s>"
23341 +
23342 #: parse-options.c
23343 msgid "..."
23344 msgstr "..."
@@ -23336,6 +23442,25 @@ msgstr "对于 '%2$s' 的错误的布尔环境取值 '%1$s'"
23442 msgid "failed to parse %s"
23443 msgstr "无法解析 %s"
23444
23445 +#: path-walk.c
23446 +#, c-format
23447 +msgid "failed to walk children of tree %s: not found"
23448 +msgstr "无法遍历树 %s 的子节点:未找到"
23449 +
23450 +#: path-walk.c
23451 +#, c-format
23452 +msgid "failed to find object %s"
23453 +msgstr "无法找到对象 %s"
23454 +
23455 +#: path-walk.c
23456 +#, c-format
23457 +msgid "failed to find tag %s"
23458 +msgstr "无法找到标签 %s"
23459 +
23460 +#: path-walk.c
23461 +msgid "failed to setup revision walk"
23462 +msgstr "无法设置版本遍历"
23463 +
23464 #: path.c
23465 #, c-format
23466 msgid "Could not make %s writable by group"
@@ -23517,6 +23642,26 @@ msgstr "promisor 远程名称不能以 '/' 开始:%s"
23642 msgid "could not fetch %s from promisor remote"
23643 msgstr "无法从承诺者远程获取 %s"
23644
23645 +#: promisor-remote.c
23646 +#, c-format
23647 +msgid "known remote named '%s' but with url '%s' instead of '%s'"
23648 +msgstr "已知远程名称为 '%s',但 url 为 '%s' 而不是 '%s'"
23649 +
23650 +#: promisor-remote.c
23651 +#, c-format
23652 +msgid "unknown '%s' value for '%s' config option"
23653 +msgstr "配置项 '%2$s' 为未知的取值 '%1$s'"
23654 +
23655 +#: promisor-remote.c
23656 +#, c-format
23657 +msgid "unknown element '%s' from remote info"
23658 +msgstr "远程信息中的未知元素 '%s'"
23659 +
23660 +#: promisor-remote.c
23661 +#, c-format
23662 +msgid "accepted promisor remote '%s' not found"
23663 +msgstr "未找到已接受的承诺者远程 '%s'"
23664 +
23665 #: protocol-caps.c
23666 msgid "object-info: expected flush after arguments"
23667 msgstr "object-info:在参数之后应有一个 flush"
@@ -24484,6 +24629,16 @@ msgstr "引用名 %s 是一个符号引用,不支持复制"
24629 msgid "invalid refspec '%s'"
24630 msgstr "无效的引用规格:'%s'"
24631
24632 +#: refspec.c
24633 +#, c-format
24634 +msgid "pattern '%s' has no '*'"
24635 +msgstr "模式 '%s' 没有 '*'"
24636 +
24637 +#: refspec.c
24638 +#, c-format
24639 +msgid "replacement '%s' has no '*'"
24640 +msgstr "替换 '%s' 没有 '*'"
24641 +
24642 #: remote-curl.c
24643 #, c-format
24644 msgid "invalid quoting in push-option value: '%s'"
@@ -24635,6 +24790,28 @@ msgstr "remote-curl:尝试没有本地仓库下获取"
24790 msgid "remote-curl: unknown command '%s' from git"
24791 msgstr "remote-curl:未知的来自 git 的命令 '%s'"
24792
24793 +#: remote.c
24794 +#, c-format
24795 +msgid ""
24796 +"reading remote from \"%s/%s\", which is nominated for removal.\n"
24797 +"\n"
24798 +"If you still use the \"remotes/\" directory it is recommended to\n"
24799 +"migrate to config-based remotes:\n"
24800 +"\n"
24801 +"\tgit remote rename %s %s\n"
24802 +"\n"
24803 +"If you cannot, please let us know why you still need to use it by\n"
24804 +"sending an e-mail to <git@vger.kernel.org>."
24805 +msgstr ""
24806 +"正在从 \"%s/%s\" 读取远程内容,该内容被提名删除。\n"
24807 +"\n"
24808 +"如果你仍然在使用 \"remotes/\" 目录,建议迁移为基于配置远程的方式:\n"
24809 +"\n"
24810 +"\tgit remote rename %s %s\n"
24811 +"\n"
24812 +"如果你无法迁移,请发送电子邮件至 <git@vger.kernel.org> 告知我们你\n"
24813 +"仍然需要使用它的原因。"
24814 +
24815 #: remote.c
24816 #, c-format
24817 msgid "config remote shorthand cannot begin with '/': %s"
@@ -24678,16 +24855,6 @@ msgstr "%s 通常跟踪 %s,而非 %s"
24855 msgid "%s tracks both %s and %s"
24856 msgstr "%s 同时跟踪 %s 和 %s"
24857
24681 -#: remote.c
24682 -#, c-format
24683 -msgid "key '%s' of pattern had no '*'"
24684 -msgstr "模式的键 '%s' 没有 '*'"
24685 -
24686 -#: remote.c
24687 -#, c-format
24688 -msgid "value '%s' of pattern has no '*'"
24689 -msgstr "模式的值 '%s' 没有 '*'"
24690 -
24858 #: remote.c
24859 #, c-format
24860 msgid "src refspec %s does not match any"
@@ -26956,6 +27123,34 @@ msgstr "在每次迭代前清除缓存树"
27123 msgid "number of entries in the cache tree to invalidate (default 0)"
27124 msgstr "缓存树中无效化的条目数量(默认 0)"
27125
27126 +#: t/helper/test-path-walk.c
27127 +msgid "test-tool path-walk <options> -- <revision-options>"
27128 +msgstr "test-tool path-walk <选项> -- <版本选项>"
27129 +
27130 +#: t/helper/test-path-walk.c
27131 +msgid "toggle inclusion of blob objects"
27132 +msgstr "切换是否包含数据对象"
27133 +
27134 +#: t/helper/test-path-walk.c
27135 +msgid "toggle inclusion of commit objects"
27136 +msgstr "切换是否包含提交对象"
27137 +
27138 +#: t/helper/test-path-walk.c
27139 +msgid "toggle inclusion of tag objects"
27140 +msgstr "切换是否包含标签对象"
27141 +
27142 +#: t/helper/test-path-walk.c
27143 +msgid "toggle inclusion of tree objects"
27144 +msgstr "切换是否包含树对象"
27145 +
27146 +#: t/helper/test-path-walk.c
27147 +msgid "toggle pruning of uninteresting paths"
27148 +msgstr "切换对无趣路径的修剪"
27149 +
27150 +#: t/helper/test-path-walk.c
27151 +msgid "read a pattern list over stdin"
27152 +msgstr "从标准输入读取模式列表"
27153 +
27154 #: t/helper/test-reach.c
27155 #, c-format
27156 msgid "commit %s is not marked reachable"
@@ -27703,6 +27898,11 @@ msgstr "错误:"
27898 msgid "warning: "
27899 msgstr "警告:"
27900
27901 +#: version.c
27902 +#, c-format
27903 +msgid "uname() failed with error '%s' (%d)\n"
27904 +msgstr "uname() 失败,错误为 '%s'(%d)\n"
27905 +
27906 #: walker.c
27907 msgid "Fetching objects"
27908 msgstr "正在获取对象"