[DOC-CVS] [doc-en] master: Mark do-not-translate files (#5657)

[email protected] (alfsb via GitHub) Mon, 13 Jul 2026 19:17:44 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: alfsb (alfsb)
Committer: GitHub (web-flow)
Pusher: alfsb
Date: 2026-07-13T16:17:42-03:00

Commit: https://github.com/php/doc-en/commit/b513cbbb4245f3c714d046b8556bd43f77443fc3
Raw diff: https://github.com/php/doc-en/commit/b513cbbb4245f3c714d046b8556bd43f77443fc3.diff

Mark do-not-translate files (#5657)

Apply the new <?do-not-translate?> in doc-en files that are auto-generated, expected not translated, ot that not contains any translatable text.

Changed paths:
  M  appendices/extensions.xml
  M  appendices/license.xml
  M  appendices/reserved.constants.xml
  M  contributors.xml
  M  language/control-structures/versions.xml
  M  reference/datetime/timezones.xml


Diff:

diff --git a/appendices/extensions.xml b/appendices/extensions.xml
index e79c1c83694a..302fd4ce2920 100644
--- a/appendices/extensions.xml
+++ b/appendices/extensions.xml
@@ -1,9 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!--
-  DO NOT TRANSLATE THIS FILE! All the content that is displayed
-  on the extension categorization page in your translated manual
-  can be translated in extensions.ent
--->
+<?do-not-translate?>
 <appendix xmlns="http://docbook.org/ns/docbook" xml:id="extensions">
  &extcat.intro;
 
diff --git a/appendices/license.xml b/appendices/license.xml
index 6800d01adfce..d8b388c25c87 100644
--- a/appendices/license.xml
+++ b/appendices/license.xml
@@ -1,7 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-
-<!-- DO NOT TRANSLATE THIS FILE -->
+<?do-not-translate?>
 
 <appendix xml:id="cc.license" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>Creative Commons Attribution 3.0</title>
@@ -390,4 +388,3 @@
   </listitem>
  </orderedlist>
 </appendix>
-
diff --git a/appendices/reserved.constants.xml b/appendices/reserved.constants.xml
index 9842536fd723..a007e4bbbf57 100644
--- a/appendices/reserved.constants.xml
+++ b/appendices/reserved.constants.xml
@@ -1,17 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
+<?do-not-translate?>
 
- <!--
-   This file should only be present in the English doc tree. If you
-   copy it over to your translation tree you will be hunted down
-   relentlessly! You have been warned! :)
- -->
-
- <sect1 xml:id="reserved.constants" xmlns="http://docbook.org/ns/docbook">
-  <title>&ReservedConstants;</title>
-  &appendices.reserved.constants.core;
-  &appendices.reserved.constants.standard;
- </sect1>
+<sect1 xml:id="reserved.constants" xmlns="http://docbook.org/ns/docbook">
+ <title>&ReservedConstants;</title>
+ &appendices.reserved.constants.core;
+ &appendices.reserved.constants.standard;
+</sect1>
 
 <!-- Keep this comment at the end of the file
 Local variables:
diff --git a/contributors.xml b/contributors.xml
index 0091f412f92c..14a455ac5321 100644
--- a/contributors.xml
+++ b/contributors.xml
@@ -1,11 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
+<?do-not-translate?>
 
- <!--
-   This file should only be present in the English doc tree. If you
-   copy it over to your translation tree you will be hunted down
-   relentlessly! You have been warned! :)
- -->
 <section xmlns="http://docbook.org/ns/docbook" annotations="chunk:false" xml:id="contributors">
  <info><title>&Credit.Authors.and.Contributors;</title></info>
 
diff --git a/language/control-structures/versions.xml b/language/control-structures/versions.xml
index 590b7e62cf8d..d0072519a500 100644
--- a/language/control-structures/versions.xml
+++ b/language/control-structures/versions.xml
@@ -1,8 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!--
-  Do NOT translate this file
--->
+<?do-not-translate?>
 
 <versions>
  <function name='include' from='PHP 4, PHP 5, PHP 7, PHP 8'/>
@@ -51,4 +48,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
 -->
-
diff --git a/reference/datetime/timezones.xml b/reference/datetime/timezones.xml
index fc6184b42aed..83420e2af2d4 100644
--- a/reference/datetime/timezones.xml
+++ b/reference/datetime/timezones.xml
@@ -1,6 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- AUTO GENERATED, DO NOT TRANSLATE OR MODIFY BY HAND -->
+<?xml version="1.0" encoding="utf-8"?>
+<?do-not-translate?>
 
+<!-- AUTO GENERATED, DO NOT TRANSLATE OR MODIFY BY HAND -->
 <!-- The script to generate this file is scripts/gen-phpdoc-tz-list.php -->
 <!-- in the doc-base repo. However, it should only need to be run when  -->
 <!-- the tzdb file is updated by the maintainer of DateTime/timelib.    -->
@@ -1078,4 +1079,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=php
 vi: ts=4 sw=1
 -->
-