Commit:    446f1d59058e51e1ca5ea245f1559685c2ee5590
Author:    Christoph M. Becker <cmbecke...@gmx.de>         Wed, 2 Dec 2020 
19:50:00 +0100
Parents:   8d5d1db6d0551079fc8b27846cb6e931c0cb8cd0
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=446f1d59058e51e1ca5ea245f1559685c2ee5590

Log:
Translate strings in German example

Changed paths:
  M  releases/8.0/de.php


Diff:
diff --git a/releases/8.0/de.php b/releases/8.0/de.php
index 8769cc14f..95295823d 100644
--- a/releases/8.0/de.php
+++ b/releases/8.0/de.php
@@ -215,14 +215,14 @@ new Number(\'NaN\'); // TypeError'
             <?php highlight_php_trimmed(
                 'switch (8.0) {
   case \'8.0\':
-    $result = "Oh no!";
+    $result = "Oh nein!";
     break;
   case 8.0:
-    $result = "This is what I expected";
+    $result = "Das hatte ich erwartet";
     break;
 }
 echo $result;
-//> Oh no!'
+//> Oh nein!'
             );?>
         </div>
       </div>
@@ -232,10 +232,10 @@ echo $result;
         <div class="php8-code phpcode">
             <?php highlight_php_trimmed(
                 'echo match (8.0) {
-\'8.0\' => "Oh no!",
-8.0 => "This is what I expected",
+  \'8.0\' => "Oh nein!",
+  8.0 => "Das hatte ich erwartet",
 };
-//> This is what I expected'
+//> Das hatte ich erwartet'
             );?>
         </div>
       </div>


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to