Sfoglia il codice sorgente

[MANUAL] German:

- sync to r19727

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19808 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 anni fa
parent
commit
ec217db913

+ 9 - 1
documentation/manual/de/manual.xml.in

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 19695 -->
+<!-- EN-Revision: 19722 -->
 <!-- Reviewed: no -->
 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
     "@DOCBOOK_DTD@"
@@ -339,6 +339,14 @@
         <xi:include href="module_specs/Zend_Mail_Read.xml" />
     </chapter>
 
+    <chapter id="zend.markup">
+        <title>Zend_Markup</title>
+        <xi:include href="module_specs/Zend_Markup.xml" />
+        <xi:include href="module_specs/Zend_Markup-Getting-Started.xml" />
+        <xi:include href="module_specs/Zend_Markup-Parsers.xml" />
+        <xi:include href="module_specs/Zend_Markup-Renderers.xml" />
+    </chapter>
+
     <chapter id="zend.measure">
         <title>Zend_Measure</title>
         <xi:include href="module_specs/Zend_Measure-Introduction.xml" />

+ 9 - 4
documentation/manual/de/module_specs/Zend_Db_Select.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 19446 -->
+<!-- EN-Revision: 19726 -->
 <!-- Reviewed: no -->
 <sect1 id="zend.db.select">
     <title>Zend_Db_Select</title>
@@ -1126,8 +1126,9 @@ $select = $db->select()
             <para>
                 In <classname>Zend_Db_Select</classname> kann die <methodname>limit()</methodname>
                 Methode verwendet werden um die Anzahl von Zeilen und die Anzahl der auszulassenden
-                Spalten anzugeben. Das erste Argument ist die gewünschte Anzahl von Zeilen. Das
-                zweite Argument gibt die Anzahl der auszulassenden Zeilen an.
+                Spalten anzugeben. Das <emphasis>erste</emphasis> Argument dieser Methode ist die
+                gewünschte Anzahl an Zeilen. Das <emphasis>zweite</emphasis> Argument gibt die
+                Anzahl der auszulassenden Zeilen an.
             </para>
 
             <example id="zend.db.select.building.limit.example">
@@ -1139,11 +1140,15 @@ $select = $db->select()
 //   SELECT p."product_id", p."product_name"
 //   FROM "products" AS p
 //   LIMIT 10, 20
+// Identisch zu:
+//   SELECT p."product_id", p."product_name"
+//   FROM "products" AS p
+//   LIMIT 20 OFFSET 10
 
 $select = $db->select()
              ->from(array('p' => 'products'),
                     array('product_id', 'product_name'))
-             ->limit(10, 20);
+             ->limit(20, 10);
 ]]></programlisting>
 
             </example>

+ 27 - 26
documentation/manual/de/module_specs/Zend_Markup-Getting-Started.xml

@@ -1,46 +1,46 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 19720 -->
+<!-- EN-Revision: 19724 -->
 <!-- Reviewed: no -->
 <sect1 id="zend.markup.getting-started">
     <title>Beginnen mit Zend_Markup</title>
 
     <para>
-        This guide to get you started with <classname>Zend_Markup</classname> uses the BBCode parser
-        and <acronym>HTML</acronym> renderer. The priciples discussed can be adapted to other
-        parsers and renderers.
+        Dieser Beginner-Guide für <classname>Zend_Markup</classname> verwendet den BBCode Parser und
+        den <acronym>HTML</acronym> Renderer. Die diskutierten Prinzipien können auf andere Parser
+        und Renderer angewendet werden.
     </para>
 
     <example id="zend.markup.getting-started.basic-usage">
-        <title>Basic Zend_Markup Usage</title>
+        <title>Grundsätzliche Verwendung von Zend_Markup</title>
 
         <para>
-            We will first instantiate a <classname>Zend_Markup_Renderer_Html</classname> object
-            using the <methodname>Zend_Markup::factory()</methodname> method.  This will also create
-            a <classname>Zend_Markup_Parser_Bbcode</classname> object which will be added to the
-            renderer object.
+            Zuerst instanzieren wir ein <classname>Zend_Markup_Renderer_Html</classname> Objekt
+            durch Verwendung der <methodname>Zend_Markup::factory()</methodname> Methode. Das
+            erstellt auch ein <classname>Zend_Markup_Parser_Bbcode</classname> Objekt welches dem
+            Renderer Objekt hinzugefügt wird.
         </para>
 
         <para>
-            Afther that, we will use the <methodname>render()</methodname> method to convert a piece
-            of BBCode to <acronym>HTML</acronym>.
+            Danach verwenden wir die <methodname>render()</methodname> Methode um ein Teil von
+            BBCode auf <acronym>HTML</acronym> zu konvertieren.
         </para>
 
         <programlisting language="php"><![CDATA[
-// Creates instance of Zend_Markup_Renderer_Html,
-// with Zend_Markup_Parser_BbCode as its parser
+// Erstellt eine Instanz von Zend_Markup_Renderer_Html
+// mit Zend_Markup_Parser_BbCode als seinen Parser
 $bbcode = Zend_Markup::factory('Bbcode');
 
 echo $bbcode->render('[b]bold text[/b] and [i]cursive text[/i]');
-// Outputs: '<strong>bold text</strong> and <em>cursive text</em>'
+// Ausgabe: '<strong>bold text</strong> and <em>cursive text</em>'
 ]]></programlisting>
     </example>
 
     <example id="zend.markup.getting-started.complicated-example">
