Skip to content

Commit

Permalink
Merge pull request alexeymezenin#147 from alexeymezenin/tweak-german-…
Browse files Browse the repository at this point in the history
…wording

Tweak Wording in German translation
  • Loading branch information
spekulatius authored Sep 20, 2022
2 parents 18d6d82 + f9c5f7d commit 7881341
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions german.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ Besser:
```php
<input id="article" type="hidden" value='@json($article)'>

Oder
oder

<button class="js-fav-article" data-article='@json($article)'>{{ $article->name }}<button>
```
Expand Down Expand Up @@ -615,6 +615,7 @@ Gut:
```php
// Model
protected $dates = ['ordered_at', 'created_at', 'updated_at'];

public function getSomeDateAttribute($date)
{
return $date->format('m-d');
Expand All @@ -629,8 +630,8 @@ public function getSomeDateAttribute($date)

### **Andere gute Praktiken**

Fügen Sie niemals Logik in Routes Dateien ein.
Logik sollte nicht in Routes Dateien eingebaut werden.

Minimieren Sie die Verwendung von vanilla PHP in Blade-Templates.
Minimieren Sie die Verwendung von Vanilla PHP in Blade-Templates.

[🔝 Zurück zum Inhaltsverzeichnis](#inhaltsverzeichnis)

0 comments on commit 7881341

Please sign in to comment.