App-Greple-xlate

 view release on metacpan or  search on metacpan

i18n/src/xlate.pod.xlate-deepl-ZH.json  view on Meta::CPAN

      "Specify the output format for original and translated text.\n",
      "指定原始和翻译文本的输出格式。\n"
   ],
   [
      "The following formats other than C<xtxt> assume that the part to be translated is a collection of lines. In fact, it is possible to translate only a portion of a line, but specifying a format other than C<xtxt> will not produce meaningful resu...
      "除 C<xtxt> 以外的以下格式都假定要翻译的部分是行的集合。事实上,可以只翻译一行的一部分,但指定 C<xtxt> 以外的格式不会产生有意义的结果。\n"
   ],
   [
      "Original and converted text are printed in L<git(1)> conflict marker format.\n",
      "原始文本和转换后的文本以 L<git(1)> 冲突标记格式打印。\n"
   ],
   [
      "You can recover the original file by next L<sed(1)> command.\n",
      "你可以通过下一个L<sed(1)>命令恢复原始文件。\n"
   ],
   [
      "The original and translated text are output in a markdown's custom container style.\n",
      "原文和译文以 markdown 的自定义容器样式输出。\n"
   ],
   [
      "Above text will be translated to the following in HTML.\n",
      "以上文本将在 HTML 中翻译为以下内容。\n"
   ],
   [
      "Number of colon is 7 by default. If you specify colon sequence like C<:::::>, it is used instead of 7 colons.\n",
      "冒号数默认为 7。如果指定冒号序列,如 C<:::::>,则会使用它来代替 7 个冒号。\n"
   ],
   [
      "Original and converted text are printed in L<cpp(1)> C<#ifdef> format.\n",
      "原始文本和转换后的文本以 L<cpp(1)> C<#ifdef> 格式打印。\n"
   ],
   [
      "You can retrieve only Japanese text by the B<unifdef> command:\n",
      "你可以通过B<unifdef>命令只检索日文文本。\n"
   ],
   [
      "Original and converted text are printed separated by single blank line. For C<space+>, it also outputs a newline after the converted text.\n",
      "原始文本和转换后的文本在打印时以单行空行隔开。对于 C<space+>,它还会在转换后的文本后输出一个换行符。\n"
   ],
   [
      "If the format is C<xtxt> (translated text) or unkown, only translated text is printed.\n",
      "如果格式是C<xtxt>(翻译文本)或不知道,则只打印翻译文本。\n"
   ],
   [
      "Specify the maximum length of text to be sent to the API at once. The default value 0 means the engine's own limit: for the free DeepL account service that is 128K for the API (B<--xlate>) and 5000 for the clipboard interface (B<--xlate-labor>...
      "指定一次发送至 API 的文本最大长度。 默认值 0 表示引擎自身的限制:对于 DeepL 免费账户服务,API(B<--xlate>)的限制为 128K,剪贴板接口(B<--xlate-labor>)的限制为 5000。 如果您使用的æ...
   ],
   [
      "Specify the maximum lines of text to be sent to the API at once.\n",
      "指定一次发送到 API 的最大文本行数。\n"
   ],
   [
      "Set this value to 1 if you want to translate one line at a time. This option takes precedence over the C<--xlate-maxlen> option.\n",
      "如果想一次翻译一行,则将该值设为 1。该选项优先于 C<--xlate-maxlen> 选项。\n"
   ],
   [
      "Specify a custom prompt to be sent to the translation engine. This option is available for the LLM engines (C<gpt3>, C<gpt4o>, C<gpt5>) but not for DeepL. You can customize the translation behavior by providing specific instructions to the AI ...
      "指定要发送给翻译引擎的自定义提示词。此选项适用于 LLM 引擎(C<gpt3>、C<gpt4o>、C<gpt5>),但不适用于 DeepL。 您可以通过向 AI 模型提供具体指令来自定义翻译行为。如果提示语中包含 ...
   ],
   [
      "Specify additional context information to be sent to the translation engine. This option can be used multiple times to provide multiple context strings. The context information helps the translation engine understand the background and produce...
      "指定要发送给翻译引擎的其他上下文信息。此选项可多次使用,以提供多个上下文字符串。上下文信息有助于翻译引擎理解背景并生成更准确的翻译。\n"
   ],
   [
      "Number of surrounding translated blocks passed as reference context when re-translating changed blocks (default 2). The context also includes the raw source text around the changed region (headings, list structure, captions) and, when availabl...
      "在重新翻译已修改的块时,作为参考上下文传递的周围已翻译块的数量(默认值为 2)。该上下文还包括已修改区域周围的原始源文本(标题、列表结构、图注),以及(如有)从缓存ä...
   ],
   [
      "Initialize a new document's cache from another document's cache file. Useful for periodic reports: seed the new issue's cache with the previous issue's, so unchanged paragraphs are not re-translated and edited paragraphs keep the previous issu...
      "从另一个文档的缓存文件初始化新文档的缓存。这对于定期报告非常有用:使用上一期报告的缓存作为新期报告缓存的初始值,这样未更改的段落就不会被重新翻译,而编辑过的段落则...
   ],
   [
      "Anonymize sensitive strings before they are sent to the translation API, and restore them in the output. The dictionary file gives one entry per item: in JSON (canonical, machine-generatable)\n",
      "在将敏感字符串发送至翻译 API 之前对其进行匿名化处理,并在输出中恢复其原始内容。词典文件为每个项目提供一条条目:以 JSON 格式(规范的、可由机器生成)\n"
   ],
   [
      "or in a simple line format (C<category pattern>, C</.../> for regex). Each item is replaced by a category tag such as C<< <person id=1 /> >>; the same string always gets the same tag, so the model can keep track of who is who. Unknown JSON fie...
      "或以简单行格式(C<category pattern>,C</.../> 用于正则表达式)。 每个项目都被替换为类别标签,例如 C<< <person id=1 /> >>;相同的字符串始终获得相同的标签,因此模型可以追踪“谁是谁â€...
   ],
   [
      "A dictionary can be generated by an external tool -- for example a local model extracting sensitive entities:\n",
      "词典可由外部工具生成——例如用于提取敏感实体的本地模型:\n"
   ],
   [
      "A UTF-8 BOM in the file is tolerated. Values in the front matter line format may carry a trailing comment only on their own line, not after the value.\n",
      "文件中允许存在 UTF-8 BOM。前置信息行格式的值仅可在单独一行末尾带有尾注,不可紧跟在值之后。\n"
   ],
   [
      "Collect anonymization entries from inline marks in the document itself. Mark the first occurrence like C<{{ person(\"山田太郎\") }}> and every occurrence of the string document-wide is anonymized. The mark itself stays in the source and in...
      "从文档本身的内联标记中收集匿名化条目。 将首次出现的位置标记为 C<{{ person(\"山田太郎\") }}>,该字符串在整个文档中的所有出现位置均会被匿名化。标记本身会保留在源文档和译文ä...
   ],
   [
      "Note that with an optional-value option like this, a following file argument would be taken as the value: write C<--xlate-anonymize-mark=> (with a trailing C<=>) when using the default notation.\n",
      "请注意,对于此类可选值的选项,后续的文件参数将被视为该值:在使用默认表示法时,应写为 C<--xlate-anonymize-mark=>(末尾跟一个 C<=>)。\n"
   ],
   [
      "Alternative notations can be configured, for example C<< --xlate-anonymize-mark='@@(?<category>[a-z][a-z0-9_]*):(?<text>[^\\n]+?)@@' >> for C<@@person:NAME@@>-style marks, or an HTML-comment form that stays invisible in rendered Markdown. Mark...
      "可以配置其他表示法,例如 C<< --xlate-anonymize-mark='@@(?<category>[a-z][a-z0-9_]*):(?<text>[^\\n]+?)@@' >> 用于 C<@@person:NAME@@> 风格的标记,或者一种在渲染后的 Markdown 中不可见的 HTML 注释形式。 æ ‡è®...
   ],
   [
      "Treat template expressions (default: Jinja2 C<{{ ... }}>, C<{% ... %}>, C<{# ... #}>) as opaque placeholders: instruct the model to copy them unchanged and verify, per block, that the response contains exactly the same expressions, each the sa...
      "将模板表达式(默认:Jinja2 C<{{ ... }}>、C<{% ... %}>、C<{# ... #}>)视为不透明占位符:指示模型将其原样复制,并按块验证响应中是否包含完全相同的表达式,且每个表达式出现的次数完å…...
   ],
   [
      "Note that with an optional-value option like this, a following file argument would be taken as the value: write C<--xlate-template=> (with a trailing C<=>) when using the default notation.\n",
      "请注意,对于此类可选值选项,后续的文件参数将被视为该值:在使用默认表示法时,应写为 C<--xlate-template=>(末尾跟 C<=>)。\n"
   ],
   [
      "Treat a leading C<---> ... C<---> block as YAML front matter: exclude it from translation and from the phase-2 context slices, and add its flat C<key: value> values to the anonymization rules (category C<var>) as a safety net. With multiple in...
      "将开头的 C<---> ... C<---> 块视为 YAML 前置信息:将其排除在翻译和第二阶段上下文切片之外,并将其中平铺的 C<key: value> 值添加到匿名化规则(类别 C<var>)中作为安全保障。 当存在多个...
   ],
   [
      "Always leave a blank line after the closing C<--->. With a paragraph-style match pattern, front matter that runs directly into the body text forms one straddling block that the exclusion cannot suppress (a warning is printed in that case); the...
      "在闭合的 C<---> 之后始终留出一行空行。若采用段落风格的匹配模式,直接与正文相连的前置信息将形成一个跨段块,该块无法被排除规则抑制(此时会输出警告); 这些值仍会被匿名...
   ],
   [
      "Specify a glossary ID to be used for translation. This option is only available when using the DeepL engine. The glossary ID should be obtained from your DeepL account and ensures consistent translation of specific terms.\n",
      "指定用于翻译的词汇表 ID。该选项仅在使用 DeepL 引擎时可用。词汇表 ID 应从您的 DeepL 账户获取,可确保特定术语翻译的一致性。\n"
   ],
   [
      "Do not call the translation API; instead show, through the progress display, each payload exactly as it would be transmitted (after anonymization and masking). Useful for checking what leaves the machine and for estimating the cost of a run.\n...
      "请勿调用翻译 API;而是通过进度显示,将每个有效载荷(经过匿名化和遮蔽处理后)以实际传输时的原样展示。这有助于检查系统输出的内容,并估算每次运行的成本。\n"
   ],
   [
      "See the translation result in real time in the STDERR output. The C<From> payload is shown as transmitted, after anonymization and masking.\n",
      "可在 STDERR 输出中实时查看翻译结果。C<From> 有效负载以传输时的形式显示,即经过匿名化和屏蔽处理后的状态。\n"
   ],
   [
      "Use L<App::Greple::stripe> module to show the matched part by zebra striping fashion. This is useful when the matched parts are connected back-to-back.\n",
      "使用 L<App::Greple::stripe> 模块以斑马线方式显示匹配部分。当匹配部分背靠背连接时,这种方式非常有用。\n"
   ],
   [
      "The color palette is switched according to the background color of the terminal. If you want to specify explicitly, you can use B<--xlate-stripe-light> or B<--xlate-stripe-dark>.\n",
      "调色板会根据终端的背景颜色进行切换。如果要明确指定,可以使用 B<--xlate-stripe-light> 或 B<--xlate-stripe-dark>。\n"
   ],
   [
      "Perform masking function and display the converted text as is without restoration.\n",
      "执行屏蔽功能并显示转换后的文本,无需还原。\n"
   ],
   [
      "Set the whole text of the file as a target area.\n",
      "将文件的整个文本设置为目标区域。\n"
   ],
   [
      "In the case of the C<cm> and C<colon> formats, the output is split and formatted line by line. Therefore, if only a portion of a line is to be translated, the expected result cannot be obtained. These filters fix output that is corrupted by tr...
      "对于 C<cm> å’Œ C<colon> 格式,输出是逐行分割和格式化的。因此,如果只翻译一行的一部分,就无法获得预期的结果。这些过滤器可以修复将一行的部分内容翻译成正常的逐行输出而损坏ç...
   ],
   [
      "In the current implementation, if multiple parts of a line are translated, they are output as independent lines.\n",
      "在当前的实现中,如果一行的多个部分被翻译,它们将作为独立的行输出。\n"
   ],
   [
      "B<xlate> module can store cached text of translation for each file and read it before execution to eliminate the overhead of asking to server. With the default cache strategy C<auto>, it maintains cache data only when the cache file exists for...
      "B<xlate>模块可以存储每个文件的翻译缓存文本,并在执行前读取它,以消除向服务器请求的开销。在默认的缓存策略C<auto>下,它只在目标文件的缓存文件存在时才维护缓存数据。\n"
   ],
   [
      "Use B<--xlate-cache=clear> to initiate cache management or to clean up all existing cache data. Once executed with this option, a new cache file will be created if one does not exist and then automatically maintained afterward.\n",
      "使用 B<--xlate-cache=clear> 启动缓存管理或清理所有现有缓存数据。使用该选项后,如果缓存文件不存在,就会创建一个新的缓存文件,然后自动维护。\n"
   ],
   [
      "Maintain the cache file if it exists.\n",
      "如果缓存文件存在,则维护该文件。\n"
   ],
   [
      "Create empty cache file and exit.\n",
      "创建空缓存文件并退出。\n"
   ],
   [
      "Maintain cache anyway as far as the target is normal file.\n",
      "只要目标文件是正常文件,就维持缓存。\n"
   ],
   [
      "Clear the cache data first.\n",
      "先清除缓存数据。\n"
   ],
   [
      "Never use cache file even if it exists.\n",
      "即使缓存文件存在,也不使用它。\n"
   ],
   [
      "By default behavior, unused data is removed from the cache file. If you don't want to remove them and keep in the file, use C<accumulate>.\n",
      "根据默认行为,未使用的数据会从缓存文件中删除。如果你不想删除它们并保留在文件中,使用C<accumulate>。\n"
   ],
   [
      "This option forces to update cache file even if it is not necessary.\n",
      "即使没有必要,该选项也会强制更新缓存文件。\n"
   ],
   [
      "You can easily use this module from the command line by using the C<xlate> command included in the distribution. See the C<xlate> man page for usage.\n",
      "你可以使用发行版中的 C<xlate> 命令,在命令行中轻松使用该模块。有关用法,请参阅 C<xlate> man 页。\n"
   ],
   [
      "The C<xlate> command supports GNU-style long options such as C<--to-lang>, C<--from-lang>, C<--engine>, and C<--file>. Use C<xlate -h> to see all available options.\n",



( run in 0.825 second using v1.01-cache-2.11-cpan-6736b670a1e )