You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2009/02/16 12:38:34 UTC
svn commit: r744898 - in /httpd/httpd/branches/2.2.x/docs/manual/style:
lang/de.xml lang/en.xml lang/es.xml lang/fr.xml lang/ja.xml lang/ko.xml
lang/pt-br.xml lang/ru.xml lang/tr.xml xsl/nroff.xsl
Author: nilgun
Date: Mon Feb 16 11:38:19 2009
New Revision: 744898
URL: http://svn.apache.org/viewvc?rev=744898&view=rev
Log:
some modifications to generate the man pages in other languages
Modified:
httpd/httpd/branches/2.2.x/docs/manual/style/lang/de.xml
httpd/httpd/branches/2.2.x/docs/manual/style/lang/en.xml
httpd/httpd/branches/2.2.x/docs/manual/style/lang/es.xml
httpd/httpd/branches/2.2.x/docs/manual/style/lang/fr.xml
httpd/httpd/branches/2.2.x/docs/manual/style/lang/ja.xml
httpd/httpd/branches/2.2.x/docs/manual/style/lang/ko.xml
httpd/httpd/branches/2.2.x/docs/manual/style/lang/pt-br.xml
httpd/httpd/branches/2.2.x/docs/manual/style/lang/ru.xml
httpd/httpd/branches/2.2.x/docs/manual/style/lang/tr.xml
httpd/httpd/branches/2.2.x/docs/manual/style/xsl/nroff.xsl
Modified: httpd/httpd/branches/2.2.x/docs/manual/style/lang/de.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/style/lang/de.xml?rev=744898&r1=744897&r2=744898&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/style/lang/de.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/style/lang/de.xml Mon Feb 16 11:38:19 2009
@@ -63,6 +63,10 @@
<!-- Used in manualpage -->
<message id="relatedmodules">Referenzierte Module</message>
<message id="relateddirectives">Referenzierte Direktiven</message>
+ <message id="lowercase">abcdefghijklmnopqrstuvwxyz</message>
+ <message id="uppercase">ABCDEFGHIJKLMNOPQRSTUVWXYZ</message>
+ <message id="name-section">NAME</message>
+ <message id="hyphenation"></message>
<!-- Used in description box for directives -->
<message id="syntax">Syntax</message>
Modified: httpd/httpd/branches/2.2.x/docs/manual/style/lang/en.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/style/lang/en.xml?rev=744898&r1=744897&r2=744898&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/style/lang/en.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/style/lang/en.xml Mon Feb 16 11:38:19 2009
@@ -67,6 +67,10 @@
<!-- Used in manualpage -->
<message id="relatedmodules">Related Modules</message>
<message id="relateddirectives">Related Directives</message>
+ <message id="lowercase">abcdefghijklmnopqrstuvwxyz</message>
+ <message id="uppercase">ABCDEFGHIJKLMNOPQRSTUVWXYZ</message>
+ <message id="name-section">NAME</message>
+ <message id="hyphenation"></message>
<!-- Used in description box for directives -->
<message id="syntax">Syntax</message>
Modified: httpd/httpd/branches/2.2.x/docs/manual/style/lang/es.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/style/lang/es.xml?rev=744898&r1=744897&r2=744898&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/style/lang/es.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/style/lang/es.xml Mon Feb 16 11:38:19 2009
@@ -65,6 +65,10 @@
<!-- Used in manualpage -->
<message id="relatedmodules">Módulos Relacionados</message>
<message id="relateddirectives">Directivas Relacionadas</message>
+ <message id="lowercase">abcdefghijklmnopqrstuvwxyz</message>
+ <message id="uppercase">ABCDEFGHIJKLMNOPQRSTUVWXYZ</message>
+ <message id="name-section">NAME</message>
+ <message id="hyphenation"></message>
<!-- Used in description box for directives -->
<message id="syntax">Sintaxis</message>
Modified: httpd/httpd/branches/2.2.x/docs/manual/style/lang/fr.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/style/lang/fr.xml?rev=744898&r1=744897&r2=744898&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/style/lang/fr.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/style/lang/fr.xml Mon Feb 16 11:38:19 2009
@@ -69,6 +69,10 @@
<!-- Used in manualpage -->
<message id="relatedmodules">Modules Apparentés</message>
<message id="relateddirectives">Directives Apparentées</message>
+ <message id="lowercase">abcdefghijklmnopqrstuvwxyz</message>
+ <message id="uppercase">ABCDEFGHIJKLMNOPQRSTUVWXYZ</message>
+ <message id="name-section">NAME</message>
+ <message id="hyphenation"></message>
<!-- Used in description box for directives -->
<message id="syntax">Syntaxe</message>
Modified: httpd/httpd/branches/2.2.x/docs/manual/style/lang/ja.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/style/lang/ja.xml?rev=744898&r1=744897&r2=744898&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/style/lang/ja.xml [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/style/lang/ja.xml [utf-8] Mon Feb 16 11:38:19 2009
@@ -62,6 +62,10 @@
<!-- Used in manualpage -->
<message id="relatedmodules">関連モジュール</message>
<message id="relateddirectives">関連ディレクティブ</message>
+ <message id="lowercase">abcdefghijklmnopqrstuvwxyz</message>
+ <message id="uppercase">ABCDEFGHIJKLMNOPQRSTUVWXYZ</message>
+ <message id="name-section">NAME</message>
+ <message id="hyphenation"></message>
<!-- Used in description box for directives -->
<message id="syntax">構文</message>
Modified: httpd/httpd/branches/2.2.x/docs/manual/style/lang/ko.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/style/lang/ko.xml?rev=744898&r1=744897&r2=744898&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/style/lang/ko.xml [euc-kr] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/style/lang/ko.xml [euc-kr] Mon Feb 16 11:38:19 2009
@@ -68,6 +68,10 @@
<!-- Used in manualpage -->
<message id="relatedmodules">관련된 모듈</message>
<message id="relateddirectives">관련된 지시어</message>
+ <message id="lowercase">abcdefghijklmnopqrstuvwxyz</message>
+ <message id="uppercase">ABCDEFGHIJKLMNOPQRSTUVWXYZ</message>
+ <message id="name-section">NAME</message>
+ <message id="hyphenation"></message>
<!-- Used in description box for directives -->
<message id="syntax">문법</message>
Modified: httpd/httpd/branches/2.2.x/docs/manual/style/lang/pt-br.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/style/lang/pt-br.xml?rev=744898&r1=744897&r2=744898&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/style/lang/pt-br.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/style/lang/pt-br.xml Mon Feb 16 11:38:19 2009
@@ -70,6 +70,10 @@
<!-- Used in manualpage -->
<message id="relatedmodules">Módulos Relacionados</message>
<message id="relateddirectives">Diretrizes Relacionadas</message>
+ <message id="lowercase">abcdefghijklmnopqrstuvwxyz</message>
+ <message id="uppercase">ABCDEFGHIJKLMNOPQRSTUVWXYZ</message>
+ <message id="name-section">NAME</message>
+ <message id="hyphenation"></message>
<!-- Used in description box for directives -->
<message id="syntax">Sintaxe</message>
Modified: httpd/httpd/branches/2.2.x/docs/manual/style/lang/ru.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/style/lang/ru.xml?rev=744898&r1=744897&r2=744898&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/style/lang/ru.xml [koi8-r] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/style/lang/ru.xml [koi8-r] Mon Feb 16 11:38:19 2009
@@ -64,6 +64,10 @@
<!-- Used in manualpage -->
<message id="relatedmodules">Смотрите также модули</message>
<message id="relateddirectives">Смотрите также директивы</message>
+ <message id="lowercase">abcdefghijklmnopqrstuvwxyz</message>
+ <message id="uppercase">ABCDEFGHIJKLMNOPQRSTUVWXYZ</message>
+ <message id="name-section">NAME</message>
+ <message id="hyphenation"></message>
<!-- Used in description box for directives -->
<message id="syntax">Синтаксис</message>
Modified: httpd/httpd/branches/2.2.x/docs/manual/style/lang/tr.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/style/lang/tr.xml?rev=744898&r1=744897&r2=744898&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/style/lang/tr.xml [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/style/lang/tr.xml [utf-8] Mon Feb 16 11:38:19 2009
@@ -69,6 +69,10 @@
<!-- Used in manualpage -->
<message id="relatedmodules">İlgili Modüller</message>
<message id="relateddirectives">İlgili Yönergeler</message>
+ <message id="lowercase">abcçdefgğhıijklmnoöpqrsştuüvwxyz</message>
+ <message id="uppercase">ABCÇDEFGĞHIİJKLMNOÖPQRSŞTUÜVWXYZ</message>
+ <message id="name-section">İSİM</message>
+ <message id="hyphenation">.nh</message>
<!-- Used in description box for directives -->
<message id="syntax">Sözdizimi</message>
Modified: httpd/httpd/branches/2.2.x/docs/manual/style/xsl/nroff.xsl
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/style/xsl/nroff.xsl?rev=744898&r1=744897&r2=744898&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/style/xsl/nroff.xsl (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/style/xsl/nroff.xsl Mon Feb 16 11:38:19 2009
@@ -62,7 +62,7 @@
* CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
+ * OTHER DEALINGS IN THE SOFTWARE.
*/ -->
<!DOCTYPE xsl:stylesheet [
@@ -78,8 +78,8 @@
<xsl:param name="date" />
<!-- Constants used for case translation -->
-<xsl:variable name="lowercase" select="'abcdefghijklmnopqrstuvwxyz'" />
-<xsl:variable name="uppercase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'" />
+<xsl:variable name="lowercase" select="$message[@id='lowercase']" />
+<xsl:variable name="uppercase" select="$message[@id='uppercase']" />
<!-- ==================================================================== -->
<!-- <manualpage> -->
@@ -127,7 +127,7 @@
<xsl:text>" "</xsl:text>
<!-- productname -->
-<xsl:value-of select="'Apache HTTP Server'" />
+<xsl:value-of select="concat($message[@id='apache'], ' ', $message[@id='http-server'])" />
<xsl:text>" "</xsl:text>
<!-- title -->
@@ -148,8 +148,8 @@
<!-- Process heading -->
<!-- ==================================================================== -->
<xsl:template match="manualpage/title">
-&lf;
-<xsl:text>.SH NAME</xsl:text>&lf;
+<xsl:value-of select="$message[@id='hyphenation']" />&lf;
+<xsl:value-of select="concat('.SH ', $message[@id='name-section'])" />&lf;
<xsl:variable name="text">
<xsl:call-template name="filter.escape">
<xsl:with-param name="text" select="normalize-space(.)" />