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

[MANUAL] German:

- some translations

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

+ 148 - 110
documentation/manual/de/module_specs/Zend_Tool-Usage-CLI.xml

@@ -184,9 +184,9 @@ zf show manifest
             <title>Project</title>
 
             <para>
-                The project provider is the first command you might want to run. This will setup the basic
-                structure of your application. This is required before any of the other providers can
-                be executed.
+                Der Projekt Provider ist das erste Kommando das man ausführen wird wollen. Er
+                erstellt die grundsätzliche Struktur der Anwendung. Er wird benötigt bevor irgendein
+                anderer Provider ausgeführt werden kann.
             </para>
 
             <programlisting language="text"><![CDATA[
@@ -194,24 +194,23 @@ zf create project MyProjectName
 ]]></programlisting>
 
             <para>
-                This will create a project in a directory called ./MyProjectName.  From this point on,
-                it is important to note that any subsequent commands on the command line must be issued
-                from within the project directory you had just created.  So, after creation, changing into
-                that directory is required.
+                Dies erstellt ein Projekt im ./MyProjectName genannten Verzeichnis. Von diesem Punkt
+                an ist es wichtig anzumerken das jedes weitere Kommando in der Kommandozeile von
+                innerhalb des Projektverzeichnisses auszuführen ist welches gerade erstellt wurde.
+                Nach dessen Erstellung ist es also notwendig dass man in das Verzeichnis wechselt.
             </para>
-
-
         </sect3>
 
         <sect3 id="zend.tool.usage.cli.project-specific-commands.module">
-            <title>Project</title>
+            <title>Module</title>
 
             <para>
-                The module provider allows for the easy creation of a Zend Framework module.  A module
-                follows the hMVC pattern loosely.  When creating modules, it will take the same structure
-                used at the application/ level, and duplicate it inside of the chosen name for your module,
-                inside of the "modules" directory of the application/ directory without duplicating the
-                modules directory itself.  For example:
+                Der Module Provider erlaubt die einfache Erstellung eines Zend Framework Moduls. Ein
+                Modul folgt lose dem MVC Pattern. Wenn Module erstellt werden, verwenden Sie die
+                gleiche Struktur welche im application/ Level verwendet wird, und dupliziert diese
+                im ausgewählten Namen für das Modul, innerhalb des Verzeichnisses "modules" im
+                Verzeichnis application/ ohne dass das Modul Verzeichnis selbst dupliziert wird.
+                Zum Beispiel:
             </para>
 
             <programlisting language="text"><![CDATA[
@@ -219,20 +218,19 @@ zf create module Blog
 ]]></programlisting>
 
             <para>
-                This will create a module named Blog at application/modules/Blog, and all of the artifacts
-                that a module will need.
+                Das erstellt ein Modul welches Blog genannt wird unter application/modules/Blog, und
+                alle Abschnitte welche das Modul benötigt.
             </para>
-
-
         </sect3>
 
         <sect3 id="zend.tool.usage.cli.project-specific-commands.controller">
             <title>Controller</title>
 
             <para>
-                The controller provider is responsible for creating (mostly) empty controllers as well
-                as their corresponding view script directories and files.  To utilize it to create
-                an 'Auth' controlller, for example, execute:
+                Der Controller Provider ist (meistens) für die Erstellung leerer Controller
+                zuständig sowie deren entsprechenden Verzeichnissen und Dateien für View Skripte.
+                Um Ihn zum Beispiel dazu zu verwenden einen 'Auth' Controller zu erstellen muss
+                folgendes ausgeführt werden:
             </para>
 
             <programlisting language="text"><![CDATA[
@@ -240,9 +238,10 @@ zf create controller Auth
 ]]></programlisting>
 
             <para>
-                This will create a controller named Auth, specifically it will create a file at
-                application/controllers/AuthController.php with the AuthController inside.
-                If you wish to create a controller for a module, use any of the following:
+                Das erstellt einen Controller der Auth heißt, und im speziellen wird eine Datei
+                unter application/controllers/AuthController.php erstellt welche den AuthController
+                enthält. Wenn man einen Controller für ein Modul erstellen will, kann eine der
+                folgenden Zeilen verwendet werden:
             </para>
 
             <programlisting language="text"><![CDATA[
@@ -252,16 +251,15 @@ zf create controller Post --module=Blog
 ]]></programlisting>
 
             <para>
