diff --git a/composer.json b/composer.json
index 98d19a9b..365a670a 100644
--- a/composer.json
+++ b/composer.json
@@ -19,6 +19,7 @@
"require": {
"php": "^8.0|^8.1|^8.2",
"blade-ui-kit/blade-heroicons": "^2.0",
+ "rapidez/account": "^3.0",
"rapidez/core": "^3.0"
},
"autoload": {
diff --git a/lang/nl.json b/lang/nl.json
index 7e5f6b25..799af5af 100644
--- a/lang/nl.json
+++ b/lang/nl.json
@@ -1,17 +1,14 @@
{
"Account features": "Account voordelen",
- "Account overview": "Account overzicht",
"Account registration successful.": "Accountregistratie succesvol.",
"Account settings": "Account instellingen",
"Add a new address": "Voeg een nieuw adres toe",
"Add address and save": "Voeg adres toe en sla op",
- "Address": "Adres",
"Address changed successfully": "Adres succesvol gewijzigd",
"Address created successfully": "Adres succesvol aangemaakt",
"Address data": "Adresgegevens",
"Already logged in": "Al ingelogd",
"Amount": "Bedrag",
- "An email is send with a password reset link if an account exists with the provided email address.": "Een e-mail is verzonden met een link om het wachtwoord te resetten, als er een account bestaat met het opgegeven e-mailadres.",
"Back to account": "Terug naar account",
"Back to cart": "Terug naar winkelwagen",
"Back to credentials": "Terug naar inloggegevens",
@@ -22,23 +19,15 @@
"Change address and save": "Adres wijzigen en opslaan",
"Change credentials / Add addresses / Newsletters": "Wijzig gegevens / Voeg adressen toe / Nieuwsbrieven",
"Change e-mail address": "E-mailadres wijzigen",
- "Change password": "Wachtwoord wijzigen",
- "Changed successfully!": "Succesvol gewijzigd!",
- "Contact information": "Contactgegevens",
"Continue shopping": "Verder winkelen",
"Coupon code": "Kortingscode",
- "Current password": "Huidig wachtwoord",
"Customer centre": "Klantenservice",
"Decrease quantity": "Aantal verlagen",
- "Default billing address": "Standaard factuuradres",
- "Default shipping address": "Standaard verzendadres",
"Delete address": "Adres verwijderen",
"Delivery method": "Bezorgmethode",
"Deselect as billing": "Deselecteer als factuuradres",
"Deselect as shipping": "Deselecteer als verzendadres",
"Don't have an account yet? Create an account and enjoy faster ordering, repeat orders, status of your order, easy returns and more!": "Nog geen account? Maak een account aan en geniet van sneller bestellen, herhaalde bestellingen, bestelstatus, gemakkelijke retouren en meer!",
- "Edit": "Bewerken",
- "Email": "E-mail",
"Enter your e-mail address": "Voer uw e-mailadres in",
"Enter your email address": "Voer uw e-mailadres in",
"Enter your email address below, you will receive an email within minutes to reset the password.": "Voer hieronder uw e-mailadres in, u ontvangt binnen enkele minuten een e-mail om het wachtwoord te resetten.",
@@ -52,21 +41,18 @@
"Log out": "Uitloggen",
"Logout from your account": "Uitloggen van uw account",
"My addresses": "Mijn adressen",
- "New password": "Nieuw wachtwoord",
+ "Newsletter": "Nieuwsbrief",
"No account yet? Create an account and benefit instantly from repeat orders, order statuses and easy returns!": "Nog geen account? Maak direct een account aan en profiteer van herhaalde bestellingen, bestelstatus en gemakkelijke retouren!",
"No default address has been set yet.": "Er is nog geen standaardadres ingesteld.",
"Number of products": "Aantal producten",
- "Order": "Bestelling",
"Order again": "Bestelling herhalen",
"Order date": "Besteldatum",
"Order overview": "Bestellingsoverzicht",
"Ordered within 2 minutes": "Besteld binnen 2 minuten",
"Place repeat order / View orders": "Herhaal bestelling / Bekijk bestellingen",
"Please select an address": "Selecteer een adres",
- "Price": "Prijs",
"Product": "Product",
"Quick and easy ordering without having to fill in your details every time": "Snel en eenvoudig bestellen zonder elke keer uw gegevens in te vullen",
- "Register": "Registreren",
"Register account": "Account registreren",
"Register within 1 minute": "Registreer binnen 1 minuut",
"Return to home": "Terug naar home",
@@ -80,7 +66,6 @@
"Thank you for subscribing": "Bedankt voor uw inschrijving",
"Thank you for your order": "Bedankt voor uw bestelling",
"This is a business account": "Dit is een zakelijke account",
- "This product is out of stock, remove it to continue your order.": "Dit product is op dit moment niet op voorraad, verwijder deze om verder te gaan met de bestelling.",
"This product it out of stock, remove it to continue your order.": "Dit product is niet op voorraad, verwijder het om verder te gaan met je bestelling.",
"To checkout": "Naar afrekenen",
"Total price": "Totale prijs",
@@ -89,7 +74,8 @@
"Use a new address": "Gebruik een nieuw adres",
"Vat ID": "BTW-nummer",
"We will also check if you already have an account so you can checkout more efficiently.": "We zullen ook controleren of u al een account heeft, zodat u efficiƫnter kunt afrekenen.",
- "We will send your order confirmation to this e-mail address.": "We sturen uw orderbevestiging naar dit e-mailadres.",
+ "We will send a confirmation of your order :orderid to :email": "We sturen een orderbevestiging van bestelling :orderid naar :email",
+ "We will send your order confirmation to this e-mail address. We will also check if you already have an account so you can checkout more efficiently.": "We sturen uw orderbevestiging naar dit e-mailadres. We zullen ook controleren of u al een account heeft om het bestelproces te versnellen.",
"Welcome back": "Welkom terug",
"Yes, I want to subscribe to the newsletter": "Ja, ik wil me inschrijven voor de nieuwsbrief",
"You already have an account with this e-mail address. Please log in to continue.": "U heeft al een account met dit e-mailadres. Log in om verder te gaan.",
@@ -97,4 +83,5 @@
"You will receive this newsletter approximately 2x a year": "U ontvangt deze nieuwsbrief ongeveer 2x per jaar",
"Your password has been changed, please login.": "Uw wachtwoord is gewijzigd, log alstublieft in.",
"and use a different e-mail address.": "en gebruik een ander e-mailadres."
+ "Your order is currently": "Uw bestelling is momenteel"
}
diff --git a/resources/core-overwrites/layouts/checkout/header.blade.php b/resources/core-overwrites/layouts/checkout/header.blade.php
index 41bf46aa..4b70579e 100644
--- a/resources/core-overwrites/layouts/checkout/header.blade.php
+++ b/resources/core-overwrites/layouts/checkout/header.blade.php
@@ -1,4 +1,4 @@
-
+
diff --git a/resources/views/account/address-new.blade.php b/resources/views/account/address-new.blade.php
index 12782639..f636db94 100644
--- a/resources/views/account/address-new.blade.php
+++ b/resources/views/account/address-new.blade.php
@@ -10,6 +10,7 @@
query="@include('rapidez::account.partials.queries.address-create')"
:variables="{ street: [] }"
:watch="false"
+ :callback="refreshUserInfoCallback"
:notify="{ 'message': '@lang('Address created successfully')' }"
redirect="{{ route('account.edit') }}"
>
diff --git a/resources/views/account/forgotpassword.blade.php b/resources/views/account/forgotpassword.blade.php
index 2df9f2a8..c861d6cf 100644
--- a/resources/views/account/forgotpassword.blade.php
+++ b/resources/views/account/forgotpassword.blade.php
@@ -1,6 +1,6 @@
@extends('rapidez::layouts.app')
-@section('title', __('Forgot password'))
+@section('title', __('Forgot your password?'))
@section('robots', 'NOINDEX,NOFOLLOW')
diff --git a/resources/views/account/partials/address-cards.blade.php b/resources/views/account/partials/address-cards.blade.php
index a64b7673..6ab72c58 100644
--- a/resources/views/account/partials/address-cards.blade.php
+++ b/resources/views/account/partials/address-cards.blade.php
@@ -12,7 +12,7 @@
+
- @lang('Add new address')
+ @lang('Add a new address')
diff --git a/resources/views/account/partials/address-cards/delete.blade.php b/resources/views/account/partials/address-cards/delete.blade.php
index dd9977f7..950f63da 100644
--- a/resources/views/account/partials/address-cards/delete.blade.php
+++ b/resources/views/account/partials/address-cards/delete.blade.php
@@ -1,4 +1,9 @@
-
+
@lang('Delete address')
diff --git a/resources/views/account/partials/forgotpassword.blade.php b/resources/views/account/partials/forgotpassword.blade.php
index c1afd991..611bfd8a 100644
--- a/resources/views/account/partials/forgotpassword.blade.php
+++ b/resources/views/account/partials/forgotpassword.blade.php
@@ -3,11 +3,11 @@
query="mutation reset($email: String!) { requestPasswordResetEmail ( email: $email ) }"
v-slot="{ mutate, variables }"
:clear="true"
- :notify="{ message: '@lang('An email is send with a password reset link if an account exists with the provided email address.')' }"
+ :notify="{ message: '@lang('An email has been sent with a password reset link if an account exists with the provided email address.')' }"
>
diff --git a/resources/views/checkout/partials/address-cards.blade.php b/resources/views/checkout/partials/address-cards.blade.php
index 3525c981..cc542675 100644
--- a/resources/views/checkout/partials/address-cards.blade.php
+++ b/resources/views/checkout/partials/address-cards.blade.php
@@ -1,6 +1,6 @@
- @lang('We will send your order confirmation to this e-mail address. We will also check if you already have an account so you can checkout more efficiently.')
+ @lang('We\'ll email your order confirmation and check if you have an account for faster checkout.')