|
1 | | -<?xml version='1.0' encoding='@ENCODING@' ?> |
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <!DOCTYPE PHPDOC [ |
3 | | -<!-- Add translated specific definitions and snippets --> |
4 | | -@TRANSLATION_ONLY_INCL_BEGIN@ |
5 | | -<!ENTITY % language-defs SYSTEM "../@LANGDIR@/language-defs.ent"> |
6 | | -<!ENTITY % language-snippets SYSTEM "../@LANGDIR@/language-snippets.ent"> |
7 | | -<!ENTITY % extensions SYSTEM "../@LANGDIR@/extensions.ent"> |
8 | | - |
9 | | -%language-defs; |
10 | | -%extensions; |
11 | | -%language-snippets; |
12 | | -@TRANSLATION_ONLY_INCL_END@ |
13 | | - |
14 | | -<!-- Fallback to English definitions and snippets (in case of missing translation) --> |
15 | | -<!ENTITY % language-defs.default SYSTEM "../@EN_DIR@/language-defs.ent"> |
16 | | -<!ENTITY % language-snippets.default SYSTEM "../@EN_DIR@/language-snippets.ent"> |
17 | | -<!ENTITY % extensions.default SYSTEM "../@EN_DIR@/extensions.ent"> |
18 | 3 |
|
| 4 | +<!-- Parameter entities used to configure manual.xml --> |
| 5 | +<!ENTITY % configure SYSTEM "./temp/manual.conf"> |
| 6 | +%configure; |
| 7 | + |
| 8 | +<!-- Translation layer, if any --> |
| 9 | +<!ENTITY % translation-defs SYSTEM "../%LANGDIR;/language-defs.ent"> |
| 10 | +<!ENTITY % translation-snippets SYSTEM "../%LANGDIR;/language-snippets.ent"> |
| 11 | +<!ENTITY % translation-extensions SYSTEM "../%LANGDIR;/extensions.ent"> |
| 12 | +%translation-defs; |
| 13 | +%translation-snippets; |
| 14 | +%translation-extensions; |
| 15 | + |
| 16 | +<!-- English manual (also works as fallback layer for incomplete translations) --> |
| 17 | +<!ENTITY % language-defs.default SYSTEM "../en/language-defs.ent"> |
| 18 | +<!ENTITY % language-snippets.default SYSTEM "../en/language-snippets.ent"> |
| 19 | +<!ENTITY % extensions.default SYSTEM "../en/extensions.ent"> |
19 | 20 | %language-defs.default; |
20 | 21 | %extensions.default; |
21 | 22 | %language-snippets.default; |
22 | 23 |
|
23 | | -<!-- All global entities for the XML files --> |
24 | | -<!ENTITY % global.entities SYSTEM "./entities/global.ent"> |
25 | | - |
26 | | -<!-- These are language independent --> |
27 | | -<!ENTITY % frontpage.entities SYSTEM "../@EN_DIR@/contributors.ent"> |
| 24 | +<!-- Language independent entities, and language dependent file entities --> |
| 25 | +<!ENTITY % global.entities SYSTEM "./entities/global.ent"> |
| 26 | +<!ENTITY % frontpage.entities SYSTEM "../en/contributors.ent"> |
28 | 27 | <!ENTITY % file.entities SYSTEM "./temp/file-entities.ent"> |
29 | | - |
30 | | -<!-- Include all external DTD parts defined previously --> |
31 | 28 | %global.entities; |
32 | 29 | %file.entities; |
33 | 30 | %frontpage.entities; |
34 | 31 | ]> |
35 | 32 |
|
36 | | -<set xmlns="http://docbook.org/ns/docbook" version="5.2" xml:id="index" xml:lang="@LANG@" xmlns:xlink="http://www.w3.org/1999/xlink"> |
| 33 | +<set xmlns="http://docbook.org/ns/docbook" version="5.2" xml:id="index" xml:lang="&LANG;" xmlns:xlink="http://www.w3.org/1999/xlink"> |
37 | 34 | <title>&PHPManual;</title> |
38 | 35 | &bookinfo; |
39 | 36 |
|
|
464 | 461 | </appendix> |
465 | 462 | </book> |
466 | 463 |
|
467 | | - @CHMONLY_INCL_BEGIN@ |
468 | | - <book xml:id="chmonly"> |
469 | | - <title>&CHMEdition;</title> |
470 | | - &chmonly.aboutchm; |
471 | | - &chmonly.usingchm; |
472 | | - &chmonly.search; |
473 | | - &chmonly.integration; |
474 | | - </book> |
475 | | - @CHMONLY_INCL_END@ |
| 464 | + &manual.chmonly; |
476 | 465 |
|
477 | 466 | </set> |
478 | 467 |
|
|
0 commit comments