-                Note: In the first command, 1 is the value for the "includeIndexAction" flag.
+                Beachte: Im ersten Kommando ist der Wert 1 für das "includeIndexAction" Flag.
             </para>
-
         </sect3>
 
         <sect3 id="zend.tool.usage.cli.project-specific-commands.action">
             <title>Action</title>
 
             <para>
-                To create an action within an existing controller:
+                Um eine Action in einem bestehenden Controller zu erstellen:
             </para>
 
             <programlisting language="text"><![CDATA[
@@ -269,15 +267,14 @@ zf create action login Auth
 zf create action login -c Auth
 zf create action login --controller-name=Auth
 ]]></programlisting>
-
         </sect3>
 
         <sect3 id="zend.tool.usage.cli.project-specific-commands.view">
             <title>View</title>
 
             <para>
-                To create a view outside of the normal controller/action creation, you would use
-                one of the following:
+                Um eine View ausserhalb der normalen Controller/Action Erstellung zu erstellen
+                würde man eine der folgenden Zeilen verwenden:
             </para>
 
             <programlisting language="text"><![CDATA[
@@ -286,17 +283,16 @@ zf create view -c Auth -a my-script-name
             ]]></programlisting>
 
             <para>
-                This will create a view script in the controller folder of Auth.
+                Das erstellt ein View Skript im Controller Verzeichnis von Auth.
             </para>
-
         </sect3>
 
         <sect3 id="zend.tool.usage.cli.project-specific-commands.model">
             <title>Model</title>
 
             <para>
-                The model provider is only responsible for creating the proper model files,
-                with the proper name inside the application folder. For example
+                Der Model Provider ist nur für die Erstellung der richtigen Modell Dateien, mit dem
+                richtigen Namen im Anwendungsverzeichnis zuständig. Zum Beispiel:
             </para>
 
             <programlisting language="text"><![CDATA[
@@ -304,7 +300,7 @@ zf create model User
 ]]></programlisting>
 
             <para>
-                If you wish to create a model within a specific module:
+                Wenn man ein Modell mit einem spezifischen Modul erstellen will:
             </para>
 
             <programlisting language="text"><![CDATA[
@@ -312,17 +308,17 @@ zf create model Post -m Blog
 ]]></programlisting>
 
             <para>
-                The above will create a 'Post' model inside of the 'Blog' module.
+                Das obige erstellt ein 'Post' Modell im Modul 'Blog'.
             </para>
-
         </sect3>
 
         <sect3 id="zend.tool.usage.cli.project-specific-commands.form">
             <title>Form</title>
 
             <para>
-                The form provider is only responsible for creating the proper form file and
-                init() method, with the proper name inside the application folder. For example:
+                Der Form Provider ist nur für die Erstellung der richtigen Formulardateien und der
+                init() Methode, mit dem richtigen Namen im Anwendungsverzeichnis zuständig. Zum
+                Beispiel:
             </para>
 
             <programlisting language="text"><![CDATA[
@@ -330,7 +326,7 @@ zf create form Auth
 ]]></programlisting>
 
             <para>
-                If you wish to create a model within a specific module:
+                Wenn man ein Modell in einem spezifischen Modul erstellen will:
             </para>
 
             <programlisting language="text"><![CDATA[
@@ -338,7 +334,7 @@ zf create form Comment -m Blog
 ]]></programlisting>
 
             <para>
-                The above will create a 'Comment' form inside of the 'Blog' module.
+                Das obige erstellt ein 'Comment' Formular im Modul 'Blog'.
             </para>
         </sect3>
 
@@ -346,13 +342,12 @@ zf create form Comment -m Blog
             <title>DbAdapter</title>
 
             <para>
-                To configure a DbAdapter, you will need to provide the information as a url
-                encoded string. This string needs to be in quotes on the command line.
+                Um einen DbAdapter zu konfigurieren muss man die Informationen als Url kodierten
+                String angeben. Dieser String muss in der Kommandozeile in Hochkommas stehen.
             </para>
 
             <para>
-
-                For example, to enter the following information:
+                Um zum Beispiel die folgenden Informationen einzugeben:
 
                 <itemizedlist>
                     <listitem>
