doc-en と同期し &true;/&false;/&null; のエンティティ化ほかを反映(32ファイル)#408
Merged
KentarouTakeda merged 2 commits intoJul 11, 2026
Conversation
php/doc-en@911fe79de7 (Use &true;/&false;/&null; entities for boolean/null constants) のマークアップ変更を反映。 - <literal>true/false/null</literal> のうち PHP の定数を表す箇所を &true;/&false;/&null; に置換(型表記の <type>false</type>、コード例内、 引用符付きの入力値リテラルは原文どおり保持) - あわせて同一リビジョン範囲の para→simpara 置換、雛形コメントの除去 (php/doc-en@c62ef37e0d)、PHP_INI_* から <constant>INI_*</constant> への 変更(php/doc-en@d4d5216e7a)、union 型の null 後置 (php/doc-en@77485af088)をミラー - reference/win32service/rightinfo/get-full-username.xml は、原文が同一 リビジョンで returnvalues の散文も書き換えているため訳文を更新。原文が "returns only the username" と限定を明示する形になったのに合わせ 「ユーザー名のみを返します」とし、旧原文の連鎖構造に由来する「ユーザー名も」 の「も」を落とした - language/enumerations.xml と language/oop5/overloading.xml は既に &null; を 使用済みのため EN-Revision のみ更新 対象: language (6), reference/datetime (3), reference/mbstring (2), reference/pdo (2), reference/filter (1), reference/info (1), reference/intl (1), reference/reflection (1), reference/win32service (1)
php/doc-en@6047c10c1f (Fix codespell typos in actively maintained PECL extensions) の変更を反映。訳文の散文に変更はない。 - 英語の綴り修正は、日本語版に逐語コピーされたまま残っている英語(未訳の パラメータ説明・サンプルコード内のコメントや文字列)にのみ反映。和訳済みの 箇所は原文の綴り修正が訳文に影響しないため変更していない - あわせてルート要素の属性順(xmlns / xml:id)と para→simpara の整形をミラー - reference/oci8/ini.xml では oci8.prefetch_lob_size の Changeable の誤りを 修正(INI_ALL → INI_SYSTEM)。原文が当該行を書き換えている同期対象行であり、 INI_ALL は ini_set() で実行時に変更できるという原文と正反対の意味になる 対象: reference/imagick (10), reference/oci8 (2), reference/ibm_db2 (1), reference/memcached (1)
aa4687f to
a724e3f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
翻訳内容
doc-en のマークアップ変更「Use
&true;/&false;/&null;entities for boolean/null constants」と、PECL 拡張の codespell 修正への追従です。原文が散文を書き換えている 1 ファイル(win32service)を除き、訳文の散文には変更がありません。&true;/&false;/&null;のエンティティ化ほか(18件) — php/doc-en@911fe79de7<literal>true/false/null</literal>のうち、PHP の定数を表す箇所をエンティティに置換しました。型表記の<type>false</type>、コード例内、引用符付きの入力値リテラル(FILTER_VALIDATE_BOOL が受け付ける"true"等)は、原文と同じく置換していません。あわせて同一リビジョン範囲の以下もミラーしています。
PHP_INI_*から<constant>INI_*</constant>への変更 — php/doc-en@d4d5216e7a対象ファイル:
language/enumerations.xml と language/oop5/overloading.xml は既に
&null;を使用済みのため、EN-Revision のみ更新しています。reference/win32service/rightinfo/get-full-username.xml は、原文が同一リビジョンで returnvalues の散文も書き換えているため、訳文も更新しました。
限定を明示する
onlyに合わせて「ユーザー名のみを返します」とし、旧原文の連鎖構造(or ... or ...)に由来する「ユーザー名も見つからない場合」の「も」を落としています。PECL 拡張の綴り修正と DocBook 整形(14件) — php/doc-en@6047c10c1f
英語の綴り修正は、日本語版に逐語コピーされたまま残っている英語(未訳のパラメータ説明・サンプルコード内のコメントや文字列)にのみ反映しました。和訳済みの箇所は、原文の綴り修正が訳文に影響しないため変更していません。あわせて、ルート要素の属性順(xmlns / xml:id)と para→simpara の整形をミラーしています。
対象ファイル:
reference/oci8/ini.xml では
oci8.prefetch_lob_sizeの Changeable の誤りを修正しています(INI_ALL→INI_SYSTEM)。原文が当該行を書き換えている同期対象行であり、INI_ALLはini_set()で実行時に変更できるという、原文と正反対の意味になります。