App-Greple-xlate

 view release on metacpan or  search on metacpan

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

      "By default, original and translated text is printed in the \"conflict marker\" format compatible with L<git(1)>. Using C<ifdef> format, you can get desired part by L<unifdef(1)> command easily. Output format can be specified by B<--xlate-forma...
      "默认情况下,原文与译文会以与 L<git(1)> 兼容的“冲突标记”格式打印。使用 C<ifdef> 格式,你可以轻松通过 L<unifdef(1)> 命令获取所需部分。输出格式可由 B<--xlate-format> 选项指定。\n"
   ],
   [
      "If you want to translate entire text, use B<--match-all> option. This is a short-cut to specify the pattern C<(?s).+> which matches entire text.\n",
      "如果你想翻译整篇文本,使用 B<--match-all> 选项。这是指定匹配整篇文本的模式 C<(?s).+> 的快捷方式。\n"
   ],
   [
      "Conflict marker format data can be viewed in side-by-side style by L<sdif|App::sdif> command with C<-V> option. Since it makes no sense to compare on a per-string basis, the C<--no-cdif> option is recommended. If you do not need to color the t...
      "冲突标记格式的数据可用 L<sdif|App::sdif> 命令配合 C<-V> 选项以并列样式查看。由于逐字符串比较没有意义,建议使用 C<--no-cdif> 选项。如果不需要为文本着色,指定 C<--no-textcolor>(或 C<--...
   ],
   [
      "Processing is done in specified units, but in the case of a sequence of multiple lines of non-empty text, they are converted together into a single line. This operation is performed as follows:\n",
      "处理按指定的单位进行,但对于多行非空文本的序列,会合并为一行。该操作按如下方式执行:\n"
   ],
   [
      "Remove white space at the beginning and end of each line.\n",
      "移除每行开头和结尾的空白。\n"
   ],
   [
      "If a line ends with a full-width punctuation character, concatenate with next line.\n",
      "如果一行以全角标点符号结尾,则与下一行连接。\n"
   ],
   [
      "If a line ends with a full-width character and the next line begins with a full-width character, concatenate the lines.\n",
      "如果一行以全角字符结尾且下一行以全角字符开头,则连接这些行。\n"
   ],
   [
      "If either the end or the beginning of a line is not a full-width character, concatenate them by inserting a space character.\n",
      "如果行的结尾或开头不是全角字符,则在中间插入一个空格字符后再连接。\n"
   ],
   [
      "Cache data is managed based on the normalized text, so even if modifications are made that do not affect the normalization results, the cached translation data will still be effective.\n",
      "缓存数据基于规范化后的文本进行管理,因此即使进行了不影响规范化结果的修改,缓存的翻译数据仍然有效。\n"
   ],
   [
      "This normalization process is performed only for the first (0th) and even-numbered pattern. Thus, if two patterns are specified as follows, the text matching the first pattern will be processed after normalization, and no normalization process...
      "该规范化过程仅对第一个(第 0 个)以及偶数序号的模式执行。因此,如果指定了如下两个模式,则与第一个模式匹配的文本会在规范化后处理,与第二个模式匹配的文本则不执行规范...
   ],
   [
      "Therefore, use the first pattern for text that is to be processed by combining multiple lines into a single line, and use the second pattern for pre-formatted text. If there is no text to match in the first pattern, use a pattern that does not...
      "因此,对于需要将多行合并为一行来处理的文本,使用第一个模式;对于预格式化文本,使用第二个模式。如果第一个模式中没有可匹配的文本,则使用诸如 C<(?!)> 之类不匹配任何内容...
   ],
   [
      "Occasionally, there are parts of text that you do not want translated. For example, tags in markdown files. DeepL suggests that in such cases, the part of the text to be excluded be converted to XML tags, translated, and then restored after th...
      "有时会有不想被翻译的文本部分。例如,Markdown 文件中的标签。DeepL 建议在这种情况下,将需要排除的文本部分转换为 XML 标签,进行翻译后再恢复。为支持此流程,可以指定从翻译中å...
   ],
   [
      "This will interpret each line of the file C<MASKPATTERN> as a regular expression, translate strings matching it, and revert after processing. Lines beginning with C<#> are ignored.\n",
      "这将把文件的每一行 C<MASKPATTERN> 解释为正则表达式,翻译与其匹配的字符串,并在处理后还原。以 C<#> 开头的行将被忽略。\n"
   ],
   [
      "Complex pattern can be written on multiple lines with backslash escaped newline.\n",
      "复杂的模式可以使用反斜杠转义换行写在多行上。\n"
   ],
   [
      "How the text is transformed by masking can be seen by B<--xlate-mask> option.\n",
      "通过 B<--xlate-mask> 选项可以查看文本经屏蔽转换后的样子。\n"
   ],
   [
      "Mask placeholders are well-formed self-closing XML tags such as C<< <m id=\"1\" /> >>. JSON-based LLM engines receive the tags in their input arrays. For DeepL, a request containing marker tags is escaped and enclosed in a temporary C<< <xlate...
      "屏蔽占位符是格式正确的自闭合 XML 标签,例如 C<< <m id=\"1\" /> >>。基于 JSON 的 LLM 引擎会在其输入数组中接收这些标签。对于 DeepL,包含标记标签的请求会被转义并封装在临时的 C<< <xlat...
   ],
   [
      "Masking protects markup from being translated. To conceal sensitive strings from the translation service itself, see L</ANONYMIZATION AND TEMPLATES>; both can be used together.\n",
      "屏蔽可保护标记不被翻译。若要向翻译服务本身隐藏敏感字符串,请参见 L</ANONYMIZATION AND TEMPLATES>;两者可以一起使用。\n"
   ],
   [
      "This interface is experimental and subject to change in the future.\n",
      "此接口为实验性质,将来可能会改变。\n"
   ],
   [
      "Sensitive strings can be concealed before they are sent to the translation API and restored in the output. Three sources of anonymization rules are available: a dictionary file (B<--xlate-anonymize>), inline marks in the document itself (B<--x...
      "敏感字符串可以在发送到翻译 API 之前被隐藏,并在输出中恢复。可使用三种匿名化规则来源:字典文件(B<--xlate-anonymize>)、文档本身中的内联标记(B<--xlate-anonymize-mark>)以及 YAML fron...
   ],
   [
      "For form documents (quarterly reports and the like), define the actors up front and reference them in the body:\n",
      "对于表单类文档(季度报告等),请预先定义参与者,并在正文中引用它们:\n"
   ],
   [
      "Translate the template once per language with C<--xlate-template> (and C<--xlate-frontmatter> when the values are kept in the file), then render each case with B<pandoc-embedz> standalone mode -- values under C<global:> in an external config n...
      "每种语言只需使用 C<--xlate-template> 翻译一次模板(当值保存在文件中时还需使用 C<--xlate-frontmatter>),然后用 B<pandoc-embedz> 独立模式渲染每个案例——外部配置中 C<global:> 下的值完全不ä...
   ],
   [
      "For inline marks, providing a macro definition config makes the same translated template render either the real names or a redacted version:\n",
      "对于内联标记,提供宏定义配置可使同一个已翻译模板渲染为真实姓名或脱敏版本:\n"
   ],
   [
      "Exclude embedz blocks from translation when a document contains them:\n",
      "当文档包含 embedz 块时,将其排除在翻译之外:\n"
   ],
   [
      "Invoke the translation process for each matched area.\n",
      "对每个匹配区域启动翻译过程。\n"
   ],
   [
      "Without this option, B<greple> behaves as a normal search command. So you can check which part of the file will be subject of the translation before invoking actual work.\n",
      "没有该选项时,B<greple> 的行为与普通搜索命令相同。因此,你可以在实际执行之前确认文件的哪些部分将成为翻译对象。\n"
   ],
   [
      "Command result goes to standard out, so redirect to file if necessary, or consider to use L<App::Greple::update> module.\n",
      "命令结果输出到标准输出,如有需要可重定向到文件,或考虑使用 L<App::Greple::update> 模块。\n"
   ],
   [
      "Option B<--xlate> calls B<--xlate-color> option with B<--color=never> option.\n",
      "选项 B<--xlate> 会以 B<--color=never> 选项调用 B<--xlate-color> 选项。\n"
   ],
   [
      "With B<--xlate-fold> option, converted text is folded by the specified width. Default width is 70 and can be set by B<--xlate-fold-width> option. Four columns are reserved for run-in operation, so each line could hold 74 characters at most.\n"...
      "使用 B<--xlate-fold> 选项时,转换后的文本按指定宽度折行。默认宽度为 70,可由 B<--xlate-fold-width> 选项设置。为行内操作预留四列,因此每行最多可容纳 74 个字符。\n"
   ],
   [
      "Specifies the translation engine to be used.\n",
      "指定要使用的翻译引擎。\n"
   ],
   [
      "At this time, the following engines are available\n",
      "目前可用的引擎如下所示\n"
   ],
   [
      "Engine modules are searched in backend namespaces first (C<llm>, then C<gpty>), then directly under C<App::Greple::xlate>. So C<gpt5> loads C<App::Greple::xlate::llm::gpt5> which calls the C<llm> command, while C<gpt4o> falls back to C<App::Gr...



( run in 1.257 second using v1.01-cache-2.11-cpan-a49fcb8fa48 )