Skip to content

Commit

Permalink
Dutch translations (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
Roene-JustBetter authored Oct 29, 2024
1 parent f7ca065 commit 0eba132
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
26 changes: 26 additions & 0 deletions lang/nl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"Add all items to cart": "Voeg alle items toe aan winkelwagen",
"Amount": "Bedrag",
"Back to dashboard": "Terug naar dashboard",
"Back to wishlists": "Terug naar verlanglijstjes",
"Change name": "Naam wijzigen",
"Create new wishlist": "Nieuwe verlanglijst maken",
"Delete wishlist": "Verlanglijst verwijderen",
"Edit": "Bewerken",
"Latest update: :date": "Laatste update: :date",
"My Wishlists": "Mijn verlanglijstjes",
"New order list": "Nieuwe bestellijst",
"New wishlist": "Nieuwe verlanglijst",
"Not in stock": "Niet op voorraad",
"Number of articles (:count)": "Aantal artikelen (:count)",
"Share": "Delen",
"Share this wishlist": "Deel deze verlanglijst",
"Sharing link": "Deelbare link",
"View": "Bekijken",
"You have no items in your wishlist": "Je hebt geen items in je verlanglijst",
"You must log in to add a product to your order list.": "Je moet inloggen om een product aan je bestellijst toe te voegen.",
"article": "artikel",
"articles": "artikelen",
"login": "inloggen",
"shared": "gedeeld"
}
10 changes: 9 additions & 1 deletion src/MultipleWishlistServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ public function boot()
$this->bootRoutes()
->bootViews()
->bootMigrations()
->publish();
->publish()
->bootTranslations();
}

public function bootRoutes(): static
Expand Down Expand Up @@ -45,4 +46,11 @@ public function publish(): static

return $this;
}

protected function bootTranslations(): self
{
$this->loadJsonTranslationsFrom(__DIR__ . '/../lang');

return $this;
}
}

0 comments on commit 0eba132

Please sign in to comment.