Skip to content

Commit

Permalink
Translated using Weblate (Chinese (Simplified))
Browse files Browse the repository at this point in the history
Currently translated at 100.0% (11397 of 11397 strings)

Translation: Git Manpages/Translations
Translate-URL: https://hosted.weblate.org/projects/git-manpages/translations/zh_Hans/
Signed-off-by: 秃头灯笼鱼 <ttdlyu@163.com>
  • Loading branch information
ttdly authored and weblate committed Mar 28, 2024
1 parent 18725b6 commit 5ee4878
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions po/documentation.zh_HANS-CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This file is distributed under the same license as the Git package.
# Matthias Aßhauer <mha1993@live.de>, 2019.
msgid ""
msgstr "Project-Id-Version: git documentation\nReport-Msgid-Bugs-To: jn.avila@free.fr\nPOT-Creation-Date: 2024-02-10 18:59+0100\nPO-Revision-Date: 2024-03-21 12:01+0000\nLast-Translator: 秃头灯笼鱼 <ttdlyu@163.com>\nLanguage-Team: LANGUAGE <LL@li.org>\nLanguage: zh_HANS-CN\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nPlural-Forms: nplurals=1; plural=0;\nX-Generator: Weblate 5.5-dev\n"
msgstr "Project-Id-Version: git documentation\nReport-Msgid-Bugs-To: jn.avila@free.fr\nPOT-Creation-Date: 2024-02-10 18:59+0100\nPO-Revision-Date: 2024-03-28 12:01+0000\nLast-Translator: 秃头灯笼鱼 <ttdlyu@163.com>\nLanguage-Team: LANGUAGE <LL@li.org>\nLanguage: zh_HANS-CN\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\nPlural-Forms: nplurals=1; plural=0;\nX-Generator: Weblate 5.5-dev\n"

#. type: Labeled list
#: en/blame-options.txt:1 en/diff-options.txt:780 en/git-instaweb.txt:45 en/git-mailinfo.txt:49 en/git-mailsplit.txt:35 en/git-repack.txt:180 en/git-status.txt:31
Expand Down Expand Up @@ -18189,13 +18189,13 @@ msgstr "你可以用这个命令查询/设置/替换/取消选项。名称(name)
#: en/git-config.txt:43
#, placeholders:'`--add`':'`--fixed-value`':'<<EXAMPLES>>':'`--fixed-value`', priority:100
msgid "Multiple lines can be added to an option by using the `--add` option. If you want to update or unset an option which can occur on multiple lines, a `value-pattern` (which is an extended regular expression, unless the `--fixed-value` option is given) needs to be given. Only the existing values that match the pattern are updated or unset. If you want to handle the lines that do *not* match the pattern, just prepend a single exclamation mark in front (see also <<EXAMPLES>>), but note that this only works when the `--fixed-value` option is not in use."
msgstr "通过使用`--add`选项,可以为一个选项添加多行。 如果你想更新或取消一个可以出现在多行的选项,需要给出一个`value-pattern`(这是一个扩展的正则表达式,除非给出`--fixed-value`选项)。 只有符合该模式的现有值被更新或取消设置。 如果你想处理不符合模式的行,只需在前面加上一个感叹号(参见<<EXAMPLES>>),但注意这只在没有使用`--fixed-value`选项时有效。"
msgstr "通过使用 `--add` 选项,可以为一个选项添加多行。 如果你想更新或取消一个可以出现在多行的选项,需要给出一个 `value-pattern`除非给出 `--fixed-value` 选项,否则这是一个扩展的正则表达式)。 只有符合该模式的现有值被更新或取消设置。 如果你想处理不符合模式的行,只需在前面加上一个感叹号(参见<<EXAMPLES>>),但注意这只在没有使用 `--fixed-value` 选项时有效。"

#. type: Plain text
#: en/git-config.txt:48
#, placeholders:'`--type=':'`--type=':'`--type`':'`--no-type`', priority:100
msgid "The `--type=<type>` option instructs 'git config' to ensure that incoming and outgoing values are canonicalize-able under the given <type>. If no `--type=<type>` is given, no canonicalization will be performed. Callers may unset an existing `--type` specifier with `--no-type`."
msgstr "`--type=<类型>`选项指示'git config'确保传入和传出的值在给定的<类型>下是可以被规范化的。 如果没有给定`--type=<类型>`,将不执行规范化。调用者可以用`--no-type`取消现有的`--type`指定器。"
msgstr "`--type=<类型>` 选项指示 'git config' 确保传入和传出的值在给定的 <类型> 下是可以被规范化的。 如果没有给定 `--type=<类型>`,将不执行规范化。调用者可以用 `--no-type` 选项取消现有 `--type` 选项的指定。"