@@ -369,51 +364,51 @@ zf create form Comment -m Blog
                     </listitem>
                 </itemizedlist>
 
-                The following will have to be run on the command line:
+                Muss das folgende auf der Kommandozeile ausgeführt werden:
             </para>
 
-
             <programlisting language="text"><![CDATA[
 zf configure dbadapter "adapter=Pdo_Mysql&username=test&password=test&dbname=test"
 ]]></programlisting>
 
             <para>
-                This assumes you wish to store this information inside of the
-                'production' space of the application configuration file. The following will
-                demonstrate an sqlite configuration, in the 'development' section of the
-                application config file.
+                Dies nimmt an das man diese Information im Abschnitt 'production' der
+                Konfigurationsdatei der Anwendung speichern will. Das folgende demonstriert eine
+                Sqlite Konfiguration im Abschnitt 'development' der Konfigurationsdatei der
+                Anwendung:
             </para>
 
             <programlisting language="text"><![CDATA[
 zf configure dbadapter "adapter=Pdo_Sqlite&dbname=../data/test.db" development
 zf configure dbadapter "adapter=Pdo_Sqlite&dbname=../data/test.db" -s development
 ]]></programlisting>
-
         </sect3>
 
         <sect3 id="zend.tool.usage.cli.project-specific-commands.db-table">
             <title>DbTable</title>
 
             <para>
-                The DbTable provider is responsible for creating Zend_Db_Table
-                model/data access files for your application to consume, with the proper
-                class name, and in the proper location in the application. The two
-                important pieces of information are the <emphasis>DbTable name</emphasis>,
-                and the <emphasis>actual database table name</emphasis>. For example:
+                Der DbTable Provider ist für die Erstellung der Zend_Db_Table Modell/Datenzugriffs-
+                Dateien, der Anwendung die Sie benötigt, verantwortlich. Zusammen mit dem richtigen
+                Klassennamen und dem richtigen Platz in der Anwendung. Die zwei wichtigsten
+                Informationsteile sind <emphasis>DbTable Name</emphasis> und der
+                <emphasis>aktuelle Name der Datenbank Tabelle</emphasis>. Zum Beispiel:
             </para>
 
             <programlisting language="text"><![CDATA[
 zf create dbtable User user
 zf create dbtable User -a user
 
-// also accepts a force option to overwrite existing files
+// akzeptiert auch eine "erzwinge" Option
+// um existierende Dateien zu überschreiben
 zf create dbtable User user -f
 zf create dbtable User user --force-override
 ]]></programlisting>
 
             <para>
-                The DbTable provider is also capable of creating the proper files by
-                scanning the database configured with the above DbAdapter provider.
+                Der DbTable Provider ist auch dazu in der Lage die richtigen Daten zu erstellen
+                indem er die Datenbank scannt die mit dem obigen DbAdapter Provider konfiguriert
+                wurde.
             </para>
 
             <programlisting language="text"><![CDATA[
@@ -421,88 +416,92 @@ zf create dbtable.from-database
 ]]></programlisting>
 
             <para>
-                When executing the above, it might make sense to use the pretend / "-p"
-                flag first so that you can see what would be done, and what tables can
-                be found in the database.
+                Wenn das obenstehende ausgeführt wird, könnte es Sinn machen das voranstellen-Flag
+                ("-p") zuerst zu verwenden damit man sieht was getan werden würde und welche
+                Tabellen in der Datenbank gefunden werden können.
             </para>
 
             <programlisting language="text"><![CDATA[
 zf -p create dbtable.from-database
 ]]></programlisting>
-
         </sect3>
 
         <sect3 id="zend.tool.usage.cli.project-specific-commands.layout">
             <title>Layout</title>
 
             <para>
-                Currently, the only supported action for layouts is simply to enable them
-                will setup the proper keys in the application.ini file for the application
-                resource to work, and create the proper directories and layout.phtml file.
+                Aktuell ist die einzige unterstützte Aktion für Layouts einfach deren Aktivierung
+                damit die richtigen Schlüssel in die Datei application.ini geschrieben werden
+                damit die Anwendungs Ressource funktioniert und die richtigen Verzeichnisse und die
+                Datei layout.phtml erstellt wird.
             </para>
 
             <programlisting language="text"><![CDATA[
 zf enable layout
 ]]></programlisting>
