]> gitweb.hamatoma.de Git - gadeku.git/commitdiff
V 0.1.2 Grammatik
authorCeline <celine_kappeler@gmx.de>
Wed, 3 Apr 2024 19:03:11 +0000 (21:03 +0200)
committerCeline <celine_kappeler@gmx.de>
Wed, 3 Apr 2024 19:03:11 +0000 (21:03 +0200)
- Korrekturen in GermanGrammar::verbPresent() und verbImperfect()

CHANGELOG.md
app/Helpers/GermanGrammar.php
package-lock.json
package.json

index b47c180bfbe56a9833723a150a3c1148ba0f65cd..191a869cc4687a9eb10eaa136cd00504bf6b07bc 100644 (file)
@@ -1,9 +1,14 @@
+# V 0.1.2 Grammatik
+
+## Changed
+- Korrekturen in GermanGrammar::verbPresent() und verbImperfect()
+
 # V 0.1.1 Verb improvements
 
 # Added
 - GermanGrammar
 
-# Changed
+## Changed
 - only entry of infinitive on verbs
 
-# V 0.1.0 Initial commit
+## V 0.1.0 Initial commit
index febc372714927d036c89cb66024f5fa54adc5eca..3814253507a97f2eca80a97bb05d3ff04dfd9de7 100644 (file)
@@ -27,7 +27,7 @@ class GermanGrammar
             }
         } else {
             $end1 = 'ten';
-            $end2 = 'test';
+            $end3 = 'tet';
             if (str_ends_with($base, 't')) {
                 // rosten
                 $between = 'e';
@@ -41,7 +41,7 @@ class GermanGrammar
                     $rc = "$base$between$end1";
                     break;
                 case 2:
-                    $rc = "$base$between$end2";
+                    $rc = "$base$between$end3";
                     break;
             }
         }
@@ -56,8 +56,10 @@ class GermanGrammar
     {
         $base = substr($infinitive, 0, strlen($infinitive) - 2);
         if (str_ends_with($base, 's')) {
+            // reisen
             $end2 = 't';
         } else {
+            // kochen
             $end2 = 'st';
         }
         if ($singular) {
@@ -66,9 +68,11 @@ class GermanGrammar
                     $rc = $base . 'e';
                     break;
                 case 2:
-                default:
                     $rc = $base . $end2;
                     break;
+                default:
+                    $rc = $base . 't';
+                    break;
             }
         } else {
             switch ($person) {
@@ -77,7 +81,7 @@ class GermanGrammar
                     $rc = $base . 'en';
                     break;
                 case 2:
-                    $rc = $base . $end2;
+                    $rc = $base . 't';
                     break;
             }
         }
index 555773de1705641256878075f6aa5564f9726959..d02a26eaa244aa597b25458a48fbd4c47129384e 100644 (file)
@@ -10,7 +10,7 @@
                 "bootstrap": "^5.2.3",
                 "laravel-vite-plugin": "^1.0",
                 "sass": "^1.56.1",
-                "vite": "^5.2.7"
+                "vite": "^5.2.8"
             }
         },
         "node_modules/@esbuild/aix-ppc64": {
             }
         },
         "node_modules/vite": {
-            "version": "5.2.7",
-            "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.7.tgz",
-            "integrity": "sha512-k14PWOKLI6pMaSzAuGtT+Cf0YmIx12z9YGon39onaJNy8DLBfBJrzg9FQEmkAM5lpHBZs9wksWAsyF/HkpEwJA==",
+            "version": "5.2.8",
+            "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.8.tgz",
+            "integrity": "sha512-OyZR+c1CE8yeHw5V5t59aXsUPPVTHMDjEZz8MgguLL/Q7NblxhZUlTu9xSPqlsUO/y+X7dlU05jdhvyycD55DA==",
             "dev": true,
             "dependencies": {
                 "esbuild": "^0.20.1",
index 17849ec20e62b6f0aa22e196aedaf19d61fea8a3..207a576b77f1182ef12c1d6e2aae382130f9950f 100644 (file)
@@ -11,6 +11,6 @@
         "bootstrap": "^5.2.3",
         "laravel-vite-plugin": "^1.0",
         "sass": "^1.56.1",
-        "vite": "^5.2.7"
+        "vite": "^5.2.8"
     }
 }