Skip to content

新增 Yaconf 扩展文档的中文翻译 - #1060

Open
laruence wants to merge 2 commits into
php:masterfrom
laruence:translate-yaconf
Open

新增 Yaconf 扩展文档的中文翻译#1060
laruence wants to merge 2 commits into
php:masterfrom
laruence:translate-yaconf

Conversation

@laruence

Copy link
Copy Markdown
Member

概要

新增 Yaconf 扩展(PECL)的完整中文翻译,共 9 个文件,对照 doc-en EN-Revision 5ae869b7(yaconf 修订 PR php/doc-en#5801 合入后的版本):

  • reference/yaconf/book.xml — 简介(零拷贝/驻留字符串、COW 共享、INI section 继承、子目录递归、安全边界)
  • reference/yaconf/setup.xml — 安装(PECL / PIE / 源码编译三种方式)
  • reference/yaconf/ini.xmlyaconf.directoryyaconf.check_delay 配置项及 INI 语法示例
  • reference/yaconf/configure.xmlyaconf.xml — 编译配置与类摘要
  • reference/yaconf/versions.xml — 版本信息(do-not-translate,原样复制)
  • reference/yaconf/yaconf/gethas__debug_info 三个方法页

已验证

  • php doc-base/configure.php --with-lang=zh 校验通过(exit 0)
  • 9 个文件全部通过 XML 良构检查
  • CI 同款 check-structure.php 结构镜像检查:checked=8 divergent=0
  • EN-Revision 已核实为 doc-en 上游对应文件的最新提交
  • phd partial 渲染 book.yaconf 成功,页面内容抽查无误

翻译 doc-en 中 Yaconf 扩展的全部 9 个文件(对照 EN-Revision
5ae869b7):book/setup/ini/configure/yaconf/versions 及
Yaconf::get、Yaconf::has、Yaconf::__debug_info 三个方法页。
各文件的 EN-Revision 应指向官方仓库中该文件的最新提交:
7 个文件为 3b052562(Revise the Yaconf extension documentation #5801),
configure.xml 为 9cfadc46,yaconf.xml 为 330a38c4。
同时为 versions.xml 补充追踪头。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant