Просмотр исходного кода

[DOCUMENTATION] German:

- some translations

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17954 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 лет назад
Родитель
Сommit
68ee05d787

+ 56 - 59
documentation/manual/de/module_specs/Zend_Feed_Reader.xml

@@ -1201,19 +1201,17 @@ $updatePeriod = $syndication->getUpdatePeriod();
             </para>
 
             <para>
-                As an example, let's take the case of a purely fictitious
-                corporation named Jungle Books. Jungle Books have been
-                publishing a lot of reviews on books they sell (from external
-                sources and customers), which are distributed as an <acronym>RSS</acronym> 2.0
-                feed. Their marketing department realises that web applications
-                using this feed cannot currently figure out exactly what book is
-                being reviewed. To make life easier for everyone, they determine
-                that the geek department needs to extend <acronym>RSS</acronym> 2.0 to include a
-                new element per entry supplying the <acronym>ISBN</acronym>-10 or
-                <acronym>ISBN</acronym>-13 number of
-                the publication the entry concerns. They define the new
-                <code>&lt;isbn&gt;</code> element quite simply with a standard
-                name and namespace <acronym>URI</acronym>:
+                Als Beispiel nehmen wir den Fall eine komplett fiktiven Firma an die Jungle Books
+                heißt. Jungle Books hat eine Vielzahl an Reviews für Bücher veröffentlicht die Sie
+                verkaufen (von externen Quellen und Kunden), welche als <acronym>RSS</acronym> 2.0
+                Feed verteilt werden. Die Marketing Abteilung realisiert das Web Anwendungen welche
+                diesen Feed verwenden, aktuell nicht herausfinden können welches Buch exakt
+                betrachtet wird. Um jedem das Leben leichter zu machen entscheiden Sie dass die
+                Streber Abteilung <acronym>RSS</acronym> 2.0 erweitern muß um ein neues Element
+                pro Eintrag hinzuzufügen das die <acronym>ISBN</acronym>-10 oder
+                <acronym>ISBN</acronym>-13 Zahl der Veröffentlichung die der Eintrag betrifft
+                unterstützt. Sie definieren das neue <code>&lt;isbn&gt;</code> Element recht einfach
+                mit dem standardmäßigen Namen und Namespace <acronym>URI</acronym>:
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -1222,8 +1220,8 @@ http://example.com/junglebooks/rss/module/1.0/
 ]]></programlisting>
 
             <para>
-                A snippet of <acronym>RSS</acronym> containing this extension in practice could be
-                something similar to:
+                Ein Teil des <acronym>RSS</acronym> das diese Erweiterung in der Praxis enthält
+                könnte in etwa so aussehen:
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -1252,9 +1250,9 @@ http://example.com/junglebooks/rss/module/1.0/
 ]]></programlisting>
 
             <para>
-                Implementing this new <acronym>ISBN</acronym> element as a simple entry level
-                extension would require the following class (using your own class
-                namespace outside of Zend).
+                Die Implementierung dieses neuen <acronym>ISBN</acronym> Elements als eine einfache
+                Eintrags Level Erweiterung wird die folgende Klasse benötigen (und die Verwendung
+                des eigenen Klassen Namespaces ausserhalb von Zend).
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -1286,28 +1284,28 @@ class My_FeedReader_Extension_JungleBooks_Entry
 ]]></programlisting>
 
             <para>
-                This extension is easy enough to follow. It creates a new method
-                <methodname>getIsbn()</methodname> which runs an XPath query on
-                the current entry to extract the <acronym>ISBN</acronym> number enclosed by the
-                <code>&lt;jungle:isbn&gt;</code> element. It can optionally
-                store this to the internal non-persistent cache (no need to keep
-                querying the <acronym>DOM</acronym> if it's called again on the same entry). The
-                value is returned to the caller. At the end we have a protected
-                method (it's abstract so it must exist) which registers the
-                Jungle Books namespace for their custom <acronym>RSS</acronym> module. While we
-                call this an <acronym>RSS</acronym> module, there's nothing to prevent the same
-                element being used in Atom feeds - and all Extensions which use
-                the prefix provided by <methodname>getXpathPrefix()</methodname>
-                are actually neutral and work on <acronym>RSS</acronym> or Atom feeds with no
-                extra code.
+                Diese Erweiterung ist einfach genug um Ihr zu folgen. Sie erstellt eine neue Methode
+                <methodname>getIsbn()</methodname>, welche eine XPath Abfrage auf dem aktuellen
+                Eintrag durchführt, um die <acronym>ISBN</acronym> Nummer welche vom
+                <code>&lt;jungle:isbn&gt;</code> Element umhüllt ist, zu extrahieren. Das kann
+                optional auch im internen nicht-persistenten Cache gespeichert werden (keine
+                Notwendigkeit den <acronym>DOM</acronym> abzufragen wenn es auf dem gleichen
+                Eintrag nochmals aufgerufen wird). Der Wert wird dem Anrufer zurückgegeben.
+                Am Ende haben wir eine geschützte Methode (Sie ist abstrakt, muss also existieren)
+                welche den Jungle Books Namespace für Ihre eigenen <acronym>RSS</acronym> Module
+                registriert. Wärend wir das ein <acronym>RSS</acronym> Modul nennen, gibt es nichts
+                das verhindert dass das gleiche Element in Atom Feeds verwendet wird - und alle
+                Erweiterungen welche den Prefix verwenden der von
+                <methodname>getXpathPrefix()</methodname> angeboten wird, sind aktuell neutral und
+                arbeiten auf <acronym>RSS</acronym> oder Atom Feeds ohne zusätzlichen Code.
             </para>
 
             <para>
-                Since this Extension is stored outside of Zend Framework, you'll
-                need to register the path prefix for your Extensions so
-                <classname>Zend_Loader_PluginLoader</classname> can find them.
-                After that, it's merely a matter of registering the Extension,
-                if it's not already loaded, and using it in practice.
+                Da die Erweiterung ausserhalb vom Zend Framework gespeichert ist, muss man den Pfad
+                Prefix für die eigenen Erweiterungen registrieren damit
+                <classname>Zend_Loader_PluginLoader</classname> diese finden kann. Danach ist es
+                einfach ein Problem der Registrierung der Erweiterung, wenn diese nicht bereits
+                geladen wurde, und deren Verwendung in der Praxis.
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -1319,19 +1317,18 @@ if(!Zend_Feed_Reader::isRegistered('JungleBooks')) {
 }
 $feed = Zend_Feed_Reader::import('http://example.com/junglebooks/rss');
 
-// ISBN for whatever book the first entry in the feed was concerned with
+// ISBN für irgendein Buch dem der erste Eintrag im Feed gewidmet war
 $firstIsbn = $feed->current()->getIsbn();
 ]]></programlisting>
 
             <para>
-                Writing a feed level Extension is not much different. The
-                example feed from earlier included an unmentioned
-                <code>&lt;jungle:dayPopular&gt;</code> element which Jungle
-                Books have added to their standard to include a link to the
-                day's most popular book (in terms of visitor traffic). Here's
-                an Extension which adds a
-                <methodname>getDaysPopularBookLink()</methodname> method to the
-                feel level <acronym>API</acronym>.
+                Das Schreiben einer Feed Level Erweiterung unterscheidet sich nicht sehr. Der
+                Beispiel Feed von vorher enthält ein nicht erwähntes
+                <code>&lt;jungle:dayPopular&gt;</code> Element das Jungle Books bei Ihrem Standard
+                hinzugefügt haben um einen Link zum beliebtesten Buch des Tages hinzuzufügen
+                (im Sinne von Verkehr der Besucher). Hier ist eine Erweiterung welche eine
+                <methodname>getDaysPopularBookLink()</methodname> Methode bei der Feed Level
+                <acronym>API</acronym> hinzufügt.
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -1363,8 +1360,8 @@ class My_FeedReader_Extension_JungleBooks_Feed
 ]]></programlisting>
 
             <para>
-                Let's repeat the last example using a custom Extension to show the
-                method being used.
+                Wiederholen wir das letzte Beispiel der Verwendung einer eigenen Erweiterung um zu
+                zeigen wie die Methode verwendet wird.
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -1376,24 +1373,24 @@ if(!Zend_Feed_Reader::isRegistered('JungleBooks')) {
 }
 $feed = Zend_Feed_Reader::import('http://example.com/junglebooks/rss');
 
-// URI to the information page of the day's most popular book with visitors
+// URI zur Informations Seite des populärsten Buchs des Tages mit Besuchern
 $daysPopularBookLink = $feed->getDaysPopularBookLink();
 
-// ISBN for whatever book the first entry in the feed was concerned with
+// ISBN für irgendein Buch dem der erste Eintrag im Feed gewidmet war
 $firstIsbn = $feed->current()->getIsbn();
 ]]></programlisting>
 
             <para>
-                Going through these examples, you'll note that we don't register
-                feed and entry Extensions separately. Extensions within the same
-                standard may or may not include both a feed and entry class, so
-                <classname>Zend_Feed_Reader</classname> only requires you to
-                register the overall parent name, e.g. JungleBooks, DublinCore,
-                Slash. Internally, it can check at what level Extensions exist
-                and load them up if found. In our case, we have a full set of
-                Extensions now: <classname>JungleBooks_Feed</classname> and
+                Beim Betrachten dieser Beispiele, konnte man sehen das wir Feed und Eintrags
+                Erweiterungen nicht separat registriert haben. Erweiterungen im selben Standard
+                können sowohl eine Feed und Entry Klasse enthalten oder auch nicht, sodas
+                <classname>Zend_Feed_Reader</classname> nur die Registrierung des darüberliegenden
+                Eltern Namens benötigt, z.B. JungleBooks, DublinCore, Slash. Intern kann sie
+                prüfen für welchen Level Erweiterungen existieren und und diese Laden wenn Sie
+                gefunden werden. In unserem Fall haben wir jetzt ein komplettes Set von
+                Erweiterungen: <classname>JungleBooks_Feed</classname> und
                 <classname>JungleBooks_Entry</classname>.
             </para>
         </sect3>
-  </sect2>
+    </sect2>
 </sect1>

+ 1 - 1
documentation/manual/de/module_specs/Zend_Http_Client-Adapters.xml

@@ -87,7 +87,7 @@
                         </row>
                         <row>
                             <entry>ssltransport</entry>
-                            <entry>Der SSL Transport Layer (z.B. 'sslv2', 'tls')</entry>
+                            <entry>Der Transport Layer für SSL (z.B. 'sslv2', 'tls')</entry>
                             <entry>string</entry>
                             <entry>ssl</entry>
                         </row>

+ 39 - 31
documentation/manual/de/module_specs/Zend_Ldap-API-Ldap-Node-RootDse.xml

@@ -4,19 +4,22 @@
 <sect3 id="zend.ldap.api.reference.zend-ldap-node-rootdse">
     <title>Zend_Ldap_Node_RootDse</title>
 
-    <para>The following methods are available on all vendor-specific subclasses.</para>
+    <para>
+        Die folgenden Methoden sind in allen Hersteller-Spezifischen Unterklassen vorhanden.
+    </para>
 
     <para>
-        <classname>Zend_Ldap_Node_RootDse</classname> includes the magic propery accessors
-        <methodname>__get()</methodname> and <methodname>__isset()</methodname> to access the attributes by their
-        name. They proxy to <methodname>Zend_Ldap_Node_RootDse::getAttribute()</methodname> and
-        <methodname>Zend_Ldap_Node_RootDse::existsAttribute()</methodname> respectively.
-        <methodname>__set()</methodname> and <methodname>__unset()</methodname> are also implemented but they throw
-        a <code>BadMethodCallException</code> as modifications are not allowed on RootDSE
-        nodes. Furthermore the class implements <code>ArrayAccess</code> for
-        array-style-access to the attributes. <methodname>offsetSet()</methodname> and
-        <methodname>offsetUnset()</methodname> also throw a <code>BadMethodCallException</code> due ro
-        obvious reasons.
+        <classname>Zend_Ldap_Node_RootDse</classname> enthält die magischen Zugriffsmethoden
+        <methodname>__get()</methodname> und <methodname>__isset()</methodname> um auf die Attribute
+        durch Ihren Namen zugreifen zu können. Sie verweisen auf
+        <methodname>Zend_Ldap_Node_RootDse::getAttribute()</methodname> und auf
+        <methodname>Zend_Ldap_Node_RootDse::existsAttribute()</methodname>.
+        <methodname>__set()</methodname> und <methodname>__get()</methodname> sind auch
+        implementiert, werfen aber eine <code>BadMethodCallException</code> da Änderungen auf
+        RootDSE Nodes nicht erlaubt sind. Weiters implementiert die Klasse <code>ArrayAccess</code>
+        für Array-Artigen Zugriff auf die Attribute. <methodname>offsetSet()</methodname> und
+        <methodname>offsetUnset()</methodname> werfen auch eine
+        <code>BadMethodCallException</code> aus den bekannten Gründen.
     </para>
 
     <table id="zend.ldap.api.reference.zend-ldap-node-rootdse.table">
@@ -25,46 +28,50 @@
         <tgroup cols="2">
             <thead>
                 <row>
