Skip to content

Commit b513cbb

Browse files
authored
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.
1 parent 9a5e44a commit b513cbb

6 files changed

Lines changed: 13 additions & 35 deletions

File tree

appendices/extensions.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!--
3-
DO NOT TRANSLATE THIS FILE! All the content that is displayed
4-
on the extension categorization page in your translated manual
5-
can be translated in extensions.ent
6-
-->
2+
<?do-not-translate?>
73
<appendix xmlns="http://docbook.org/ns/docbook" xml:id="extensions">
84
&extcat.intro;
95

appendices/license.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- $Revision$ -->
3-
4-
<!-- DO NOT TRANSLATE THIS FILE -->
2+
<?do-not-translate?>
53

64
<appendix xml:id="cc.license" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
75
<title>Creative Commons Attribution 3.0</title>
@@ -390,4 +388,3 @@
390388
</listitem>
391389
</orderedlist>
392390
</appendix>
393-

appendices/reserved.constants.xml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- $Revision$ -->
2+
<?do-not-translate?>
33

4-
<!--
5-
This file should only be present in the English doc tree. If you
6-
copy it over to your translation tree you will be hunted down
7-
relentlessly! You have been warned! :)
8-
-->
9-
10-
<sect1 xml:id="reserved.constants" xmlns="http://docbook.org/ns/docbook">
11-
<title>&ReservedConstants;</title>
12-
&appendices.reserved.constants.core;
13-
&appendices.reserved.constants.standard;
14-
</sect1>
4+
<sect1 xml:id="reserved.constants" xmlns="http://docbook.org/ns/docbook">
5+
<title>&ReservedConstants;</title>
6+
&appendices.reserved.constants.core;
7+
&appendices.reserved.constants.standard;
8+
</sect1>
159

1610
<!-- Keep this comment at the end of the file
1711
Local variables:

contributors.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- $Revision$ -->
2+
<?do-not-translate?>
33

4-
<!--
5-
This file should only be present in the English doc tree. If you
6-
copy it over to your translation tree you will be hunted down
7-
relentlessly! You have been warned! :)
8-
-->
94
<section xmlns="http://docbook.org/ns/docbook" annotations="chunk:false" xml:id="contributors">
105
<info><title>&Credit.Authors.and.Contributors;</title></info>
116

language/control-structures/versions.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- $Revision$ -->
3-
<!--
4-
Do NOT translate this file
5-
-->
2+
<?do-not-translate?>
63

74
<versions>
85
<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
5148
vim: et tw=78 syn=sgml
5249
vi: ts=1 sw=1
5350
-->
54-

reference/datetime/timezones.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<!-- AUTO GENERATED, DO NOT TRANSLATE OR MODIFY BY HAND -->
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<?do-not-translate?>
33

4+
<!-- AUTO GENERATED, DO NOT TRANSLATE OR MODIFY BY HAND -->
45
<!-- The script to generate this file is scripts/gen-phpdoc-tz-list.php -->
56
<!-- in the doc-base repo. However, it should only need to be run when -->
67
<!-- the tzdb file is updated by the maintainer of DateTime/timelib. -->
@@ -1078,4 +1079,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
10781079
vim: et tw=78 syn=php
10791080
vi: ts=4 sw=1
10801081
-->
1081-

0 commit comments

Comments
 (0)