# ERROR: `--system` not found in translation
# ERROR: `--global` not found in translation
Expand Down Expand Up @@ -18274,7 +18274,7 @@ msgstr "执行成功时,该命令返回退出代码0。"
#: en/git-config.txt:76
#, placeholders:'--config`', priority:100
msgid "A list of all available configuration variables can be obtained using the `git help --config` command."
msgstr "所有可用配置变量的列表可以通过`git help --config`命令获取。"
msgstr "所有可用配置变量的列表可以通过 `git help --config` 命令获取。"

#. type: Labeled list
#: en/git-config.txt:81
Expand All @@ -18286,7 +18286,7 @@ msgstr "--replace-all"
#: en/git-config.txt:84
#, priority:100
msgid "Default behavior is to replace at most one line. This replaces all lines matching the key (and optionally the `value-pattern`)."
msgstr "默认行为是最多替换一行。这将会替换所有与键(以及可选的`value-pattern`)匹配的行。"
msgstr "默认行为是最多替换一行。这将会替换所有与键(以及可选的 `value-pattern` )匹配的行。"

#. type: Labeled list
#: en/git-config.txt:85 en/git-update-index.txt:44
Expand All @@ -18298,7 +18298,7 @@ msgstr "--add"
#: en/git-config.txt:89
#, placeholders:'`--replace-all`', priority:100
msgid "Adds a new line to the option without altering any existing values. This is the same as providing '^$' as the `value-pattern` in `--replace-all`."
msgstr "不改变任何现有的值的情况下,在选项中增加一个新的行。 这与在`--replace-all`中提供'^$'作为`value-pattern` 是一样的。"
msgstr "不改变任何现有的值的情况下,在选项中增加一个新的行。 这与在 `--replace-all` 选项中提供 '^$' 作为 `value-pattern` 是一样的。"

#. type: Labeled list
#: en/git-config.txt:90
Expand All @@ -18322,7 +18322,7 @@ msgstr "--get-all"
#: en/git-config.txt:97
#, priority:100
msgid "Like get, but returns all values for a multi-valued key."
msgstr "和--get一样,但是返回一个多值键的所有值。"
msgstr "和 --get 选项类似,但是该选项会返回一个多值键的所有值。"

#. type: Labeled list
#: en/git-config.txt:98
Expand All @@ -18334,7 +18334,7 @@ msgstr "--get-regexp"
#: en/git-config.txt:104
#, placeholders:'--get-all', priority:100
msgid "Like --get-all, but interprets the name as a regular expression and writes out the key names. Regular expression matching is currently case-sensitive and done against a canonicalized version of the key in which section and variable names are lowercased, but subsection names are not."
msgstr "像 --get-all 一样,但是用正则表达式作为,并写出键名。 正则表达式匹配目前是区分大小写的,并且是针对一个规范化的键的版本进行的,其中节(section)和变量名称是小写的,但子节名称不是小写的。"
msgstr "像 --get-all 选项一样,但是用正则表达式作为名称,并写出键名。 正则表达式匹配目前是区分大小写的,并且是针对一个规范化的键的版本进行的,其中节 (section) 和变量名称是小写的,但子节名称不是小写的。"

#. type: Labeled list
#: en/git-config.txt:105
Expand All @@ -18346,7 +18346,7 @@ msgstr "--get-urlmatch <名称> <URL>"
#: en/git-config.txt:112
#, priority:100
msgid "When given a two-part <name> as <section>.<key>, the value for <section>.<URL>.<key> whose <URL> part matches the best to the given URL is returned (if no such key exists, the value for <section>.<key> is used as a fallback). When given just the <section> as name, do so for all the keys in the section and list them. Returns error code 1 if no value is found."
msgstr "当给定一个由两部分组成的名称section.key时,返回section.<URL>.key的值,其<URL>部分是给定的最相匹配的URL(如果没有这样的键存在,section.key的值将作为备用值)。 当只给出section的名称时,对section中的所有key进行处理,并将其列出。 如果没有找到值,返回错误代码1(section: 节,key:键;在配置文件中是这样的[section] key=value)。"
msgstr "当给定一个由两部分组成的名称 section.key 时,返回 section.<URL>.key 的值,其 <URL> 部分是给定的最相匹配的 URL(如果没有这样的键存在,section.key 的值将作为备用值)。 当只给出 section 的名称时,对 section 中的所有 key 进行处理,并将其列出。 如果没有找到值,返回错误代码 1(section: 节,key:键;在配置文件中是这样的 [section] key=value)。"