-        <title>A more complicated example of Zend_Markup</title>
+        <title>Ein komplizierteres Beispiel von Zend_Markup</title>
 
         <para>
-            This time, we will do exactly the same as above, but with more complicated BBCode
-            markup.
+            Jetzt wollen wir das gleiche wie zuerst machen, aber mit einem komplizierteren
+            BBCode Markup.
         </para>
 
         <programlisting language="php"><![CDATA[
@@ -55,7 +55,7 @@ EOT;
 
 echo $bbcode->render($input);
 /*
-Should output something like:
+Sollte etwas wie das folgende ausgeben:
 <ul>
 <li>Zend Framework</li>
 <li>Foobar</li>
@@ -65,22 +65,23 @@ Should output something like:
     </example>
 
     <example id="zend.markup.getting-started.incorrect-input">
-        <title>Processing incorrect input</title>
+        <title>Falsche Eingaben bearbeiten</title>
 
         <para>
-            Besides simply parsing and rendering markup such as BBCode,
-            <classname>Zend_Markup</classname> is also able to handle incorrect input. Most BBCode
-            processors are not able to render all input to <acronym>XHTML</acronym> valid output.
-            <classname>Zend_Markup</classname> corrects input that is nested incorrectly, and also
-            closes tags that were not closed:
+            Neben dem einfachen Parsen und Darstellen von Markup wie BBCode, ist
+            <classname>Zend_Markup</classname> auch in der Lage falsche Eingaben zu behandeln. Die
+            meisten BBCode Prozessoren sind nicht in der Lage jede Eingabe zu einer gültigen
+            <acronym>XHTML</acronym> Ausgabe auszugeben. <classname>Zend_Markup</classname>
+            korrigiert Eingaben die falsch Verknüpft sind, und schließt auch Tags die nicht
+            geschlossen sind:
         </para>
 
         <programlisting language="php"><![CDATA[
 $bbcode = Zend_Markup::factory('Bbcode');
 
 echo $bbcode->render('some [i]wrong [b]sample [/i] text');
-// Note that the '[b]' tag is never closed, and is also incorrectly
-// nested; regardless, Zend_Markup renders it correctly as:
+// Es ist zu beachten dass das '[b]' Tag nicht geschlossen ist, und auch
+// falsch verknüpft ist; trotzdem stellt es Zend_Markup korrakt wie folgt dar:
 // some <em>wrong <strong>sample </strong></em><strong> text</strong>
 ]]></programlisting>
     </example>

+ 41 - 40
documentation/manual/de/module_specs/Zend_Markup-Parsers.xml

@@ -2,21 +2,21 @@
 <!-- EN-Revision: 19720 -->
 <!-- Reviewed: no -->
 <sect1 id="zend.markup.parsers">
-    <title>Zend_Markup Parsers</title>
+    <title>Zend_Markup Parser</title>
 
     <para>
-        <classname>Zend_Markup</classname> is currently shipped with two parsers, a BBCode parser
-        and a Textile parser.
+        <classname>Zend_Markup</classname> wird aktuell mit zwei Parsern ausgeliefert, einen BBCode
+        Parser und einen Textile Parser.
     </para>
 
     <sect2 id="zend.markup.parsers.theory">
-        <title>Theory of Parsing</title>
+        <title>Theorie des Parsens</title>
 
         <para>
-            The parsers of <classname>Zend_Markup</classname> are classes that convert text with
-            markup to a token tree. Although we are using the BBCode parser as example here, the
-            idea of the token tree remains the same across all parsers. We will start with this
-            piece of BBCode for example:
+            Die Parser von <classname>Zend_Markup</classname> sind Klasse die Text mit Markup in
+            einen Token Baum konvertieren. Auch wenn wir hier den BBCode Parser als Beispiel
+            verwenden ist die Idee des Token Baums die gleiche bei allen Parsern. Wir beginnen mit
+            diesem Teil von BBCode als Beispiel:
         </para>
 
         <programlisting><![CDATA[
@@ -24,8 +24,7 @@
 ]]></programlisting>
 
         <para>
-            Then the BBCode parser will take that value, tear it apart and create the following
-            tree:
+            Der BBCode Parser nimmt diesen Wert, teilt Ihn auf und erzeugt den folgenden Baum:
         </para>
 
         <itemizedlist>
@@ -55,21 +54,21 @@
         </itemizedlist>
 
         <para>
-            You will notice that the closing tags are gone, they don't show up as content in the
-            tree structure. This is because the closing tag isn't part of the actual content.
-            Although, this does not mean that the closing tag is just lost, it is stored inside the
-            tag information for the tag itself. Also, please note that this is just a simplified
-            view of the tree itself. The actual tree contains a lot more information, like the tag's
-            attributes and its name.
+            Wie man sieht sind die schließenden Tags weg. Sie werden nicht als Inhalt der
+            Baumstruktur angezeigt. Das ist deswegen der Fall, da schließende Tags kein Teil des
+            aktuellen Inhalts sind. Das bedeutet aber nicht das die schließenden Tags einfach
+            verloren sind. Sie sind in der Tag Information für das Tag selbst gespeichert. Es ist
+            auch zu beachten das dies nur eine vereinfachte Darstelliung des Baumes selbst ist. Der
+            aktuelle Baum enthält viel mehr Information, wie die Attribute der Tags und deren Namen.
         </para>
     </sect2>
 
     <sect2 id="zend.markup.parsers.bbcode">
-        <title>The BBCode parser</title>
+        <title>Der BBCode Parser</title>
 
         <para>
-            The BBCode parser is a <classname>Zend_Markup</classname> parser that converts BBCode to
-            a token tree. The syntax of all BBCode tags is:
+            Der BBCode Parser ist ein <classname>Zend_Markup</classname> Parser der BBCode in einen
+            Token Baum konvertiert. Die Syntax alle BBCode Tags ist:
         </para>
 
         <programlisting language="text"><![CDATA[
@@ -77,7 +76,7 @@
 ]]></programlisting>
 
         <para>
-            Some examples of valid BBCode tags are:
+            Einige Beispiel von gültigen BBCode Tags sind:
         </para>
 
         <programlisting><![CDATA[
@@ -88,28 +87,28 @@
 ]]></programlisting>
 
         <para>
-            By default, all tags are closed by using the format '[/tagname]'.
+            Standardmäßig werden alle Tags durch Verwendung des Formats '[/tagname]' geschlossen.
         </para>
     </sect2>
 
     <sect2 id="zend.markup.parsers.textile">
-        <title>The Textile parser</title>
+        <title>Der Textile Parser</title>
 
         <para>
-            The Textile parser is a <classname>Zend_Markup</classname> parser that converts Textile
-            to a token tree. Because Textile doesn't have a tag structure, the following is a list
-            of example tags:
+            Der Textile Parser ist ein <classname>Zend_Markup</classname> Parser der Textile in
+            einen Token Baum konvertiert. Weil Textile keine Tag Struktur hat ist nachfolgend eine
+            Liste von Beispiel Tags:
         </para>
 
         <table id="zend.markup.parsers.textile.tags">
-            <title>List of basic Textile tags</title>
+            <title>Liste der grundsätzlichen Textile Tags</title>
 
             <tgroup cols="2" align="left" colsep="1" rowsep="1">
                 <thead>
                     <row>
-                        <entry>Sample input</entry>
+                        <entry>Beispiel Eingabe</entry>
 
-                        <entry>Sample output</entry>
+                        <entry>Beispiel Ausgabe</entry>
                     </row>
                 </thead>
 
@@ -196,30 +195,32 @@
         </table>
 
         <para>
-            Also, the Textile parser wraps all tags into paragraphs; a paragraph ends with two
-            newlines, and if there are more tags, a new paragraph will be added.
+            Auch der Textile Parser wrappt alle Tags in Paragraphen; ein Paragraph endet mit zwei
+            Leerzeilen, und wenn es mehr Tags gibt, wird ein neuer Paragraph hinzugefügt.
         </para>
 
         <sect3 id="zend.markup.parsers.textile.lists">
-            <title>Lists</title>
+            <title>Listen</title>
 
             <para>
-                The Textile parser also supports two types of lists. The numeric type, using the "#"
-                character and bullit-lists using the "*" character. An example of both lists:
+                Der Textile Parser unterstützt auch zwei Typen von Listen. Den nummerischen Typ
+                der das "#" Zeichen verwendet und Bullet-Listen welche das "*" Zeichen verwenden.
+                Anbei ein Beispiel für beide Listen:
             </para>
 
             <programlisting><![CDATA[
-# Item 1
-# Item 2
+# Element 1
+# Element 2
 
-* Item 1
-* Item 2
+* Element 1
+* Element 2
 ]]></programlisting>
 
             <para>
-                The above will generate two lists: the first, numbered; and the second, bulleted.
-                Inside list items, you can use normal tags like strong (*), and emphasized (_). Tags
-                that need to start on a new line (like 'h1' etc.) cannot be used inside lists.
+                Das obige erzeugt zwei Listen: Die erste nummeriert; und die zweite mit Punkten.
+                In den Listen Elementen können normale Tags wie dick (*), und hochgestellt (_)
+                verwendet werden. Tags die auf einer neuen Zeile beginnen müssen (wie 'h1' usw.)
+                können nicht innerhalb von Listen verwendet werden.
             </para>
         </sect3>
     </sect2>