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 2010/12/05 21:30:02 UTC

svn commit: r1042435 - in /httpd/httpd/trunk/docs/manual/style: description.xml lang-targets.xml lang/da.xml manual.da.xsl xsl/util/allmodules.xml xsl/util/designations.xml

Author: nd
Date: Sun Dec  5 20:30:01 2010
New Revision: 1042435

URL: http://svn.apache.org/viewvc?rev=1042435&view=rev
Log:
Add danish language.

* manual/style/lang/da.xml: Translated from en.xml by Lars Nielsen <lars lfweb.dk>

* manual/style/description.xml
  manual/style/lang-targets.xml
  manual/style/manual.da.xsl
  manual/style/xsl/util/allmodules.xml
  manual/style/xsl/util/designations.xml: autogenerated by ./build.sh bootstrap


Added:
    httpd/httpd/trunk/docs/manual/style/lang/da.xml   (with props)
    httpd/httpd/trunk/docs/manual/style/manual.da.xsl   (with props)
Modified:
    httpd/httpd/trunk/docs/manual/style/description.xml
    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/description.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/description.xml?rev=1042435&r1=1042434&r2=1042435&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/description.xml (original)
+++ httpd/httpd/trunk/docs/manual/style/description.xml Sun Dec  5 20:30:01 2010
@@ -38,6 +38,7 @@ Some targets have additional requirement
   - The appropriate locale (e.g. Japanese) before invoking hhc.exe. Otherwise
     the compiler is not able to build the fulltext search index correctly and
     the TOC may be garbled, too. In particular:
+    + chm-da: Dansk (DK)
     + chm-de: German (Germany), sorting order: dictionary
     + chm-en: English (USA)
     + chm-es: Spanish (Spain), sorting order: international

Modified: httpd/httpd/trunk/docs/manual/style/lang-targets.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/lang-targets.xml?rev=1042435&r1=1042434&r2=1042435&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/lang-targets.xml (original)
+++ httpd/httpd/trunk/docs/manual/style/lang-targets.xml Sun Dec  5 20:30:01 2010
@@ -23,9 +23,35 @@
 <project name="lang-targets">
 
 <target name="check-man"><if><not><available type="dir" file="../../man"/></not><then><property value="yes" name="skip-man"/></then></if></target>
-<target description="- builds all HTML files and nroff man pages" name="all" depends="de, en, es, fr, ja, ko, pt-br, 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-pt-br, 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-pt-br, war-ru, war-tr"/>
+<target description="- builds all HTML files and nroff man pages" name="all" depends="da, de, en, es, fr, ja, ko, pt-br, ru, tr"/>
+<target description="- builds all zip download packages" name="zip-all" depends="zip-da, zip-de, zip-en, zip-es, zip-fr, zip-ja, zip-ko, zip-pt-br, zip-ru, zip-tr"/>
+<target description="- builds all war download packages" name="war-all" depends="war-da, war-de, war-en, war-es, war-fr, war-ja, war-ko, war-pt-br, war-ru, war-tr"/>
+
+<!-- Dansk                                                                -->
+<!-- ==================================================================== -->
+<property value=".xml.da" name="inputext.da"/>
+<property value=".html.da" name="outputext.da"/>
+
+<target description="- builds Dansk HTML files" name="da">
+    <html.generic lang="da"/>
+</target>
+<target unless="-off.da.done" depends="metafiles" name="-off-da">
+    <dependencies.offline dir="_off" style="zip" lang="da"/>
+    <offline.generic dir="_off" style="zip" lang="da"/>
+    <property value="yes" name="-off.da.done"/>
+</target>
+<target description="- builds the Dansk zipped download package" depends="-off-da" name="zip-da">
+    <zip.generic lang="da"/>
+</target>
+<target description="- builds the Dansk Konqueror Web Archive" depends="-off-da" name="war-da">
+    <war.generic lang="da"/>
+</target>
+<target description="- builds the Dansk CHM file" name="chm-da">
+    <chm.generic lang="da"/>
+</target>
+<target description="- builds the Dansk nroff files" unless="skip-man" depends="check-man" name="man-da">
+    <nroff.generic lang="da"/>
+</target>
 
 <!-- German                                                               -->
 <!-- ==================================================================== -->
