Archived
1
0
Fork 0

Some locals

This commit is contained in:
Ethanell 2020-09-11 11:14:27 +02:00
parent 6c67927e5c
commit e4981ff5ef
3 changed files with 16 additions and 4 deletions

View file

@ -67,6 +67,12 @@
"firstDate": "First date", "firstDate": "First date",
"lastDate": "Last date" "lastDate": "Last date"
}, },
"payment": {
"successful": "Payment successful !",
"canceled": "Payment canceled",
"error": "An error occurred with the payment",
"retry": "Retry"
},
"firstName": "First name", "firstName": "First name",
"lastName": "Last name", "lastName": "Last name",
"username": "Username", "username": "Username",

View file

@ -67,6 +67,12 @@
"firstDate": "Première date", "firstDate": "Première date",
"lastDate": "Dernière date" "lastDate": "Dernière date"
}, },
"payment": {
"successful": "Paiement réussi !",
"canceled": "Paiement annulé",
"error": "Une erreur est survenue lors du paiement",
"retry": "Recommencez"
},
"firstName": "Prénom", "firstName": "Prénom",
"lastName": "Nom de famille", "lastName": "Nom de famille",
"username": "Nom d'utilisateur", "username": "Nom d'utilisateur",

View file

@ -4,11 +4,11 @@ block content
div.card div.card
h1 Payment h1 Payment
if (state === "success") if (state === "success")
h2 Payment successful ! h2=__("payment.successful")
else if (state === "cancel") else if (state === "cancel")
h2 Payment canceled h2=__("payment.canceled")
else if (state === "error") else if (state === "error")
h2 An error occurred with the payment h2=__("payment.error")
if (state !== "success") if (state !== "success")
a(href="/order/retry") a(href="/order/retry")
button Retry button=__("payment.retry")