OSDN Git Service

Manual: Use &WinMergeVersion; ENTITY for pasting the version number (drop replaceable...
authorTim Gerundt <tim@gerundt.de>
Wed, 18 Sep 2019 22:18:28 +0000 (00:18 +0200)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Thu, 26 Sep 2019 22:20:08 +0000 (07:20 +0900)
Docs/Manual/EN/About_Doc.xml
Docs/Manual/EN/Index.xml
Docs/Manual/EN/Introduction.xml
Docs/Manual/EN/replaceables.xml [deleted file]
Docs/Manual/JP/About_Doc.xml
Docs/Manual/JP/Introduction.xml
Docs/Manual/JP/replaceables.xml [deleted file]
Docs/Manual/Shared/VersionNumbers.xml [new file with mode: 0644]

index f87e29e..8776e82 100644 (file)
@@ -2,9 +2,7 @@
 <article id="About_Doc">
   <title>About WinMerge Help</title>
 
-  <para>This is Help for WinMerge <xi:include href="replaceables.xml"
-  xmlns:xi="http://www.w3.org/2001/XInclude"
-  xpointer="element(version)" />.</para>
+  <para>This is Help for WinMerge &WinMergeVersion;.</para>
 
   <section>
     <title>Audience and scope</title>
index adad475..b7e8aae 100644 (file)
@@ -1,6 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
 "../Tools/dtd/docbookx.dtd" [
+<!ENTITY % VersionNumbers SYSTEM "../Shared/VersionNumbers.xml">
+  %VersionNumbers;
 <!ENTITY About_Doc SYSTEM "About_Doc.xml">
 <!ENTITY Quick_start SYSTEM "Quick_start.xml">
 <!ENTITY Introduction SYSTEM "Introduction.xml">
@@ -22,9 +24,7 @@
 ]>
 <book id="index">
   <bookinfo>
-    <title>WinMerge <xi:include href="replaceables.xml"
-    xmlns:xi="http://www.w3.org/2001/XInclude" xpointer="element(version)" />
-    Help</title>
+    <title>WinMerge &WinMergeVersion; Help</title>
 
     <productname>WinMerge</productname>
 
@@ -94,8 +94,7 @@
 
   <!-- Note to maintainers:
   Not all doc files are included in this file. There are also fragment files 
-  included at the topic level. For example, several files include elements from 
-  replaceables.xml. Other fragment file is select-unpacker.xml.
+  included at the topic level. A fragment file is for example select-unpacker.xml.
   Please do not delete xml files in this directory unless you know for sure 
   that they are not used. -->
 
index 576aafe..02941a0 100644 (file)
@@ -23,8 +23,7 @@
   <para>The goal of WinMerge development is to make comparing, synchronizing,
   and merging folders and files easy and fast, while maintaining maximum
   reliability. Ease of use is of key importance for reducing errors. The latest
-  version, <xi:include href="replaceables.xml"
-  xmlns:xi="http://www.w3.org/2001/XInclude" xpointer="element(version)" /> is
+  version, &WinMergeVersion; is
   considered a stable and reliable program to use.</para>
 
   <para>Please note that WinMerge is not freeware (as many sites on the Web have
diff --git a/Docs/Manual/EN/replaceables.xml b/Docs/Manual/EN/replaceables.xml
deleted file mode 100644 (file)
index 545bdcb..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-"../Tools/dtd/docbookx.dtd">
-<section>
-  <title>Replaceable phrases</title>
-
-  <informaltable>
-    <tgroup cols="2">
-      <tbody>
-        <row>
-          <entry>WinMerge product name</entry>
-
-          <entry><phrase id="wm-prodname">WinMerge</phrase></entry>
-        </row>
-
-        <row>
-          <entry>Current version (minor)</entry>
-
-          <entry><phrase id="version-full">2.16.4</phrase></entry>
-        </row>
-
-        <row>
-          <entry>Current version (major)</entry>
-
-          <entry><phrase id="version">2.16</phrase></entry>
-        </row>
-      </tbody>
-    </tgroup>
-  </informaltable>
-</section>
index 5f5c0dc..7477b41 100644 (file)
@@ -2,9 +2,7 @@
 <article id="About_Doc">
   <title>WinMergeヘルプについて</title>
 
-  <para>このドキュメントはWinMerge <xi:include href="replaceables.xml"
-  xmlns:xi="http://www.w3.org/2001/XInclude"
-  xpointer="element(version)" />のヘルプです。</para>
+  <para>このドキュメントはWinMerge &WinMergeVersion; のヘルプです。</para>
 
   <section>
     <title>対象読者と範囲</title>
index 60e621e..0a243ca 100644 (file)
@@ -21,7 +21,7 @@
   <para>WinMerge開発のゴールは、フォルダやファイルを比較、同期、
   そして、マージを簡単かつ迅速に行えるようにすることです。
   使い易さは、間違いを減らすために重要なことです。
-  最新版<xi:include href="replaceables.xml" xmlns:xi="http://www.w3.org/2001/XInclude" xpointer="element(version)" />は、
+  最新版 &WinMergeVersion; は、
   安定性と信頼性が考慮されています。</para>
 
   <para>WinMergeは、( 多くのWebサイトで言及されているように)フリーウェアでないことに注意してください。
diff --git a/Docs/Manual/JP/replaceables.xml b/Docs/Manual/JP/replaceables.xml
deleted file mode 100644 (file)
index cba1350..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-"../Tools/dtd/docbookx.dtd">
-<section>
-  <title>置換可能な句</title>
-
-  <informaltable>
-    <tgroup cols="2">
-      <tbody>
-        <row>
-          <entry>製品名</entry>
-
-          <entry><phrase id="wm-prodname">WinMerge</phrase></entry>
-        </row>
-
-        <row>
-          <entry>現在のバージョン(マイナー)</entry>
-
-          <entry><phrase id="version-full">2.16.0</phrase></entry>
-        </row>
-
-        <row>
-          <entry>現在のバージョン(メジャー)</entry>
-
-          <entry><phrase id="version">2.16</phrase></entry>
-        </row>
-      </tbody>
-    </tgroup>
-  </informaltable>
-</section>
\ No newline at end of file
diff --git a/Docs/Manual/Shared/VersionNumbers.xml b/Docs/Manual/Shared/VersionNumbers.xml
new file mode 100644 (file)
index 0000000..8ec9fbc
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!ENTITY WinMergeVersion "2.16">
\ No newline at end of file