@@ -243,6 +269,7 @@
     <xmlvalidate warn="true" failonerror="false" lenient="false">
         <xmlcatalog refid="w3c-catalog"/>
         <fileset dir="../">
+            <include name="**/*.xml.da"/>
             <include name="**/*.xml.de"/>
             <include name="**/*.xml"/>
             <include name="**/*.xml.es"/>

Added: httpd/httpd/trunk/docs/manual/style/lang/da.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/lang/da.xml?rev=1042435&view=auto
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/lang/da.xml (added)
+++ httpd/httpd/trunk/docs/manual/style/lang/da.xml Sun Dec  5 20:30:01 2010
@@ -0,0 +1,141 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE language SYSTEM "../lang.dtd">
+<!-- English Revision: 744890 -->
+
+<!--
+ 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.
+-->
+
+<language id="da">
+    <name>Dansk</name>
+    <charset>ISO-8859-1</charset>
+    <source-ext>.xml.da</source-ext>
+    <target-ext>.html.da</target-ext>
+
+    <chm>
+        <lang>0x409 Dansk (Danmark)</lang>
+        <toc-font>,8,0</toc-font>
+        <charset>windows-1252</charset>
+        <settings>Dansk (DK)</settings>
+    </chm>
+
+    <man>
+        <charset>ISO-8859-1</charset>
+    </man>
+
+    <!-- Some strings might be used in other contexts, than stated in the -->
+    <!-- comments...                                                      -->
+    <messages>
+        <!-- language link titles -->
+        <message id="nativename">Dansk</message>
+
+        <!-- Used for the moduleindex -->
+        <message id="corefeatures">Kerne funktioner og Multi-Processing Modules</message>
+        <message id="othermodules">Andre moduler</message>
+        <message id="obsoletemodules">Forældede Moduler</message>
+
+        <!-- Used for the modulesynopsis and sitemap -->
+        <message id="obsoleteapachemodule">Forældede Apache Moduler</message>
+        <message id="apachemodule">Apache Moduler</message>
+        <message id="apachecore">Apache Kerne funktioner</message>
+        <message id="apachempmcommon">Apache MPM Fælles Direktiver</message>
+        <message id="apachempm">Apache MPM</message>
+
+        <!-- Used in description box for modulesynopsis -->
+        <message id="description">Beskrivelse</message>
+        <message id="seealso">Se også</message>
+        <message id="topics">Emner</message>
+        <message id="status">Status</message>
+        <message id="moduleidentifier">Modul&nbsp;Identifikation</message>
+        <message id="sourcefile">Kilde&nbsp;Fil</message>
+        <message id="compatibility">Kompatibilitet</message>
+
+        <!-- Used in manualpage -->
+        <message id="relatedmodules">Relaterede moduler</message>
+        <message id="relateddirectives">Relaterede Direktiver</message>
+        <message id="lowercase">abcdefghijklmnopqrstuvwxyzæøå</message>
+        <message id="uppercase">ABCDEFGHIJKLMNOPQRSTUVWXYZÆØÅ</message>
+        <message id="name-section">NAVN</message>
+        <message id="hyphenation"></message>
+
+        <!-- Used in description box for directives -->
+        <message id="syntax">Syntaks</message>
+        <message id="default">Standard</message>
+        <message id="context">Kontekst</message>
+        <message id="override">Tilsidesæt</message>
+        <message id="status">Status</message>
+        <message id="module">Modul</message>
+
+        <!-- Status descriptions -->
+        <message id="base" letter="B">Base</message>
+        <message id="mpm" letter="M">MPM</message>
+        <message id="core" letter="C">Kerne</message>
+        <message id="extension" letter="E">Udvidelser</message>
+        <message id="experimental" letter="X">Eksperimental</message>
+        <message id="external" letter="T">Ekstern</message>
+
+        <!-- Used in directive context lists -->
+        <message id="serverconfig" letter="s">server konfiguration</message>
+        <message id="virtualhost" letter="v">virtuel vært</message>
+        <message id="directory" letter="d">mappe</message>
+        <message id="htaccess" letter="h">.htaccess</message>
+
+        <!-- Used for directive lists -->
+        <message id="directives">Direktiver</message>
+        <!-- the optional attribute replace-space-with takes a string.
+             if present, the space between <directive name> and 'Directive'
+             in directivesynopsis headings will be replaced by the given string.
+             (see de.xml for an example) -->
+        <message id="directive">Direktiv</message>
+        <message id="nodirectives">Dette modul har ingen direktiver.</message>
+
+        <!-- Used in summaries -->
+        <message id="summary">Referat</message>
+
+        <!-- Used for glossary link titles -->
+        <message id="glossarylink">Se ordbog</message>
+
+        <!-- Used in headers and footers -->
+        <message id="apachetitle">- Apache HTTP Server</message>
+        <message id="apachehttpserver">Apache HTTP Server Version
+            &httpd.major;.&httpd.minor;</message>
+        <message id="apachedocalt">[APACHE DOCUMENTATION]</message>
+        <message id="search">Google Søgning</message> <!-- search button -->
+        <message id="index">Indeks</message> <!-- deprecated -->
+        <message id="home">Hjem</message> <!-- deprecated -->
+
+        <!-- breadcrumb links -->
+        <message id="apache">Apache</message>
+        <message id="http-server">HTTP Server</message>
+        <message id="documentation">Dokumentation</message>
+        <message id="version">Version &httpd.major;.&httpd.minor;</message>
+
+        <!-- super menu -->
+        <message id="modules">Moduler</message>
+        <message id="faq">FAQ</message>
+        <message id="glossary">Ordbog</message>
+        <message id="sitemap">Sitemap</message>
+
+        <!-- footer line -->
+        <message id="before-license">Licenseret under</message>
+        <message id="after-license"></message>
+        <message id="langavail">Tilgængelige sprog</message>
+
+        <!-- not up to date -->
+        <message id="outofdate">Denne oversættelse kan være forældet. Se den Engelske version for de seneste opdateringer.</message>
+    </messages>
+</language>
+