#. type: Labeled list
#: en/git-config.txt:113
Expand All @@ -18358,13 +18358,13 @@ msgstr "--global"
#: en/git-config.txt:118
#, placeholders:'$XDG_CONFIG_HOME', priority:100
msgid "For writing options: write to global `~/.gitconfig` file rather than the repository `.git/config`, write to `$XDG_CONFIG_HOME/git/config` file if this file exists and the `~/.gitconfig` file doesn't."
msgstr "对于写入选项:写入全局的`~/.gitconfig`文件而不是仓库的`.git/config`文件,如果该文件存在而`~/.gitconfig`文件不存在,则写入`$XDG_CONFIG_HOME/git/config`文件。"
msgstr "对于写入选项:写入全局的 `~/.gitconfig` 文件而不是仓库的 `.git/config` 文件,如果该文件存在而 `~/.gitconfig` 文件不存在,则写入 `$XDG_CONFIG_HOME/git/config` 文件。"

#. type: Plain text
#: en/git-config.txt:121
#, placeholders:'$XDG_CONFIG_HOME', priority:100
msgid "For reading options: read only from global `~/.gitconfig` and from `$XDG_CONFIG_HOME/git/config` rather than from all available files."
msgstr "对于读取选项:只从全局的`~/.gitconfig``$XDG_CONFIG_HOME/git/config`中读取,而不是从所有可用文件中读取。"
msgstr "对于读取选项:只从全局的 `~/.gitconfig``$XDG_CONFIG_HOME/git/config` 中读取,而不是从所有可用文件中读取。"

#. type: Plain text
#: en/git-config.txt:123 en/git-config.txt:133 en/git-config.txt:142 en/git-config.txt:161 en/git-config.txt:409
Expand All @@ -18382,25 +18382,25 @@ msgstr "--system"
#: en/git-config.txt:128
#, placeholders:'$(prefix)', priority:100
msgid "For writing options: write to system-wide `$(prefix)/etc/gitconfig` rather than the repository `.git/config`."
msgstr "对于写选项:写到系统范围内的`$(prefix)/etc/gitconfig`文件中,而不是仓库中的`.git/config`文件。"
msgstr "对于写选项:写到系统范围内的 `$(prefix)/etc/gitconfig` 文件中,而不是仓库中的 `.git/config` 文件。"

#. type: Plain text
#: en/git-config.txt:131
#, placeholders:'$(prefix)', priority:100
msgid "For reading options: read only from system-wide `$(prefix)/etc/gitconfig` rather than from all available files."
msgstr "对于读取选项:只从系统范围内的`$(prefix)/etc/gitconfig`读取,而不是从所有可用文件中读取。"
msgstr "对于读取选项:只从系统范围内的 `$(prefix)/etc/gitconfig` 读取,而不是从所有可用文件中读取。"

#. type: Plain text
#: en/git-config.txt:137
#, priority:100
msgid "For writing options: write to the repository `.git/config` file. This is the default behavior."
msgstr "对于写选项:写到版本库的`.git/config`文件中。 这是默认行为。"
msgstr "对于写选项:写到仓库的 `.git/config` 文件中。 这是默认行为。"

#. type: Plain text
#: en/git-config.txt:140
#, priority:100
msgid "For reading options: read only from the repository `.git/config` rather than from all available files."
msgstr "对于读取选项:只从存储库`.git/config`中读取,而不是从所有可用文件中读取。"
msgstr "对于读取选项:只从仓库 `.git/config` 文件中读取,而不是从所有可用文件中读取。"

