From 3b7e4281dc546661038d2c7c08fee676ca341bf3 Mon Sep 17 00:00:00 2001
From: PoPo <76515395+PoPoGH@users.noreply.github.com>
Date: Tue, 17 Jan 2023 15:09:10 +0100
Subject: [PATCH 1/4] Create fr.lua
---
[esx_addons]/esx_banking/locales/fr.lua | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 [esx_addons]/esx_banking/locales/fr.lua
diff --git a/[esx_addons]/esx_banking/locales/fr.lua b/[esx_addons]/esx_banking/locales/fr.lua
new file mode 100644
index 00000000..75631159
--- /dev/null
+++ b/[esx_addons]/esx_banking/locales/fr.lua
@@ -0,0 +1,16 @@
+Locales['fr'] = {
+ ['invalid_amount'] = "La somme d'argent est invalide.",
+ ['deposit_money'] = 'Tu as déposé $%s',
+ ['withdraw_money'] = 'Tu as retiré $%s',
+ ['pincode_money'] = 'Tu as défini un nouveau code PIN : %s',
+ ['transfer_money'] = 'Tu as transféré $%s à ID: %s',
+ ['receive_transfer'] = 'Tu as reçu $%s de ID: %s',
+ ['press_e_banking'] = 'Appuie sur [E] pour accéder a la banque.',
+ ['access_bank'] = 'Accéder à la banque',
+ ['banking_blip'] = 'Banque',
+ ['cant_do_it'] = "Tu ne peux pas faire ça!",
+ ['not_enough_money'] = "Tu n'as pas assez d'argent ! Tu as besoin de %s!",
+ ['pincode_not_found'] = "Code PIN invalide",
+ ['pincode_found'] = "Code PIN valide...",
+ ['bank_name'] = "Banque Fleeca"
+ }
\ No newline at end of file
From 811636cb58885a4158106515acc9022c69b477c2 Mon Sep 17 00:00:00 2001
From: PoPo <76515395+PoPoGH@users.noreply.github.com>
Date: Tue, 17 Jan 2023 19:35:14 +0100
Subject: [PATCH 2/4] Add French Language
---
[esx_addons]/esx_banking/html/config.json | 107 +++++++++++++++++++++-
1 file changed, 102 insertions(+), 5 deletions(-)
diff --git a/[esx_addons]/esx_banking/html/config.json b/[esx_addons]/esx_banking/html/config.json
index 565c4c9b..866aae4f 100644
--- a/[esx_addons]/esx_banking/html/config.json
+++ b/[esx_addons]/esx_banking/html/config.json
@@ -93,7 +93,7 @@
"amountLabel":"Amount",
"timeLabel":"Time",
"searchInputPlaceholder":"Search ...",
- "_comment": "tableFullLanguage options: English,Hungarian you can find here all lang: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
+ "_comment": "tableFullLanguage options: English, Hungarian, Italian, Spanish, French, you can find here all lang: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
"tableFullLanguage":"English"
}
}
@@ -191,7 +191,7 @@
"amountLabel":"Összeg",
"timeLabel":"Idő",
"searchInputPlaceholder":"Kereső ...",
- "_comment": "tableFullLanguage options: English,Hungarian you can find here all lang: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
+ "_comment": "tableFullLanguage options: English, Hungarian, Italian, Spanish, French, you can find here all lang: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
"tableFullLanguage":"Hungarian"
}
}
@@ -288,7 +288,7 @@
"amountLabel":"quantità",
"timeLabel":"tempo",
"searchInputPlaceholder":"Cerca ...",
- "_comment": "tabella Opzioni complete della lingua: inglese, ungherese, italiana puoi trovare qui tutte le lingue: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
+ "_comment": "tabella Opzioni complete della lingua: inglese, ungherese, italiana, spagnolo, francese, puoi trovare qui tutte le lingue: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
"tableFullLanguage":"Italian"
}
}
@@ -385,9 +385,106 @@
"amountLabel":"Importe",
"timeLabel":"Tiempo",
"searchInputPlaceholder":"Buscar...",
- "_comment": "tableFullLanguage options: English,Hungarian you can find here all lang: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
+ "_comment": "tableFullLanguage options: English, Hungarian, Italiano, Spanish, French, you can find here all lang: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
"tableFullLanguage":"Spanish"
}
}
+ },
+ "FR":{
+ "DYNAMIC_FORM_DATA":[
+ {
+ "componentName":"moreGraph",
+ "elementID":"#wrapper",
+ "title":"",
+ "closeButtonText":"Fermer",
+ "bankTitle":"Banque Fleeca",
+ "mainExitButtonText": "Déconnexion"
+ },
+ {
+ "elementID":"#cpincode",
+ "name":"cpincode",
+ "buttonText":"Applique",
+ "inputPlaceholder": "Entrez 4 chiffres...",
+ "title":"CONFIGURATION DU PIN",
+ "description": "Ici vous pouvez définir ou changer votre code PIN.",
+ "type":"password"
+ },
+ {
+ "elementID":"#withdraw",
+ "name":"withdraw",
+ "buttonText":"Approuver",
+ "inputPlaceholder": "Montant",
+ "title":"RETIRER",
+ "description": "Ici vous pouvez retirer votre argent de la banque.",
+ "type":"number"
+ },
+ {
+ "elementID":"#deposit",
+ "name":"deposit",
+ "buttonText":"Approbation",
+ "inputPlaceholder": "Montant",
+ "title":"DEPOSIT",
+ "description": "Ici, vous pouvez déposer votre argent à la banque.",
+ "type":"number"
+ },
+ {
+ "elementID":"#transfer",
+ "name":"transfer",
+ "buttonText":"Transfert",
+ "inputPlaceholder": "Montant",
+ "inputPlaceholder2": "ID du joueur",
+ "title":"TRANSFERT",
+ "description": "Ici, vous pouvez transférer votre argent à quelqu'un d'autre."
+ },
+ {
+ "componentName":"trans",
+ "elementID":"#third-column",
+ "title":"HISTORIQUE DES TRANSACTIONS",
+ "description": "Ici, vous pouvez voir votre historique de transactions.",
+ "moreHistoryText": "Afficher plus d'historique",
+ "moreGraphText": "Afficher plus de graphique"
+ },
+ {
+ "componentName":"pincodePanel",
+ "elementID":"#wrapper",
+ "title":"Entrer le code PIN",
+ "deleteButtonText": "",
+ "loginButtonText": "",
+ "closeButtonText": "Fermer"
+ },
+ {
+ "componentName":"atmComponent",
+ "elementID":"#wrapper",
+ "title":"Banque Fleeca",
+ "closeButtonText":"Se déconnecter"
+ }
+ ],
+ "LAUNGAGE": {
+ "your_money_title":"Solde",
+ "your_money_desc":"Ici, vous pouvez voir votre solde actuel et votre argent en espèces.",
+ "your_money_cash_label":"Votre argent en espèces",
+ "your_money_bank_label":"Votre solde bancaire",
+ "withdraw":"RETIRER",
+ "deposit":"DÉPOSER",
+ "transfer":"TRANSFERT",
+ "transferReceive":"TRANSFERT REÇU",
+ "moneyFormat":"$__replaceData__",
+ "graphTitle":"Votre solde",
+ "moreGraphTitle": "Grand graphique",
+ "moreHistoryTitle":"Afficher plus d'historique",
+ "inputErrorTitle":"Les données sont incorrectes",
+ "inputErrorMessage":"Il ne peut pas être vide ou avoir une valeur inférieure à 1",
+ "showPincodeErrorTitle":"Code PIN incorrect",
+ "showPincodeErrorMessage":"Le code PIN doit avoir au moins 4 caractères!",
+ "tableLang":{
+ "typeLabel": "Type de transaction",
+ "balanceLabel":"Solde",
+ "amountLabel":"Montant",
+ "timeLabel":"Temps",
+ "searchInputPlaceholder":"Rechercher ...",
+ "_comment": "Langue complète: Anglais, Hongrois, Italien, Espagnole Français, vous pouvez trouver ici toutes les langues: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
+ "tableFullLanguage":"French"
+ }
+ }
}
-}
+}
\ No newline at end of file
From 06d17a6ddf2b2b12b3a5824b5d911ec6a9180156 Mon Sep 17 00:00:00 2001
From: PoPo <76515395+PoPoGH@users.noreply.github.com>
Date: Wed, 18 Jan 2023 00:06:03 +0100
Subject: [PATCH 3/4] add french locale
some improvements
---
[esx_addons]/esx_banking/html/config.json | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/[esx_addons]/esx_banking/html/config.json b/[esx_addons]/esx_banking/html/config.json
index 866aae4f..17f55416 100644
--- a/[esx_addons]/esx_banking/html/config.json
+++ b/[esx_addons]/esx_banking/html/config.json
@@ -403,7 +403,7 @@
{
"elementID":"#cpincode",
"name":"cpincode",
- "buttonText":"Applique",
+ "buttonText":"Valider",
"inputPlaceholder": "Entrez 4 chiffres...",
"title":"CONFIGURATION DU PIN",
"description": "Ici vous pouvez définir ou changer votre code PIN.",
@@ -412,7 +412,7 @@
{
"elementID":"#withdraw",
"name":"withdraw",
- "buttonText":"Approuver",
+ "buttonText":"Valider",
"inputPlaceholder": "Montant",
"title":"RETIRER",
"description": "Ici vous pouvez retirer votre argent de la banque.",
@@ -421,7 +421,7 @@
{
"elementID":"#deposit",
"name":"deposit",
- "buttonText":"Approbation",
+ "buttonText":"Valider",
"inputPlaceholder": "Montant",
"title":"DEPOSIT",
"description": "Ici, vous pouvez déposer votre argent à la banque.",
@@ -430,7 +430,7 @@
{
"elementID":"#transfer",
"name":"transfer",
- "buttonText":"Transfert",
+ "buttonText":"Transférer",
"inputPlaceholder": "Montant",
"inputPlaceholder2": "ID du joueur",
"title":"TRANSFERT",
@@ -471,7 +471,7 @@
"moneyFormat":"$__replaceData__",
"graphTitle":"Votre solde",
"moreGraphTitle": "Grand graphique",
- "moreHistoryTitle":"Afficher plus d'historique",
+ "moreHistoryTitle":"Afficher plus",
"inputErrorTitle":"Les données sont incorrectes",
"inputErrorMessage":"Il ne peut pas être vide ou avoir une valeur inférieure à 1",
"showPincodeErrorTitle":"Code PIN incorrect",
From 935eb8f2d69915651c6d9b3cc572f4b7afc44113 Mon Sep 17 00:00:00 2001
From: PoPo <76515395+PoPoGH@users.noreply.github.com>
Date: Wed, 18 Jan 2023 00:07:23 +0100
Subject: [PATCH 4/4] Update fr.lua
---
[esx_addons]/esx_banking/locales/fr.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/[esx_addons]/esx_banking/locales/fr.lua b/[esx_addons]/esx_banking/locales/fr.lua
index 75631159..4e52384d 100644
--- a/[esx_addons]/esx_banking/locales/fr.lua
+++ b/[esx_addons]/esx_banking/locales/fr.lua
@@ -1,5 +1,5 @@
Locales['fr'] = {
- ['invalid_amount'] = "La somme d'argent est invalide.",
+ ['invalid_amount'] = "Le montant est invalide.",
['deposit_money'] = 'Tu as déposé $%s',
['withdraw_money'] = 'Tu as retiré $%s',
['pincode_money'] = 'Tu as défini un nouveau code PIN : %s',