-
         </sect3>
-
     </sect2>
 
     <sect2 id="zend.tool.usage.cli.environment-customization">
-        <title>Environment Customization</title>
+        <title>Anpassung der Umgebung</title>
 
         <sect3 id="zend.tool.usage.cli.environment-customization.storage-directory">
-            <title>The Storage Directory</title>
+            <title>Das Speicher Verzeichnis</title>
 
             <para>
-                The storage directory is important so that providers may have a place to find
-                custom user generated logic that might change the way they behave. One example
-                can be found below is the placement of a custom project profile file.
+                Das Speicherverzeichnis ist wichtig damit Provider einen Platz haben an dem Sie die
+                Benutzer-definierte Logik finden welche den Weg verändern könnte wie Sie sich
+                verhalten. Ein Beispiel welches anbei gefunden werden kann ist die Platzierung einer
+                eigenen Projekt Profil  Datei.
             </para>
 
             <programlisting language="text"><![CDATA[
 zf --setup storage-directory
 ]]></programlisting>
-
         </sect3>
 
         <sect3 id="zend.tool.usage.cli.environment-customization.configuration-file">
-            <title>The Configuration File</title>
+            <title>Die Konfigurationsdatei</title>
 
             <para>
-                This will create the proper zf.ini file. This <emphasis>should</emphasis>
-                be run after <code>zf --setup storage-directory</code>. If it is not, it will
-                be located inside the users home directory. If it is, it will be located inside
-                the users storage directory.
+                Das erstellt die richtige zf.ini Datei. Dies <emphasis>sollte</emphasis> nach
+                <code>zf --setup storage-directory</code> ausgeführt werden. Wenn dem nicht so ist,
+                wird Sie im Home Verzeichnis des Benutzers platziert. Aber wenn dem so ist, dann
+                wird Sie im Benutzerdefinierten Speicherverzeichnis platziert.
             </para>
 
             <programlisting language="text"><![CDATA[
 zf --setup config-file
 ]]></programlisting>
-
         </sect3>
 
         <sect3 id="zend.tool.usage.cli.environment-customization.environment-locations">
-            <title>Environment Locations</title>
+            <title>Orte der Umgebung</title>
 
             <para>
-                These should be set if you wish to override the default places where zf will
-                attempt to read their values.
+                Diese sollten gesetzt werden wenn man die standardmäßigen Orte überschreiben will an
+                denen ZF versucht seine Werte zu lesen.
             </para>
 
             <itemizedlist>
                 <listitem>
                     <para>ZF_HOME</para>
                     <itemizedlist>
-                        <listitem><para>the directory this tool will look for a home directory</para></listitem>
-                        <listitem><para>directory must exist</para></listitem>
                         <listitem>
-                            <para>search order:</para>
+                            <para>
+                                Das Verzeichnis in dem dieses Tool nach dem Home Verzeichnis
+                                nachsieht
+                            </para>
+                        </listitem>
+
+                        <listitem><para>Das Verzeichnis muss existieren</para></listitem>
+
+                        <listitem>
+                            <para>Suchrichtung:</para>
                             <itemizedlist>
-                                <listitem><para>ZF_HOME environment variable</para></listitem>
-                                <listitem><para>HOME environment variable</para></listitem>
-                                <listitem><para>then HOMEPATH environment variable</para></listitem>
+                                <listitem><para>ZF_HOME Umgebungsvariable</para></listitem>
+                                <listitem><para>HOME Umgebungsvariable</para></listitem>
+                                <listitem><para>dann HOMEPATH Umgebungsvariable</para></listitem>
                             </itemizedlist>
                         </listitem>
                     </itemizedlist>
@@ -510,55 +509,94 @@ zf --setup config-file
                 <listitem>
                     <para>ZF_STORAGE_DIRECTORY</para>
                     <itemizedlist>
-                        <listitem><para>where this tool will look for a storage directory</para></listitem>
-                        <listitem><para>directory must exist</para></listitem>
                         <listitem>
-                            <para>search order:</para>
+                            <para>
+                                Wo dieses Tool nach dem Speicherverzeichnis nachsehen wird
+                            </para>
+                        </listitem>
+
+                        <listitem><para>Das Verzeichnis muss existieren</para></listitem>
+
+                        <listitem>
+                            <para>Suchrichtung:</para>
                             <itemizedlist>
