svn: /phpdoc/de/trunk/ appendices/tokens.xml chapters/tutorial.xml language/predefined/exception.xml

[email protected] (Christoph Michael Becker)
Newsgroups php.doc.de
Message-ID <[email protected]>
cmb                                      Thu, 28 Feb 2019 14:26:30 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=346921

Log:
Fix errors in translation

Patch provided by Florian Berberich.

Changed paths:
    U   phpdoc/de/trunk/appendices/tokens.xml
    U   phpdoc/de/trunk/chapters/tutorial.xml
    U   phpdoc/de/trunk/language/predefined/exception.xml
svn-diffs-346921.txt (text/x-diff, 9.3 KB)
Modified: phpdoc/de/trunk/appendices/tokens.xml
===================================================================
--- phpdoc/de/trunk/appendices/tokens.xml	2019-02-28 13:58:21 UTC (rev 346920)
+++ phpdoc/de/trunk/appendices/tokens.xml	2019-02-28 14:26:30 UTC (rev 346921)
@@ -15,7 +15,7 @@
   nicht wissen, wird hier eine Tabelle mit diesen Bezeichnern, der PHP-Syntax
   und Verweisen zu den entsprechenden Stellen im Handbuch aufgeführt.
  </para>
-
+
  <note>
   <title>Verwendung der T_* Konstanten</title>
   <para>
@@ -25,7 +25,9 @@
    der konkrete Wert eines Tokens zwischen zwei PHP-Versionen ändern kann.
    Beispielsweise ist die <constant>T_FILE</constant> Konstante in PHP 5.3
    gleich <literal>365</literal>, wohingegen der selbe Wert in PHP 5.4
-   <constant>T_TRAIT</constant> entspricht. Daher sollte sich Code niemals
+   <constant>T_TRAIT</constant> entspricht und der Wert der Konstanten
+   <constant>T_FILE</constant> <literal>369</literal> ist.
+   Daher sollte sich Code niemals
    direkt auf die Original-Werte, die einer PHP-Version X.Y.Z entnommen wurden,
    verlassen, damit eine gewisse Kompatibilität über mehrere PHP-Version
    gewährleistet ist. Statt dessen sollte der Code benutzerdefinierte Werte
@@ -34,7 +36,7 @@
    funktioniert, verwenden.
   </para>
  </note>
-
+
  <table>
   <title>Token</title>
   <tgroup cols="3">
@@ -60,7 +62,7 @@
      <entry><constant>T_ARRAY</constant></entry>
      <entry>array()</entry>
      <entry><function>array</function>, <link
-     linkend="language.types.array.syntax">Arraysyntax</link></entry>
+      linkend="language.types.array.syntax">Arraysyntax</link></entry>
     </row>
     <row>
      <entry><constant>T_ARRAY_CAST</constant></entry>
@@ -67,10 +69,10 @@
      <entry>(array)</entry>
      <entry><link linkend="language.types.typecasting">Typumwandlung</link></entry>
     </row>
-     <row>
+    <row>
      <entry><constant>T_AS</constant></entry>
-     <entry>as</entry>
-     <entry><link linkend="control-structures.foreach">foreach</link></entry>
+      <entry>as</entry>
+      <entry>&foreach;</entry>
     </row>
     <row>
      <entry><constant>T_BAD_CHARACTER</constant></entry>
@@ -183,7 +185,7 @@
      <entry>T_D<constant>T_DEC</constant>EC</entry>
      <entry>--</entry>
      <entry><link
-     linkend="language.operators.increment">Inkrement- bzw. Dekrementoperatoren</link></entry>
+      linkend="language.operators.increment">Inkrement- bzw. Dekrementoperatoren</link></entry>
     </row>
     <row>
      <entry><constant>T_DECLARE</constant></entry>
@@ -199,7 +201,7 @@
      <entry><constant>T_DIR</constant></entry>
      <entry>__DIR__</entry>
      <entry><link linkend="language.constants.predefined">Magische Konstanten</link>
-       (verfügbar ab PHP 5.3.0)</entry>
+      (verfügbar ab PHP 5.3.0)</entry>
     </row>
     <row>
      <entry><constant>T_DIV_EQUAL</constant></entry>
@@ -275,43 +277,43 @@
      <entry><constant>T_ENCAPSED_AND_WHITESPACE</constant></entry>
      <entry>" $a"</entry>
      <entry><link linkend="language.types.string.parsing">Konstanter Teil einer
-     Zeichenkette mit Variablen</link></entry>
+      Zeichenkette mit Variablen</link></entry>
     </row>
     <row>
      <entry><constant>T_ENDDECLARE</constant></entry>
      <entry>enddeclare</entry>
      <entry><link linkend="control-structures.declare">declare</link>, <link
-     linkend="control-structures.alternative-syntax">Alternative Syntax</link></entry>
+      linkend="control-structures.alternative-syntax">Alternative Syntax</link></entry>
     </row>
     <row>
      <entry><constant>T_ENDFOR</constant></entry>
      <entry>endfor</entry>
      <entry><link linkend="control-structures.for">for</link>, <link
-     linkend="control-structures.alternative-syntax">Alternative Syntax</link></entry>
+      linkend="control-structures.alternative-syntax">Alternative Syntax</link></entry>
     </row>
     <row>
      <entry><constant>T_ENDFOREACH</constant></entry>
      <entry>endforeach</entry>
-     <entry><link linkend="control-structures.foreach">foreach</link>, <link
-     linkend="control-structures.alternative-syntax">Alternative Syntax</link></entry>
+     <entry>&foreach;, <link
+      linkend="control-structures.alternative-syntax">Alternative Syntax</link></entry>
     </row>
     <row>
      <entry><constant>T_ENDIF</constant></entry>
      <entry>endif</entry>
      <entry><link linkend="control-structures.if">if</link>, <link