-                    <entry>Method</entry>
-                    <entry>Description</entry>
+                    <entry>Methode</entry>
+                    <entry>Beschreibung</entry>
                 </row>
             </thead>
             <tbody>
                 <row>
                     <entry><code>Zend_Ldap_Dn getDn()</code></entry>
-                    <entry>Gets the DN of the current node as a Zend_Ldap_Dn.</entry>
+                    <entry>Gibt den DN des aktuellen Nodes als Zend_Ldap_Dn zurück.</entry>
                 </row>
                 <row>
                     <entry><code>string getDnString(string $caseFold)</code></entry>
-                    <entry>Gets the DN of the current node as a string.</entry>
+                    <entry>Gibt den DN des aktuellen Nodes als String zurück.</entry>
                 </row>
                 <row>
                     <entry><code>array getDnArray(string $caseFold)</code></entry>
-                    <entry>Gets the DN of the current node as an array.</entry>
+                    <entry>Gibt den DN des aktuellen Nodes als Array zurück.</entry>
                 </row>
                 <row>
                     <entry><code>string getRdnString(string $caseFold)</code></entry>
-                    <entry>Gets the <acronym>RDN</acronym> of the current node as a string.</entry>
+                    <entry>
+                        Gibt den <acronym>RDN</acronym> des aktuellen Nodes als String zurück.
+                    </entry>
                 </row>
                 <row>
                     <entry><code>array getRdnArray(string $caseFold)</code></entry>
-                    <entry>Gets the <acronym>RDN</acronym> of the current node as an array.</entry>
+                    <entry>
+                        Gibt den <acronym>RDN</acronym> des aktuellen Nodes als Array zurück.
+                    </entry>
                 </row>
                 <row>
                     <entry><code>array getObjectClass()</code></entry>
-                    <entry>Returns the objectClass of the node.</entry>
+                    <entry>Gibt die objectClass des Nodes zurück.</entry>
                 </row>
                 <row>
                     <entry><code>string toString()</code></entry>
                     <entry>
-                        Returns the DN of the current node - proxies to
+                        Gibt den DN des aktuellen Nodes zurück - verweist auf
                         <methodname>Zend_Ldap_Dn::getDnString()</methodname>.
                     </entry>
                 </row>
                 <row>
                     <entry><code>string __toString()</code></entry>
                     <entry>
-                        Casts to string representation - proxies to
+                        Castet auf eine String Darstellung - verweist auf
                         <methodname>Zend_Ldap_Dn::toString()</methodname>.
                     </entry>
                 </row>
@@ -74,12 +81,12 @@
                         $includeSystemAttributes)</code>
                     </entry>
                     <entry>
-                        Returns an array representation of the current node. If
-                        <varname>$includeSystemAttributes</varname> is <constant>FALSE</constant>
-                        (defaults to <constant>TRUE</constant>) the system specific attributes are
-                        stripped from the array. Unlike
-                        <methodname>Zend_Ldap_Node_RootDse::getAttributes()</methodname> the resulting
-                        array contains the DN with key <code>'dn'</code>.
+                        Gibt eine Array Darstellung des aktuellen Nodes zurück. Wenn
+                        <varname>$includeSystemAttributes</varname> <constant>FALSE</constant> ist
+                        (der Standardwert ist <constant>TRUE</constant>) werden die System
+                        spezifischen Attribute vom Array entfernt. Anders als
+                        <methodname>Zend_Ldap_Node_RootDse::getAttributes()</methodname> enthält
+                        das produzierte Array den DN mit dem Schlüssel <code>'dn'</code>.
                     </entry>
                 </row>
                 <row>
@@ -88,8 +95,9 @@
                         $includeSystemAttributes)</code>
                     </entry>
                     <entry>
-                        Returns a <acronym>JSON</acronym> representation of the current node using
-                        <methodname>Zend_Ldap_Node_RootDse::toArray()</methodname>.
+                        Gibt eine <acronym>JSON</acronym> Darstellung des aktuellen Nodes zurück
+                        indem <methodname>Zend_Ldap_Node_RootDse::toArray()</methodname> verwendet
+                        wird.
                     </entry>
                 </row>
                 <row>
@@ -98,8 +106,8 @@
                         $includeSystemAttributes)</code>
                     </entry>
                     <entry>
-                        Returns the node's attributes. The array contains all
-                        attributes in its internal format (no conversion).
+                        Gibt die Attribute der Nodes zurück. Das Array enthält alle Attribute in
+                        Ihrem internen Format (keine Konvertierung).
                     </entry>
                 </row>
                 <row>