You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2008/03/07 13:44:40 UTC
svn commit: r634645 - in /httpd/httpd/branches/2.0.x/docs/manual/style:
description.xml lang-targets.xml manual.tr.xsl xsl/util/allmodules.xml
xsl/util/designations.xml
Author: nd
Date: Fri Mar 7 04:44:38 2008
New Revision: 634645
URL: http://svn.apache.org/viewvc?rev=634645&view=rev
Log:
build bootstrap
Added:
httpd/httpd/branches/2.0.x/docs/manual/style/manual.tr.xsl (with props)
Modified:
httpd/httpd/branches/2.0.x/docs/manual/style/description.xml
httpd/httpd/branches/2.0.x/docs/manual/style/lang-targets.xml
httpd/httpd/branches/2.0.x/docs/manual/style/xsl/util/allmodules.xml
httpd/httpd/branches/2.0.x/docs/manual/style/xsl/util/designations.xml
Modified: httpd/httpd/branches/2.0.x/docs/manual/style/description.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/docs/manual/style/description.xml?rev=634645&r1=634644&r2=634645&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/style/description.xml (original)
+++ httpd/httpd/branches/2.0.x/docs/manual/style/description.xml Fri Mar 7 04:44:38 2008
@@ -43,5 +43,6 @@
+ chm-es: Spanish (Spain), sorting order: international
+ chm-ja: Japanese
+ chm-ko: Korean
+ + chm-tr: Türkçe
</description>
Modified: httpd/httpd/branches/2.0.x/docs/manual/style/lang-targets.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/docs/manual/style/lang-targets.xml?rev=634645&r1=634644&r2=634645&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/style/lang-targets.xml (original)
+++ httpd/httpd/branches/2.0.x/docs/manual/style/lang-targets.xml Fri Mar 7 04:44:38 2008
@@ -22,9 +22,9 @@
<!-- ==================================================================== -->
<project name="lang-targets">
-<target description="- builds all HTML files and nroff man pages" name="all" depends="de, en, es, fr, ja, ko, ru"/>
-<target description="- builds all zip download packages" name="zip-all" depends="zip-de, zip-en, zip-es, zip-fr, zip-ja, zip-ko, zip-ru"/>
-<target description="- builds all war download packages" name="war-all" depends="war-de, war-en, war-es, war-fr, war-ja, war-ko, war-ru"/>
+<target description="- builds all HTML files and nroff man pages" name="all" depends="de, en, es, fr, ja, ko, ru, tr"/>
+<target description="- builds all zip download packages" name="zip-all" depends="zip-de, zip-en, zip-es, zip-fr, zip-ja, zip-ko, zip-ru, zip-tr"/>
+<target description="- builds all war download packages" name="war-all" depends="war-de, war-en, war-es, war-fr, war-ja, war-ko, war-ru, war-tr"/>
<!-- German -->
<!-- ==================================================================== -->
@@ -188,6 +188,32 @@
<war.generic lang="ru"/>
</target>
+<!-- Turkish -->
+<!-- ==================================================================== -->
+<property value=".xml.tr" name="inputext.tr"/>
+<property value=".html.tr" name="outputext.tr"/>
+
+<target description="- builds Turkish HTML files" name="tr">
+ <html.generic lang="tr"/>
+</target>
+<target unless="-off.tr.done" depends="metafiles" name="-off-tr">
+ <dependencies.offline dir="_off" style="zip" lang="tr"/>
+ <offline.generic dir="_off" style="zip" lang="tr"/>
+ <property value="yes" name="-off.tr.done"/>
+</target>
+<target description="- builds the Turkish zipped download package" depends="-off-tr" name="zip-tr">
+ <zip.generic lang="tr"/>
+</target>
+<target description="- builds the Turkish Konqueror Web Archive" depends="-off-tr" name="war-tr">
+ <war.generic lang="tr"/>
+</target>
+<target description="- builds the Turkish CHM file" name="chm-tr">
+ <chm.generic lang="tr"/>
+</target>
+<target description="- builds the Turkish nroff files" name="man-tr">
+ <nroff.generic lang="tr"/>
+</target>
+
<!-- XML validation. -->
<!-- If you get an error during transformation, this task may be useful -->
<!-- because it mostly gives you a hint, where you forgot the </p> ;-) -->
@@ -203,6 +229,7 @@
<include name="**/*.xml.ja"/>
<include name="**/*.xml.ko"/>
<include name="**/*.xml.ru"/>
+ <include name="**/*.xml.tr"/>
<patternset refid="excludes"/>
<patternset refid="scratch"/>
Added: httpd/httpd/branches/2.0.x/docs/manual/style/manual.tr.xsl
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/docs/manual/style/manual.tr.xsl?rev=634645&view=auto
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/style/manual.tr.xsl (added)
+++ httpd/httpd/branches/2.0.x/docs/manual/style/manual.tr.xsl Fri Mar 7 04:44:38 2008
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
+
+<!-- Read the localized messages from the specified language file -->
+<xsl:variable name="message" select="document('lang/tr.xml')/language/messages/message"/>
+<xsl:variable name="doclang">tr</xsl:variable>
+<xsl:variable name="allmodules" select="document('xsl/util/allmodules.xml')/items/item[@lang=$doclang]"/>
+
+<!-- some meta information have to be passed to the transformation -->
+<xsl:variable name="output-encoding">UTF-8</xsl:variable>
+<xsl:variable name="is-chm" select="false()"/>
+<xsl:variable name="is-zip" select="false()"/>
+
+<!-- Now get the real guts of the stylesheet -->
+<xsl:include href="xsl/common.xsl"/>
+
+</xsl:stylesheet>
\ No newline at end of file
Propchange: httpd/httpd/branches/2.0.x/docs/manual/style/manual.tr.xsl
------------------------------------------------------------------------------
svn:eol-style = native
Modified: httpd/httpd/branches/2.0.x/docs/manual/style/xsl/util/allmodules.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/docs/manual/style/xsl/util/allmodules.xml?rev=634645&r1=634644&r2=634645&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/style/xsl/util/allmodules.xml (original)
+++ httpd/httpd/branches/2.0.x/docs/manual/style/xsl/util/allmodules.xml Fri Mar 7 04:44:38 2008
@@ -7,4 +7,5 @@
<item lang="ja">../../../mod/allmodules.xml.ja</item>
<item lang="ko">../../../mod/allmodules.xml.ko</item>
<item lang="ru">../../../mod/allmodules.xml.ru</item>
+<item lang="tr">../../../mod/allmodules.xml.tr</item>
</items>
Modified: httpd/httpd/branches/2.0.x/docs/manual/style/xsl/util/designations.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/docs/manual/style/xsl/util/designations.xml?rev=634645&r1=634644&r2=634645&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/style/xsl/util/designations.xml (original)
+++ httpd/httpd/branches/2.0.x/docs/manual/style/xsl/util/designations.xml Fri Mar 7 04:44:38 2008
@@ -7,4 +7,5 @@
<item charset="EUC-JP" lang="ja">.html.ja.euc-jp</item>
<item charset="EUC-KR" lang="ko">.html.ko.euc-kr</item>
<item charset="KOI8-R" lang="ru">.html.ru.koi8-r</item>
+<item charset="UTF-8" lang="tr">.html.tr</item>
</items>