-     linkend="control-structures.alternative-syntax">Alternative Syntax</link></entry>
+      linkend="control-structures.alternative-syntax">Alternative Syntax</link></entry>
     </row>
     <row>
      <entry><constant>T_ENDSWITCH</constant></entry>
      <entry>endswitch</entry>
      <entry><link linkend="control-structures.switch">switch</link>, <link
-     linkend="control-structures.alternative-syntax">Alternative Syntax</link></entry>
+      linkend="control-structures.alternative-syntax">Alternative Syntax</link></entry>
     </row>
     <row>
      <entry><constant>T_ENDWHILE</constant></entry>
      <entry>endwhile</entry>
      <entry><link linkend="control-structures.while">while</link>, <link
-     linkend="control-structures.alternative-syntax">Alternative Syntax</link></entry>
+      linkend="control-structures.alternative-syntax">Alternative Syntax</link></entry>
     </row>
     <row>
      <entry><constant>T_END_HEREDOC</constant></entry>
@@ -332,7 +334,7 @@
      <entry><constant>T_EXTENDS</constant></entry>
      <entry>extends</entry>
      <entry><link linkend="language.oop5.basic.extends">extends</link>, <link
-     linkend="language.oop5">Klassen und Objekte</link></entry>
+      linkend="language.oop5">Klassen und Objekte</link></entry>
     </row>
     <row>
      <entry><constant>T_FILE</constant></entry>
@@ -357,7 +359,7 @@
     <row>
      <entry><constant>T_FOREACH</constant></entry>
      <entry>foreach</entry>
-     <entry><link linkend="control-structures.foreach">foreach</link></entry>
+     <entry>&foreach;</entry>
     </row>
     <row>
      <entry><constant>T_FUNCTION</constant></entry>
@@ -400,7 +402,7 @@
      <entry><constant>T_INC</constant></entry>
      <entry>++</entry>
      <entry><link
-     linkend="language.operators.increment">Inkrement- bzw. Dekrementoperatoren</link></entry>
+      linkend="language.operators.increment">Inkrement- bzw. Dekrementoperatoren</link></entry>
     </row>
     <row>
      <entry><constant>T_INCLUDE</constant></entry>
@@ -566,7 +568,7 @@
      <entry><constant>T_NUM_STRING</constant></entry>
      <entry>"$a[0]"</entry>
      <entry><link linkend="language.types.string.parsing">Numerischer Array-Index
-     innerhalb einer Zeichenkette</link></entry>
+      innerhalb einer Zeichenkette</link></entry>
     </row>
     <row>
      <entry><constant>T_OBJECT_CAST</constant></entry>
@@ -709,7 +711,7 @@
      <entry><constant>T_STRING_VARNAME</constant></entry>
      <entry>"${a</entry>
      <entry><link linkend="language.types.string.parsing.complex">komplexe
-     Variableninterpolationssyntax</link></entry>
+      Variableninterpolationssyntax</link></entry>
     </row>
     <row>
      <entry><constant>T_SWITCH</constant></entry>
@@ -750,7 +752,7 @@
      <entry><constant>T_USE</constant></entry>
      <entry>use</entry>
      <entry><link linkend="language.namespaces">Namensräume</link>
-     (verfügbar ab PHP 5.3.0)</entry>
+      (verfügbar ab PHP 5.3.0)</entry>
     </row>
     <row>
      <entry><constant>T_VAR</constant></entry>
@@ -766,7 +768,7 @@
      <entry><constant>T_WHILE</constant></entry>
      <entry>while</entry>
      <entry><link linkend="control-structures.while">while</link>, <link
-     linkend="control-structures.do.while">do..while</link></entry>
+      linkend="control-structures.do.while">do..while</link></entry>
     </row>
     <row>
      <entry><constant>T_WHITESPACE</constant></entry>

Modified: phpdoc/de/trunk/chapters/tutorial.xml
===================================================================
--- phpdoc/de/trunk/chapters/tutorial.xml	2019-02-28 13:58:21 UTC (rev 346920)
+++ phpdoc/de/trunk/chapters/tutorial.xml	2019-02-28 14:26:30 UTC (rev 346921)
@@ -535,7 +535,7 @@
        <link linkend="ini.register-globals">register_globals</link>.
        Die empfohlene Methode, auf diese Werte zuzugreifen, ist, die oben genannten
        superglobalen Arrays zu verwenden. Ältere Skripte, Bücher und Tutorials gehen
-       eventuell davon aus, dass diese Einstellung auf <emphasis>on</emphasis> steht.
+       eventuell davon aus, dass diese Einstellung auf <literal>on</literal> steht.
        Wäre die Einstellung z.B. on, dann wäre die Variable <varname>$id</varname> aus
        dem URL <literal>http://www.example.com/foo.php?id=42</literal> verfügbar.
        Unabhängig davon, ob on oder off, ist <varname>$_GET['id']</varname> immer

Modified: phpdoc/de/trunk/language/predefined/exception.xml
===================================================================
--- phpdoc/de/trunk/language/predefined/exception.xml	2019-02-28 13:58:21 UTC (rev 346920)
+++ phpdoc/de/trunk/language/predefined/exception.xml	2019-02-28 14:26:30 UTC (rev 346921)
@@ -22,7 +22,7 @@
    </para>
    <para>
     Vor PHP 7 implementierte <classname>Exception</classname> das
-    <classname>Throwable</classname>-Interface <emphasis>nicht</emphasis>.
+    <classname>Throwable</classname>-Interface nicht.
    </para>
   </section>
 <!-- }}} -->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.