There is a bug in configure.php with improper handling
@ENGLISH_ONLY_INCL_BEGIN@ directive, i created the fix (see
attachment).
If it's ok I will commit it.
--
Regards,
Shein Alexey
Index: doc-base/configure.php
===================================================================
--- doc-base/configure.php (revision 313825)
+++ doc-base/configure.php (working copy)
@@ -473,8 +473,10 @@
$ac['LANG'] = 'en';
}
if ($ac["LANG"] == "en") {
- $ac["ENGLISH_ONLY_INCL_BEGIN"] = "<!--";
- $ac["ENGLISH_ONLY_INCL_END"] = "-->";
+ $ac["TRANSLATION_ONLY_INCL_BEGIN"] = "<!--";
+ $ac["TRANSLATION_ONLY_INCL_END"] = "-->";
+} else {
+ $ac["TRANSLATION_ONLY_INCL_BEGIN"] = $ac["TRANSLATION_ONLY_INCL_END"] = "";
}
checkvalue($ac['LANG']);
Index: doc-base/manual.xml.in
===================================================================
--- doc-base/manual.xml.in (revision 313825)
+++ doc-base/manual.xml.in (working copy)
@@ -5,7 +5,7 @@
<!-- $Revision$ -->
<!-- Add translated specific definitions and snippets -->
-@ENGLISH_ONLY_INCL_BEGIN@
+@TRANSLATION_ONLY_INCL_BEGIN@
<!ENTITY % language-defs SYSTEM "../@LANGDIR@/language-defs.ent">
<!ENTITY % language-snippets SYSTEM "../@LANGDIR@/language-snippets.ent">
<!ENTITY % extensions SYSTEM "../@LANGDIR@/extensions.ent">
@@ -13,7 +13,7 @@
%language-defs;
%extensions;
%language-snippets;
-@ENGLISH_ONLY_INCL_END@
+@TRANSLATION_ONLY_INCL_END@
<!-- Fallback to English definitions and snippets (in case of missing
translation) -->
<!ENTITY % language-defs.default SYSTEM "../@EN_DIR@/language-defs.ent">