Skip to content

Commit

Permalink
Fix translations (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG authored Dec 17, 2024
1 parent 8b13561 commit 80ad360
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 29 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
22 changes: 4 additions & 18 deletions lang/nl.json
Original file line number Diff line number Diff line change
@@ -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.",
"and use a different e-mail address.": "en gebruik een ander e-mailadres.",
"Back to account": "Terug naar account",
"Back to cart": "Terug naar winkelwagen",
Expand All @@ -24,22 +21,14 @@
"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",
"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.",
Expand All @@ -50,21 +39,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",
Expand All @@ -78,19 +64,19 @@
"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.",
"To checkout": "Naar afrekenen",
"Total price": "Totale prijs",
"Total price (incl. VAT)": "Totale prijs (incl. BTW)",
"Track status of your order and view order history": "Volg de status van uw bestelling en bekijk uw bestelgeschiedenis",
"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.",
"You do not have any orders yet.": "U heeft nog geen bestellingen.",
"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."
"Your order is currently": "Uw bestelling is momenteel"
}
2 changes: 1 addition & 1 deletion resources/views/account/forgotpassword.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@extends('rapidez::layouts.app')

@section('title', __('Forgot password'))
@section('title', __('Forgot your password?'))

@section('robots', 'NOINDEX,NOFOLLOW')

Expand Down
2 changes: 1 addition & 1 deletion resources/views/account/partials/address-cards.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</template>
<a href="/account/address/new" class="min-h-[180px] flex flex-col items-center justify-center gap-y-2 font-medium bg-ct-disabled rounded max-md:hidden">
<span>+</span>
<span>@lang('Add new address')</span>
<span>@lang('Add a new address')</span>
</a>
</template>
<template v-else>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/account/partials/forgotpassword.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.')' }"
>
<form v-on:submit.prevent="mutate">
<x-rapidez-ct::title.lg class="mb-4">
@lang('Forgot Your Password?')
@lang('Forgot your password?')
</x-rapidez-ct::title.lg>
<p class="mb-5 text-sm">
@lang('Enter your email address below, you will receive an email within minutes to reset the password.')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<button v-on:click.prevent="toggleEdit" class="flex flex-col items-center justify-center gap-y-2 font-medium bg-ct-disabled rounded max-md:hidden">
<span>+</span>
<span>@lang('Add new address')</span>
<span>@lang('Add a new address')</span>
</button>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<x-rapidez-ct::title.lg>
@lang('Create account')
@lang('Create an account')
</x-rapidez-ct::title.lg>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<x-rapidez::button.seconary class="self-end justify-self-start" loader>
@lang('Create account')
@lang('Create an account')
</x-rapidez::button.seconary>
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<x-rapidez-ct::card>
<x-rapidez-ct::title.lg class="mb-5">
@lang('Success usps')
Success usps
</x-rapidez-ct::title.lg>
<x-rapidez-ct::usp-list>
<li>
<x-heroicon-o-check class="absolute left-0 top-0 h-5 text-ct-accent" stroke-width="2.5" />
<span>@lang('Success usp 1')</span>
<span>Success usp 1</span>
</li>
<li>
<x-heroicon-o-check class="absolute left-0 top-0 h-5 text-ct-accent" stroke-width="2.5" />
<span>@lang('Success usp 2')</span>
<span>Success usp 2</span>
</li>
<li>
<x-heroicon-o-check class="absolute left-0 top-0 h-5 text-ct-accent" stroke-width="2.5" />
<span>@lang('Success usp 3')</span>
<span>Success usp 3</span>
</li>
</x-rapidez-ct::usp-list>
</x-rapidez-ct::card>

0 comments on commit 80ad360

Please sign in to comment.