1
0
mirror of https://github.com/php/doc-zh.git synced 2026-03-23 22:52:08 +01:00

4977 Commits

Author SHA1 Message Date
Louis-Arnaud
e0b46ffebd Fix root files: translation quality and typos (#1021)
- bookinfo.xml: 服从→遵守 (legal context), translate "license"→"许可"
- preface.xml: 利用了→借鉴了 (draws upon, not utilizes)
- translation.xml: 可与→可于 typo, http→https URL
2026-03-17 18:46:16 +08:00
Louis-Arnaud
8ea9542a94 Fix install/: untranslated text, typos, translation errors (#1020)
- unix/openbsd.xml: translate untranslated English paragraphs
- fpm/configuration.xml: fix <type>in</type> → <type>int</type> typo
- unix/nginx.xml: fix duplicated SAPI SAPI → FPM SAPI
- ini.xml: fix virtualhost → ini_set translation error
2026-03-17 18:44:53 +08:00
Louis-Arnaud
6e065355ce Check translation for features (#1019)
* Fix features/: translations, security, missing content

- remote-files.xml: remove duplicated 如果
- sessions.xml: 新引力→吸引力
- persistent-connections.xml: fix 自以为→用作 translation error
- gc.xml: remove translator comment left in published text
- http-auth.xml: add htmlspecialchars() for XSS protection, sync with EN
- file-upload.xml: translate 2 untranslated English paragraphs,
  add missing "Uploading an entire directory" section

* Update file-upload.xml

根据 https://github.com/php/doc-zh?tab=readme-ov-file#有关在翻译后的中文文件中的空格与换行的说明 更新内容换行

---------

Co-authored-by: mowangjuanzi <mowangjuanzi@petalmail.com>
2026-03-17 18:28:01 +08:00
Louis-Arnaud
ecf1e5b1cc Check translation for faq (#1016)
* Fix faq: critical translation errors and Chinese typos

- using.xml: 区分大小写→不区分大小写 (opposite meaning), update shorthand notation usage
- mailinglist.xml: remove stray 'å' character, <literal>→<emphasis> for emphasis
- com.xml: fix &amp;true; → &true; entity references, <xref>→<link> to match EN
- obtaining.xml: 组和→组合 typo
- passwords.xml: 将会窃取→将被窃取 (missing passive voice)
- html.xml: add missing <example><title> wrapper for Javascript example

* Fix faq/installation.xml: sync with EN, remove outdated content

- Remove obsolete MacOS parenthetical
- Remove extra Windows threading paragraph
- php.ini-dist → php.ini-development
- ereg → preg_match (ereg removed in PHP 7)
- php4 → php5 in paths, php4ts.dll → php5ts.dll
- Add missing php_ini_loaded_file reference
- Remove Win98/Me autoexec.bat section
- Remove obsolete Windows system directory paragraph
- Simplify Windows PATH instructions to match EN
- Remove PHP 4 handler from multiviews example

* Fix faq/com.xml: replace Unicode smart quotes with ASCII quotes

The linkend attributes used Unicode right double quotation marks (U+201D)
instead of ASCII double quotes, causing XML parse failures in CI.

* Update com.xml

将中文句式中的英文引号修改为中文引号

---------

Co-authored-by: mowangjuanzi <mowangjuanzi@petalmail.com>
2026-03-17 18:02:00 +08:00
Luffy
db997b882f Sync return type changes (#1026) 2026-03-13 11:10:00 +08:00
Luffy
0966ab43e6 Fix return type: bool -> true (#1025) 2026-03-04 11:25:01 +08:00
Louis-Arnaud
28c34e56e2 Check translation for security (#1018)
Co-authored-by: Luffy <52o@qq52o.cn>
2026-02-26 15:06:21 +08:00
Louis-Arnaud
f1f430972a Check translation for chapters (#1017) 2026-02-23 11:09:37 +08:00
Luffy
94c7473f09 FPM Status page: Fix proxypass URL (#1024) 2026-02-22 11:21:34 +08:00
Luffy
0c9347c60c Fix rand() range constraint to use abs() for reversed parameters (#1015) 2026-02-19 16:15:24 +08:00
Luffy
44f44ab20d Document setlocale() incompatibility with integer 0 in PHP 8.5 (#1014) 2026-02-15 21:23:27 +08:00
Luffy
05bc7d93af Move default flag clarification to top of flags description (#1013) 2026-02-12 12:26:58 +08:00
Luffy
c88c12d032 Sync outdated files (#1012) 2026-02-10 11:36:45 +08:00
Luffy
67724ba5ff Sync datetime (#1011) 2026-02-07 21:18:48 +08:00
Luffy
c45ebf30d7 Fix commit id (#1010) 2026-01-30 18:27:52 +08:00
Gina Peter Banyard
483d0eb456 snmp: fix XML by converting para to simpara tags via script 2026-01-26 15:36:05 +00:00
Gina Peter Banyard
2ea5580cc8 snmp: fix XML to remove useless wrapping para tags via script 2026-01-26 15:36:05 +00:00
Gina Peter Banyard
2e6f9aa769 readline: fix XML by converting para to simpara tags via script 2026-01-26 15:31:36 +00:00
Gina Peter Banyard
653076f0a7 readline: fix XML to remove useless wrapping para tags via script 2026-01-26 15:31:36 +00:00
Gina Peter Banyard
9a623afdaa svm: fix XML by converting para to simpara tags via script 2026-01-26 14:48:49 +00:00
Gina Peter Banyard
6bcdaee840 fpm : fix XML by converting para to simpara tags via script 2026-01-26 14:26:52 +00:00
Gina Peter Banyard
7fff9d6003 svm: apply commit 9c0ef76f75541c95cd3c2a031f132a002ea30091 2026-01-26 13:52:25 +00:00
Luffy
a08601d993 Sync outdated files (#1009) 2026-01-26 10:54:24 +08:00
Gina Peter Banyard
1401fe4db4 svn : fix XML by converting para to simpara tags via script 2026-01-25 16:25:18 +00:00
Gina Peter Banyard
486ff26fbc svn: fix XML to remove useless wrapping para tags via script 2026-01-25 16:25:18 +00:00
Gina Peter Banyard
aafb8f64b6 stomp : fix XML by converting para to simpara tags via script 2026-01-25 16:24:10 +00:00
Gina Peter Banyard
6ad85b6aea stomp: fix XML to remove useless wrapping para tags via script 2026-01-25 16:24:10 +00:00
Gina Peter Banyard
226e6a628d rrd : fix XML by converting para to simpara tags via script 2026-01-25 15:21:41 +00:00
Gina Peter Banyard
74b2cf7dea seaslog : fix XML by converting para to simpara tags via script 2026-01-25 15:20:34 +00:00
Gina Peter Banyard
22fe4957ce seaslog: fix XML to remove useless wrapping para tags via script 2026-01-25 15:20:33 +00:00
Gina Peter Banyard
3c1257e1f9 bzip2 : fix XML by converting para to simpara tags via script 2026-01-25 15:17:41 +00:00
Gina Peter Banyard
1b9c8d98bf bzip2: fix XML to remove useless wrapping para tags via script 2026-01-25 15:17:41 +00:00
mowangjuanzi
b99e826b2a Update language/network/opcache 2026-01-22 10:32:08 +08:00
Szopen Xiao
84ee78b47a Fix default name error (#1008) 2026-01-19 16:39:41 +08:00
Gina Peter Banyard
f80c957d51 parallel : fix XML by converting para to simpara tags via script 2026-01-19 03:29:27 +00:00
Gina Peter Banyard
92b6b1c480 memcache : fix XML by converting para to simpara tags via script 2026-01-19 03:25:51 +00:00
Gina Peter Banyard
9eccf85f9a memcache: fix XML to remove useless wrapping para tags via script 2026-01-19 03:25:51 +00:00
Gina Peter Banyard
19aa702c96 mcrypt : fix XML by converting para to simpara tags via script 2026-01-19 03:24:41 +00:00
Gina Peter Banyard
5776cb682e mcrypt: fix XML to remove useless wrapping para tags via script 2026-01-19 03:24:40 +00:00
Gina Peter Banyard
1979f8f94d mysql : fix XML by converting para to simpara tags via script 2026-01-19 03:23:15 +00:00
Gina Peter Banyard
6a41a55953 mysql: fix XML to remove useless wrapping para tags via script 2026-01-19 03:23:15 +00:00
Gina Peter Banyard
5e35e534fd oauth : fix XML by converting para to simpara tags via script 2026-01-19 03:22:00 +00:00
Gina Peter Banyard
5fce2d9dda oauth: fix XML to remove useless wrapping para tags via script 2026-01-19 03:22:00 +00:00
Gina Peter Banyard
22ff33a261 pthreads : fix XML by converting para to simpara tags via script 2026-01-19 03:20:47 +00:00
Gina Peter Banyard
5173b0944e pthreads: fix XML to remove useless wrapping para tags via script 2026-01-19 03:20:47 +00:00
Gina Peter Banyard
503a5f500b lua : fix XML by converting para to simpara tags via script 2026-01-19 02:47:08 +00:00
Luffy
cbe9b4e81d Sync openssl functions (#1007) 2026-01-19 09:31:50 +08:00
Gina Peter Banyard
10bd85746c apcu : fix XML by converting para to simpara tags via script 2026-01-18 23:14:05 +00:00
Gina Peter Banyard
69475edb1d cubrid : fix XML by converting para to simpara tags via script 2026-01-18 22:55:25 +00:00
Gina Peter Banyard
f0c252656e hrtime : fix XML by converting para to simpara tags via script 2026-01-18 22:45:14 +00:00