#. type: Labeled list
#: en/git-config.txt:143 en/git-restore.txt:59
Expand All @@ -18412,7 +18412,7 @@ msgstr "--worktree"
#: en/git-config.txt:151
#, placeholders:'`--local`':'$GIT_DIR':'config.worktree':'extensions.worktreeConfig':'`--local`':'$GIT_DIR':'$GIT_COMMON_DIR':'$GIT_DIR':'linkgit:git-worktree[1]':'extensions.worktreeConfig', priority:100
msgid "Similar to `--local` except that `$GIT_DIR/config.worktree` is read from or written to if `extensions.worktreeConfig` is enabled. If not it's the same as `--local`. Note that `$GIT_DIR` is equal to `$GIT_COMMON_DIR` for the main working tree, but is of the form `$GIT_DIR/worktrees/<id>/` for other working trees. See linkgit:git-worktree[1] to learn how to enable `extensions.worktreeConfig`."
msgstr "与`--local`类似,只是如果启用了`extensions.worktreeConfig`,则从`$GIT_DIR/config.worktree`读取或写入。如果没有,则与`--local`相同。注意,对于主工作区,`$GIT_DIR`等于`$GIT_COMMON_DIR`,但对于其他工作区,它的形式是`$GIT_DIR/worktrees/<id>/`。了解如何启用 `extensions.worktreeConfig`,参见 linkgit:git-worktree[1] 。"
msgstr "与 `--local` 选项类似,只是如果启用了 `extensions.worktreeConfig` ,则从 `$GIT_DIR/config.worktree` 读取或写入。如果没有,则与 `--local` 选项行为相同。注意,对于主工作区, `$GIT_DIR` 等于 `$GIT_COMMON_DIR`,但对于其他工作区,它的形式是 `$GIT_DIR/worktrees/<id>/`。了解如何启用 `extensions.worktreeConfig`,参见 linkgit:git-worktree[1] 。"

#. type: Labeled list
#: en/git-config.txt:152
Expand All @@ -18430,7 +18430,7 @@ msgstr "--file <配置文件>"
#: en/git-config.txt:156
#, priority:100
msgid "For writing options: write to the specified file rather than the repository `.git/config`."
msgstr "对于写入选项:写到指定的文件,而不是仓库`.git/config`。"
msgstr "对于写入选项:写到指定的文件,而不是仓库 `.git/config` 文件。"

#. type: Plain text
#: en/git-config.txt:159
Expand All @@ -18442,13 +18442,13 @@ msgstr "对于读取选项:只从指定的文件而不是从所有可用的文
#: en/git-config.txt:162
#, no-wrap, placeholders:'--blob', priority:100
msgid "--blob <blob>"
msgstr "--blob <二进制对象>"
msgstr "--blob <blob>"

#. type: Plain text
#: en/git-config.txt:168
#, placeholders:'`--file`':'linkgit:gitrevisions[7]', priority:100
msgid "Similar to `--file` but use the given blob instead of a file. E.g. you can use 'master:.gitmodules' to read values from the file '.gitmodules' in the master branch. See \"SPECIFYING REVISIONS\" section in linkgit:gitrevisions[7] for a more complete list of ways to spell blob names."
msgstr "类似于`--file`,但使用指定的二进制对象而不是文件。例如,你可以使用'master:.gitmodules'来读取主分支中'.gitmodules'文件中的值。参见 linkgit:gitrevisions[7] 中的 \"指定的修正\"部分,以获得更完整的二进制对象名称拼写方式。"
msgstr "类似于 `--file` 选项,但使用指定的二进制对象而不是文件。例如,你可以使用 'master:.gitmodules' 来读取主分支中 '.gitmodules' 文件中的值。参见 linkgit:gitrevisions[7] 中的 指定的修正部分,以获得更完整的二进制对象名称拼写方式。"

#. type: Labeled list
#: en/git-config.txt:169
Expand Down Expand Up @@ -18514,7 +18514,7 @@ msgstr "--fixed-value"
#: en/git-config.txt:190
#, priority:100
msgid "When used with the `value-pattern` argument, treat `value-pattern` as an exact string instead of a regular expression. This will restrict the name/value pairs that are matched to only those where the value is exactly equal to the `value-pattern`."
msgstr "当与`value-pattern`参数一起使用时,将`value-pattern`视为精确的字符串,而不是正则表达式。这将使得被匹配的名称/值对,只有那些值与`value-pattern'完全相等的名称/值对。"
msgstr "当与 `value-pattern` 参数一起使用时,将 `value-pattern` 视为精确的字符串,而不是正则表达式。这将使得被匹配的名称/值对只有那些值与 `value-pattern` 完全相等的名称/值对。"

#. type: Labeled list
#: en/git-config.txt:191
Expand Down

0 comments on commit 5ee4878

Please sign in to comment.