Skip to content

更新 Yar 扩展文档的中文翻译 - #1062

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

更新 Yar 扩展文档的中文翻译#1062
laruence wants to merge 2 commits into
php:masterfrom
laruence:translate-yar

Conversation

@laruence

Copy link
Copy Markdown
Member

概要

同步 php/doc-en 中 Yar 扩展文档大修(EN-Revision 75d48299ef,"Revise the Yar extension documentation" #5804)的中文翻译,共 30 个文件:

  • 更新 28 个已有文件至最新英文:book/setup/ini/constants/examples/configureYar_Server/Yar_Client/Yar_Concurrent_Client 概览页、9 个异常类页、方法页(construct/handle/call/loop/setopt/gettype
  • 新增 Yar_Client::getOptYar_Concurrent_Client::reset 两个方法页(EN 大修新增的方法)
  • 删除 reference.xml(EN 重构后不再有函数引用入口)
  • 修正 yar-client-exception.xml 类摘要结构:补齐 &Methods; 块与自身 methodsynopsisxi:include,与 doc-en 保持镜像

已验证

  • CI 同款 check-structure.php 结构镜像检查:checked=29 divergent=0
  • EN-Revision 逐个核实:30 个文件的声明值均等于官方 php/doc-en master 中对应文件的最新提交(75d48299ef
  • 全部文件通过 XML 解析与良构检查(CI 脚本解析成功)
  • Maintainer 均为 mowangjuanziStatus: ready

同步 php/doc-en 中 Yar 扩展文档大修(EN-Revision
75d48299ef, "Revise the Yar extension documentation" #5804),
共 30 个文件:

- 更新 28 个已有文件至最新英文(含 book/setup/ini/constants/
  examples、两个类的概览页、9 个异常类页、10 个方法页)
- 新增 Yar_Client::getOpt、Yar_Concurrent_Client::reset
  两个新方法页(EN 大修新增)
- 删除 reference.xml(EN 已重构为每类独立页面,
  不再有函数引用入口)
- 修正 yar-client-exception.xml 类摘要结构(补齐
  &Methods; 块与自身 methodsynopsis 的 xi:include)
- 全部文件 Maintainer 保持为 mowangjuanzi
同步 php/doc-en 新合并的文档补充(EN-Revision
07275f5d03, "Document the Yar __info magic method and
response id validation" #5807):

- yar_server/handle.xml:新增 __info 魔术方法(自 2.3.0)
  的说明 note 与自定义信息页面的示例
- yar-client-protocol-exception.xml:新增自 2.4.0 起
  响应事务 ID 校验的说明
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