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 2005/01/04 16:09:03 UTC

svn commit: r124109 - /httpd/httpd/trunk/docs/manual/style/lang-targets.xml /httpd/httpd/trunk/docs/manual/style/manual.pt-br.xsl /httpd/httpd/trunk/docs/manual/style/xsl/util/allmodules.xml /httpd/httpd/trunk/docs/manual/style/xsl/util/designations.xml

Author: nd
Date: Tue Jan  4 07:08:58 2005
New Revision: 124109

URL: http://svn.apache.org/viewcvs?view=rev&rev=124109
Log:
build bootstrap

Added:
   httpd/httpd/trunk/docs/manual/style/manual.pt-br.xsl
Modified:
   httpd/httpd/trunk/docs/manual/style/lang-targets.xml
   httpd/httpd/trunk/docs/manual/style/xsl/util/allmodules.xml
   httpd/httpd/trunk/docs/manual/style/xsl/util/designations.xml

Modified: httpd/httpd/trunk/docs/manual/style/lang-targets.xml
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/style/lang-targets.xml?view=diff&rev=124109&p1=httpd/httpd/trunk/docs/manual/style/lang-targets.xml&r1=124108&p2=httpd/httpd/trunk/docs/manual/style/lang-targets.xml&r2=124109
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/lang-targets.xml	(original)
+++ httpd/httpd/trunk/docs/manual/style/lang-targets.xml	Tue Jan  4 07:08:58 2005
@@ -21,9 +21,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, pt-br, 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-pt-br, 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-pt-br, war-ru"/>
 
 <!-- German                                                               -->
 <!-- ==================================================================== -->
@@ -167,6 +167,26 @@
     <chm.generic lang="ko"/>
 </target>
 
+<!-- Portuguese                                                           -->
+<!-- ==================================================================== -->
+<property value=".xml.pt-br" name="inputext.pt-br"/>
+<property value=".html.pt-br" name="outputext.pt-br"/>
+
+<target description="- builds Portuguese HTML files" name="pt-br">
+    <html.generic lang="pt-br"/>
+</target>
+<target unless="-off.pt-br.done" depends="metafiles" name="-off-pt-br">
+    <dependencies.offline dir="_off" style="zip" lang="pt-br"/>
+    <offline.generic dir="_off" style="zip" lang="pt-br"/>
+    <property value="yes" name="-off.pt-br.done"/>
+</target>
+<target description="- builds the Portuguese zipped download package" depends="-off-pt-br" name="zip-pt-br">
+    <zip.generic lang="pt-br"/>
+</target>
+<target description="- builds the Portuguese Konqueror Web Archive" depends="-off-pt-br" name="war-pt-br">
+    <war.generic lang="pt-br"/>
+</target>
+
 <!-- Russian                                                              -->
 <!-- ==================================================================== -->
 <property value=".xml.ru" name="inputext.ru"/>
@@ -201,6 +221,7 @@
             <include name="**/*.xml.fr"/>
             <include name="**/*.xml.ja"/>
             <include name="**/*.xml.ko"/>
+            <include name="**/*.xml.pt-br"/>
             <include name="**/*.xml.ru"/>
 
             <patternset refid="excludes"/>

Added: httpd/httpd/trunk/docs/manual/style/manual.pt-br.xsl
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/style/manual.pt-br.xsl?view=auto&rev=124109
==============================================================================
--- (empty file)
+++ httpd/httpd/trunk/docs/manual/style/manual.pt-br.xsl	Tue Jan  4 07:08:58 2005
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed 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="ISO-8859-1" 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/pt-br.xml')/language/messages/message"/>
+<xsl:variable name="doclang">pt-br</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">ISO-8859-1</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

Modified: httpd/httpd/trunk/docs/manual/style/xsl/util/allmodules.xml
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/style/xsl/util/allmodules.xml?view=diff&rev=124109&p1=httpd/httpd/trunk/docs/manual/style/xsl/util/allmodules.xml&r1=124108&p2=httpd/httpd/trunk/docs/manual/style/xsl/util/allmodules.xml&r2=124109
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/xsl/util/allmodules.xml	(original)
+++ httpd/httpd/trunk/docs/manual/style/xsl/util/allmodules.xml	Tue Jan  4 07:08:58 2005
@@ -6,5 +6,6 @@
 <item lang="fr">../../../mod/allmodules.xml.fr</item>
 <item lang="ja">../../../mod/allmodules.xml.ja</item>
 <item lang="ko">../../../mod/allmodules.xml.ko</item>
+<item lang="pt-br">../../../mod/allmodules.xml.pt-br</item>
 <item lang="ru">../../../mod/allmodules.xml.ru</item>
 </items>

Modified: httpd/httpd/trunk/docs/manual/style/xsl/util/designations.xml
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/style/xsl/util/designations.xml?view=diff&rev=124109&p1=httpd/httpd/trunk/docs/manual/style/xsl/util/designations.xml&r1=124108&p2=httpd/httpd/trunk/docs/manual/style/xsl/util/designations.xml&r2=124109
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/xsl/util/designations.xml	(original)
+++ httpd/httpd/trunk/docs/manual/style/xsl/util/designations.xml	Tue Jan  4 07:08:58 2005
@@ -6,5 +6,6 @@
 <item charset="ISO-8859-1" lang="fr">.html.fr</item>
 <item charset="EUC-JP" lang="ja">.html.ja.euc-jp</item>
 <item charset="EUC-KR" lang="ko">.html.ko.euc-kr</item>
+<item charset="ISO-8859-1" lang="pt-br">.html.pt-br</item>
 <item charset="KOI8-R" lang="ru">.html.ru.koi8-r</item>
 </items>