Propchange: httpd/httpd/trunk/docs/manual/style/lang/da.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: httpd/httpd/trunk/docs/manual/style/manual.da.xsl
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/manual.da.xsl?rev=1042435&view=auto
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/manual.da.xsl (added)
+++ httpd/httpd/trunk/docs/manual/style/manual.da.xsl Sun Dec  5 20:30:01 2010
@@ -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="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/da.xml')/language/messages/message"/>
+<xsl:variable name="doclang">da</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

Propchange: httpd/httpd/trunk/docs/manual/style/manual.da.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: httpd/httpd/trunk/docs/manual/style/xsl/util/allmodules.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/xsl/util/allmodules.xml?rev=1042435&r1=1042434&r2=1042435&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/xsl/util/allmodules.xml (original)
+++ httpd/httpd/trunk/docs/manual/style/xsl/util/allmodules.xml Sun Dec  5 20:30:01 2010
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <items>
+<item lang="da">../../../mod/allmodules.xml.da</item>
 <item lang="de">../../../mod/allmodules.xml.de</item>
 <item lang="en">../../../mod/allmodules.xml</item>
 <item lang="es">../../../mod/allmodules.xml.es</item>

Modified: httpd/httpd/trunk/docs/manual/style/xsl/util/designations.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/xsl/util/designations.xml?rev=1042435&r1=1042434&r2=1042435&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/xsl/util/designations.xml (original)
+++ httpd/httpd/trunk/docs/manual/style/xsl/util/designations.xml Sun Dec  5 20:30:01 2010
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <items>
+<item charset="ISO-8859-1" lang="da">.html.da</item>
 <item charset="ISO-8859-1" lang="de">.html.de</item>
 <item charset="ISO-8859-1" lang="en">.html.en</item>
 <item charset="ISO-8859-1" lang="es">.html.es</item>