-                                <listitem><para>ZF_STORAGE_DIRECTORY environment variable</para></listitem>
-                                <listitem><para>$homeDirectory/.zf/ directory</para></listitem>
+                                <listitem>
+                                    <para>ZF_STORAGE_DIRECTORY Umgebungsvariable</para>
+                                </listitem>
+
+                                <listitem><para>$homeDirectory/.zf/ Verzeichnis</para></listitem>
                             </itemizedlist>
                         </listitem>
                     </itemizedlist>
                 </listitem>
+
                 <listitem>
                     <para>ZF_CONFIG_FILE</para>
                     <itemizedlist>
-                        <listitem><para>where this tool will look for a configuration file</para></listitem>
                         <listitem>
-                            <para>search order:</para>
+                            <para>Wo dieses Tool nach der Konfigurationsdatei nachsieht</para>
+                        </listitem>
+
+                        <listitem>
+                            <para>Suchrichtung:</para>
                             <itemizedlist>
-                                <listitem><para>ZF_CONFIG_FILE environment variable</para></listitem>
-                                <listitem><para>$homeDirectory/.zf.ini file if it exists</para></listitem>
-                                <listitem><para>$storageDirectory/zf.ini file if it exists</para></listitem>
+                                <listitem><para>ZF_CONFIG_FILE Umgebungsvariable</para></listitem>
+
+                                <listitem>
+                                    <para>$homeDirectory/.zf.ini Datei wenn Sie existiert</para>
+                                </listitem>
+
+                                <listitem>
+                                    <para>$storageDirectory/zf.ini Datei wenn Sie existiert</para>
+                                </listitem>
                             </itemizedlist>
                         </listitem>
                     </itemizedlist>
                 </listitem>
+
                 <listitem>
                     <para>ZF_INCLUDE_PATH</para>
                     <itemizedlist>
-                        <listitem><para>set the include_path for this tool to use this value</para></listitem>
                         <listitem>
-                            <para>original behavior:</para>
+                            <para>
+                                Setzt den include_path der für dieses Tool verwendet werden soll
+                                auf diesen Wert
+                            </para>
+                        </listitem>
+
+                        <listitem>
+                            <para>Originales Verhalten:</para>
                             <itemizedlist>
-                                <listitem><para>use php's include_path to find ZF</para></listitem>
-                                <listitem><para>use the ZF_INCLUDE_PATH environment variable</para></listitem>
-                                <listitem><para>use the path ../library (relative to zf.php) to find ZF</para></listitem>
+                                <listitem>
+                                    <para>Verwende php's include_path um ZF zu finden</para>
+                                </listitem>
+
+                                <listitem>
+                                    <para>Verwende die Umgebungsvariable ZF_INCLUDE_PATH</para>
+                                </listitem>
+
+                                <listitem>
+                                    <para>
+                                        Verwende den Pfad ../library (relativ zu zf.php) um ZF zu
+                                        finden
+                                    </para>
+                                </listitem>
                             </itemizedlist>
                         </listitem>
                     </itemizedlist>
                 </listitem>
+
                 <listitem>
                     <para>ZF_INCLUDE_PATH_PREPEND</para>
                     <itemizedlist>
-                        <listitem><para>prepend the current php.ini include_path with this value</para></listitem>
+                        <listitem>
+                            <para>
+                                Stellt diesen Wert dem aktuellen include_path in php.ini voran
+                            </para>
+                        </listitem>
                     </itemizedlist>
                 </listitem>
             </itemizedlist>
-
         </sect3>
-
     </sect2>
-
 </sect1>

+ 2 - 2
documentation/manual/de/tutorials/form-decorators-simplest.xml

@@ -2,10 +2,10 @@
 <!-- EN-Revision: 19777 -->
 <!-- Reviewed: no -->
 <sect1 id="learning.form.decorators.simplest">
-    <title>Decorator Basics</title>
+    <title>Decorator Grundlagen</title>
 
     <sect2 id="learning.form.decorators.simplest.decorator-overview">
-        <title>Overview of the Decorator Pattern</title>
+        <title>Übersicht über das Decorator Pattern</title>
 
         <para>
             To begin, we'll cover some background on the <ulink