From a67c460434e09244635606d44ccdf1d8ff1dc16c Mon Sep 17 00:00:00 2001 From: Krafting <36538123+Krafting@users.noreply.github.com> Date: Mon, 24 Jul 2023 14:47:06 +0200 Subject: [PATCH 1/7] Create fr.json First translation. Not finished --- ui/src/locales/fr.json | 231 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 231 insertions(+) create mode 100644 ui/src/locales/fr.json diff --git a/ui/src/locales/fr.json b/ui/src/locales/fr.json new file mode 100644 index 0000000..4afbe27 --- /dev/null +++ b/ui/src/locales/fr.json @@ -0,0 +1,231 @@ +{ + "quickentry": "No Quick Entries | Quick Entry | Quick Entries", + "statistics": "Statistics", + "thisweek": "Cette semaine", + "thismonth": "Ce mois", + "pastxdays": "Past one day | Past {count} days", + "pastxmonths": "Past one month | Past {count} months", + "thisyear": "Cette année", + "alltime": "Tout le temps", + "noattachments": "No Attachments so far", + "attachments": "Pièce-jointe", + "choosefile": "Choose File", + "addattachment": "Ajouter une Pièce-jointe", + "sharedwith": "Partager avec", + "share": "Partager", + "you": "Vous", + "addfillup": "Add Fillup", + "createfillup": "Create Fillup", + "deletefillup": "Delete this fillup", + "addexpense": "Add Expense", + "createexpense": "Create Expense", + "deleteexpense": "Delete this expense", + "nofillups": "No Fillups so far", + "transfervehicle": "Transfer Vehicle", + "settingssaved": "Settings saved successfully", + "yoursettings": "Your Settings", + "settings": "Paramètres", + "changepassword": "Change password", + "oldpassword": "Ancien mot de passe", + "newpassword": "Nouveau mot de passe", + "repeatnewpassword": "Repeat New Password", + "passworddontmatch": "Password values don't match", + "save": "Sauvegarder", + "supportthedeveloper": "Support the developer", + "buyhimabeer": "Acheter lui un café!", + "featurerequest": "Feature Request", + "foundabug": "Trouvé un bug", + "currentversion": "Version actuelle", + "moreinfo": "Plus d'informations", + "currency": "Monnaie", + "distanceunit": "Distance Unit", + "dateformat": "Date Format", + "createnow": "Créer Maintenant", + "yourvehicles": "Vos Véhicules", + "menu": { + "quickentries": "Quick Entries", + "logout": "Se déconnecter", + "import": "Importer", + "home": "Accueil", + "settings": "Paramètres", + "admin": "Admin", + "sitesettings": "Paramètres du site", + "users": "Utilisateurs", + "login": "Connexion" + }, + "enterusername": "Entrez votre nom d'utilisateur", + "enterpassword": "Entrez votre mot de passe", + "email": "Email", + "password": "Mot de passe", + "login": "connexion", + "totalexpenses": "Total Expenses", + "fillupcost": "Fillup Costs", + "otherexpenses": "Other Expenses", + "addvehicle": "Ajouter un Vehicule", + "editvehicle": "Editer un Vehicule", + "deletevehicle": "Supprimer un Vehicule", + "sharevehicle": "Partager un Vehicule", + "makeowner": "Make Owner", + "lastfillup": "Last Fillup", + "quickentrydesc": "Take a pic of the invoice or the fuel pump display to make an entry later.", + "quickentrycreatedsuccessfully": "Quick Entry Created Successfully", + "uploadfile": "Téléverser un fichier", + "uploadphoto": "Téléverser une photo", + "details": "Détails", + "odometer": "Odometer", + "language": "Langue", + "date": "Date", + "pastfillups": "Past Fillups", + "fuelsubtype": "Fuel Subtype", + "fueltype": "Fuel Type", + "quantity": "Quantité", + "gasstation": "Station service", + "fuel": { + "petrol": "Pétrol", + "diesel": "Diesel", + "cng": "CNG", + "lpg": "LPG", + "electric": "Electrique", + "ethanol": "Éthanol" + }, + "unit": { + "long": { + "litre": "Litre", + "gallon": "Gallon", + "kilowatthour": "Kilowatt Hour", + "kilogram": "Kilogram", + "usgallon": "US Gallon", + "minutes": "Minutes", + "kilometers": "Kilometres", + "miles": "Miles" + }, + "short": { + "litre": "Lt", + "gallon": "Gal", + "kilowatthour": "KwH", + "kilogram": "Kg", + "usgallon": "US Gal", + "minutes": "Mins", + "kilometers": "Km", + "miles": "Mi" + } + }, + "avgfillupqty": "Avg Fillup Qty", + "avgfillupexpense": "Avg Fillup Expense", + "avgfuelcost": "Avg Fuel Cost", + "per": "{0} par {1}", + "price": "Prix", + "total": "Total", + "fulltank": "Tank Full", + "partialfillup": "Partial Fillup", + "getafulltank": "Did you get a full tank?", + "tankpartialfull": "Which do you track?", + "by": "Par", + "expenses": "Expenses", + "expensetype": "Expense Type", + "noexpenses": "No Expenses so far", + "download": "Télécharger", + "title": "Titre", + "name": "Nom", + "delete": "Supprimer", + "importdata": "Import data into Hammond", + "importdatadesc": "Choose from the following options to import data into Hammond", + "import": "Import", + "importcsv": "If you have been using {name} to store your vehicle data, export the CSV file from {name} and click here to import.", + "importgeneric": "Generic Fillups Import", + "importgenericdesc": "Fillups CSV import.", + "choosecsv": "Choose CSV", + "choosephoto": "Choose Photo", + "importsuccessfull": "Data Imported Successfully", + "importerror": "There was some issue with importing the file. Please check the error message", + "importfrom": "Import from {0}", + "stepstoimport": "Steps to import data from {name}", + "choosecsvimport": "Choose the {name} CSV and press the import button.", + "choosedatafile": "Choose the CSV file and then press the import button.", + "dontimportagain": "Make sure that you do not import the file again because that will create repeat entries.", + "checkpointsimportcsv": "Once you have checked all these points, just import the CSV below.", + "importhintunits": "Similiarly, make sure that the Fuel Unit and Fuel Type are correctly set in the Vehicle.", + "importhintcurrdist": "Make sure that the Currency and Distance Unit are set correctly in Hammond. Import will not autodetect Currency from the file but use the one set for the user.", + "importhintnickname": "Make sure that the Vehicle nickname in Hammond is exactly the same as the name on Fuelly CSV or the import will not work.", + "importhintvehiclecreated": "Make sure that you have already created the vehicles in Hammond platform.", + "importhintcreatecsv": "Export your data from {name} in the CSV format. Steps to do that can be found", + "importgenerichintdata": "Data must be in CSV format.", + "here": "ici", + "unprocessedquickentries": "You have one quick entry to be processed. | You have {0} quick entries pending to be processed.", + "show": "montrer", + "loginerror": "There was an error logging in to your account. {msg}", + "showunprocessed": "Show unprocessed only", + "unprocessed": "unprocessed", + "sitesettingdesc": "Update site level settings. These will be used as default values for new users.", + "settingdesc": "These will be used as default values whenever you create a new fillup or expense.", + "areyousure": "Are you sure you want to do this?", + "adduser": "Ajouter un utilisateur", + "usercreatedsuccessfully": "User Created Successfully", + "userdisabledsuccessfully": "User disabled successfully", + "userenabledsuccessfully": "User enabled successfully", + "role": "Role", + "created": "Créé", + "createnewuser": "Créer un nouvel utilisateur", + "cancel": "Annuler", + "novehicles": "It seems you have not yet created a vehicle in the system. Start by creating an entry for one of the vehicles you want to track.", + "processed": "Mark Processed", + "notfound": "Non Trouvé", + "timeout": "The page timed out while loading. Are you sure you're still connected to\nthe Internet?", + "clicktoselect": "Click to select...", + "expenseby": "Expense by", + "selectvehicle": "Select a vehicle", + "expensedate": "Expense Date", + "totalamountpaid": "Total Amount Paid", + "fillmoredetails": "Fill more details", + "markquickentryprocessed": "Mark selected Quick Entry as processed", + "referquickentry": "Refer quick entry", + "deletequickentry": "This will delete this Quick Entry. This step cannot be reversed. Are you sure?", + "fuelunit": "Fuel Unit", + "fillingstation": "Filling Station Name", + "comments": "Commentaires", + "missfillupbefore": "Did you miss the fillup entry before this one?", + "missedfillup": "Missed Fillup", + "fillupdate": "Fillup Date", + "fillupsavedsuccessfully": "Fillup Saved Successfully", + "expensesavedsuccessfully": "Expense Saved Successfully", + "vehiclesavedsuccessfully": "Vehicle Saved Successfully", + "settingssavedsuccessfully": "Settings saved successfully", + "back": "Retour", + "nickname": "Surnom", + "registration": "Registration", + "createvehicle": "Créer un Vehicule", + "make": "Marque", + "model": "Modèle", + "yearmanufacture": "Year of Manufacture", + "enginesize": "Engine Size (in cc)", + "mysqlconnstr": "Mysql Connection String", + "testconn": "Tester la Connexion", + "migrate": "Migrer", + "init": { + "migrateclarkson": "Migrate from Clarkson", + "migrateclarksondesc": "If you have an existing Clarkson deployment and you want to migrate your data from that, press the following button.", + "freshinstall": "Fresh Install", + "freshinstalldesc": "If you want a fresh install of Hammond, press the following button.", + "clarkson": { + "desc": "

You need to make sure that this deployment of Hammond can access the MySQL database used by Clarkson.

If that is not directly possible, you can make a copy of that database somewhere accessible from this instance.

Once that is done, enter the connection string to the MySQL instance in the following format.

All the users imported from Clarkson will have their username as their email in Clarkson database and pasword set tohammond

user:pass@tcp(127.0.0.1:3306)/dbname?charset=utf8mb4&parseTime=True&loc=Local

", + "success": "We have successfully migrated the data from Clarkson. You will be redirected to the login screen shortly where you can login using your existing email and password : hammond" + }, + "fresh": { + "setupadminuser": "Setup Admin Users", + "yourpassword": "Votre Mot de passe", + "youremail": "Votre Email", + "yourname": "Votre Nom", + "success": "You have been registered successfully. You will be redirected to the login screen shortly where you can login and start using the system." + } + }, + "roles": { + "ADMIN": "ADMIN", + "USER": "USER" + }, + "profile": "Profile", + "processedon": "Processed on", + "enable": "Activer", + "disable": "Désactiver", + "confirm": "Continuer", + "labelforfile": "Label for this file" +} From 9cb65e4cda2bfc03ae1e354e5a0855dbf01bebea Mon Sep 17 00:00:00 2001 From: Krafting <36538123+Krafting@users.noreply.github.com> Date: Mon, 24 Jul 2023 18:32:31 +0200 Subject: [PATCH 2/7] more translation --- ui/src/locales/fr.json | 108 ++++++++++++++++++++--------------------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/ui/src/locales/fr.json b/ui/src/locales/fr.json index 4afbe27..1a73598 100644 --- a/ui/src/locales/fr.json +++ b/ui/src/locales/fr.json @@ -1,49 +1,49 @@ { - "quickentry": "No Quick Entries | Quick Entry | Quick Entries", - "statistics": "Statistics", + "quickentry": "Pas d'entrée rapide | Entrée rapide | Entrées rapides", + "statistics": "Statistiques", "thisweek": "Cette semaine", "thismonth": "Ce mois", - "pastxdays": "Past one day | Past {count} days", - "pastxmonths": "Past one month | Past {count} months", + "pastxdays": "Dernier jour | Derniers {count} jours", + "pastxmonths": "Dernier mois | Derniers {count} mois", "thisyear": "Cette année", "alltime": "Tout le temps", - "noattachments": "No Attachments so far", - "attachments": "Pièce-jointe", + "noattachments": "Pas de piece jointe", + "attachments": "Pièces jointes", "choosefile": "Choose File", - "addattachment": "Ajouter une Pièce-jointe", + "addattachment": "Ajouter une pièce jointe", "sharedwith": "Partager avec", "share": "Partager", "you": "Vous", - "addfillup": "Add Fillup", - "createfillup": "Create Fillup", - "deletefillup": "Delete this fillup", - "addexpense": "Add Expense", - "createexpense": "Create Expense", - "deleteexpense": "Delete this expense", - "nofillups": "No Fillups so far", - "transfervehicle": "Transfer Vehicle", - "settingssaved": "Settings saved successfully", - "yoursettings": "Your Settings", + "addfillup": "Ajouter un plein", + "createfillup": "Créer un plein", + "deletefillup": "Supprimer ce plein", + "addexpense": "Ajouter une dépense", + "createexpense": "Créer une dépense", + "deleteexpense": "Supprimer cette dépense", + "nofillups": "Pas de plein", + "transfervehicle": "Transferer le Véhicule", + "settingssaved": "Paramètres sauvegardés avec succès", + "yoursettings": "Vos paramètres", "settings": "Paramètres", - "changepassword": "Change password", + "changepassword": "Changer votre mot de passe", "oldpassword": "Ancien mot de passe", "newpassword": "Nouveau mot de passe", - "repeatnewpassword": "Repeat New Password", - "passworddontmatch": "Password values don't match", + "repeatnewpassword": "Répéter votre nouveau mot de passe", + "passworddontmatch": "Les mots de passe ne correspondent pas", "save": "Sauvegarder", - "supportthedeveloper": "Support the developer", + "supportthedeveloper": "Supporter le développeur", "buyhimabeer": "Acheter lui un café!", - "featurerequest": "Feature Request", + "featurerequest": "Demande de fonctionnalité", "foundabug": "Trouvé un bug", "currentversion": "Version actuelle", "moreinfo": "Plus d'informations", "currency": "Monnaie", - "distanceunit": "Distance Unit", - "dateformat": "Date Format", + "distanceunit": "Unité de distance", + "dateformat": "Format de data", "createnow": "Créer Maintenant", "yourvehicles": "Vos Véhicules", "menu": { - "quickentries": "Quick Entries", + "quickentries": "Entrée rapide", "logout": "Se déconnecter", "import": "Importer", "home": "Accueil", @@ -58,26 +58,26 @@ "email": "Email", "password": "Mot de passe", "login": "connexion", - "totalexpenses": "Total Expenses", - "fillupcost": "Fillup Costs", - "otherexpenses": "Other Expenses", + "totalexpenses": "Dépenses totales", + "fillupcost": "Coût des pleins", + "otherexpenses": "Autres dépenses", "addvehicle": "Ajouter un Vehicule", "editvehicle": "Editer un Vehicule", "deletevehicle": "Supprimer un Vehicule", "sharevehicle": "Partager un Vehicule", - "makeowner": "Make Owner", - "lastfillup": "Last Fillup", + "makeowner": "Changer le propriétaire", + "lastfillup": "Dernier plein", "quickentrydesc": "Take a pic of the invoice or the fuel pump display to make an entry later.", - "quickentrycreatedsuccessfully": "Quick Entry Created Successfully", + "quickentrycreatedsuccessfully": "Entrée rapide créée avec succès", "uploadfile": "Téléverser un fichier", "uploadphoto": "Téléverser une photo", "details": "Détails", - "odometer": "Odometer", + "odometer": "Odomètre", "language": "Langue", "date": "Date", - "pastfillups": "Past Fillups", - "fuelsubtype": "Fuel Subtype", - "fueltype": "Fuel Type", + "pastfillups": "Derniers pleins", + "fuelsubtype": "Sous-type de combustible", + "fueltype": "Type de combustible", "quantity": "Quantité", "gasstation": "Station service", "fuel": { @@ -110,35 +110,35 @@ "miles": "Mi" } }, - "avgfillupqty": "Avg Fillup Qty", - "avgfillupexpense": "Avg Fillup Expense", - "avgfuelcost": "Avg Fuel Cost", + "avgfillupqty": "Qté de plein moyen", + "avgfillupexpense": "Prix du plein moyen", + "avgfuelcost": "Prix de l'essence moyen", "per": "{0} par {1}", "price": "Prix", "total": "Total", - "fulltank": "Tank Full", - "partialfillup": "Partial Fillup", - "getafulltank": "Did you get a full tank?", + "fulltank": "Reservoir complet", + "partialfillup": "Plein partiel", + "getafulltank": "Est-ce que vous avez rempli tout votre reservoir?", "tankpartialfull": "Which do you track?", "by": "Par", - "expenses": "Expenses", - "expensetype": "Expense Type", - "noexpenses": "No Expenses so far", + "expenses": "Dépenses", + "expensetype": "Type de dépense", + "noexpenses": "Pas de dépense", "download": "Télécharger", "title": "Titre", "name": "Nom", "delete": "Supprimer", - "importdata": "Import data into Hammond", - "importdatadesc": "Choose from the following options to import data into Hammond", - "import": "Import", + "importdata": "Importer des données dans Hammond", + "importdatadesc": "Choisissez une option pour importer des données dans Hammond", + "import": "Importer", "importcsv": "If you have been using {name} to store your vehicle data, export the CSV file from {name} and click here to import.", "importgeneric": "Generic Fillups Import", "importgenericdesc": "Fillups CSV import.", - "choosecsv": "Choose CSV", - "choosephoto": "Choose Photo", - "importsuccessfull": "Data Imported Successfully", + "choosecsv": "Choisir un CSV", + "choosephoto": "Choisir une Photo", + "importsuccessfull": "Données importée avec succès", "importerror": "There was some issue with importing the file. Please check the error message", - "importfrom": "Import from {0}", + "importfrom": "Importer de {0}", "stepstoimport": "Steps to import data from {name}", "choosecsvimport": "Choose the {name} CSV and press the import button.", "choosedatafile": "Choose the CSV file and then press the import button.", @@ -172,9 +172,9 @@ "notfound": "Non Trouvé", "timeout": "The page timed out while loading. Are you sure you're still connected to\nthe Internet?", "clicktoselect": "Click to select...", - "expenseby": "Expense by", - "selectvehicle": "Select a vehicle", - "expensedate": "Expense Date", + "expenseby": "Dépense par", + "selectvehicle": "Selectionner un véhicule", + "expensedate": "Date de la dépense", "totalamountpaid": "Total Amount Paid", "fillmoredetails": "Fill more details", "markquickentryprocessed": "Mark selected Quick Entry as processed", From 793bac40a398c4bcb2b36683f6c0d5a984551278 Mon Sep 17 00:00:00 2001 From: Krafting <36538123+Krafting@users.noreply.github.com> Date: Thu, 27 Jul 2023 01:49:24 +0200 Subject: [PATCH 3/7] More work. --- ui/src/locales/fr.json | 46 +++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/ui/src/locales/fr.json b/ui/src/locales/fr.json index 1a73598..1418594 100644 --- a/ui/src/locales/fr.json +++ b/ui/src/locales/fr.json @@ -92,7 +92,7 @@ "long": { "litre": "Litre", "gallon": "Gallon", - "kilowatthour": "Kilowatt Hour", + "kilowatthour": "Kilowatt Heure", "kilogram": "Kilogram", "usgallon": "US Gallon", "minutes": "Minutes", @@ -149,7 +149,7 @@ "importhintnickname": "Make sure that the Vehicle nickname in Hammond is exactly the same as the name on Fuelly CSV or the import will not work.", "importhintvehiclecreated": "Make sure that you have already created the vehicles in Hammond platform.", "importhintcreatecsv": "Export your data from {name} in the CSV format. Steps to do that can be found", - "importgenerichintdata": "Data must be in CSV format.", + "importgenerichintdata": "Les données doivent être au format CSV.", "here": "ici", "unprocessedquickentries": "You have one quick entry to be processed. | You have {0} quick entries pending to be processed.", "show": "montrer", @@ -163,7 +163,7 @@ "usercreatedsuccessfully": "User Created Successfully", "userdisabledsuccessfully": "User disabled successfully", "userenabledsuccessfully": "User enabled successfully", - "role": "Role", + "role": "Rôle", "created": "Créé", "createnewuser": "Créer un nouvel utilisateur", "cancel": "Annuler", @@ -171,47 +171,47 @@ "processed": "Mark Processed", "notfound": "Non Trouvé", "timeout": "The page timed out while loading. Are you sure you're still connected to\nthe Internet?", - "clicktoselect": "Click to select...", + "clicktoselect": "Cliquer pour sélectionner...", "expenseby": "Dépense par", "selectvehicle": "Selectionner un véhicule", "expensedate": "Date de la dépense", - "totalamountpaid": "Total Amount Paid", - "fillmoredetails": "Fill more details", + "totalamountpaid": "Montant payé total", + "fillmoredetails": "Entrer plus de détails", "markquickentryprocessed": "Mark selected Quick Entry as processed", "referquickentry": "Refer quick entry", - "deletequickentry": "This will delete this Quick Entry. This step cannot be reversed. Are you sure?", - "fuelunit": "Fuel Unit", - "fillingstation": "Filling Station Name", + "deletequickentry": "This will delete this Quick Entry. This step cannot be reversed. Êtes-vous sûre?", + "fuelunit": "Unité de combustible", + "fillingstation": "Nom de la station service", "comments": "Commentaires", "missfillupbefore": "Did you miss the fillup entry before this one?", - "missedfillup": "Missed Fillup", - "fillupdate": "Fillup Date", - "fillupsavedsuccessfully": "Fillup Saved Successfully", - "expensesavedsuccessfully": "Expense Saved Successfully", - "vehiclesavedsuccessfully": "Vehicle Saved Successfully", - "settingssavedsuccessfully": "Settings saved successfully", + "missedfillup": "Plein manqué", + "fillupdate": "Date du plein", + "fillupsavedsuccessfully": "Plein sauvegardé avec succès", + "expensesavedsuccessfully": "Dépense sauvegardé avec succès", + "vehiclesavedsuccessfully": "Véhicule sauvegardé avec succès", + "settingssavedsuccessfully": "Paramètres sauvegardés avec succès", "back": "Retour", "nickname": "Surnom", - "registration": "Registration", + "registration": "Immatriculation", "createvehicle": "Créer un Vehicule", "make": "Marque", "model": "Modèle", - "yearmanufacture": "Year of Manufacture", - "enginesize": "Engine Size (in cc)", + "yearmanufacture": "Année de production", + "enginesize": "Taille du moteur (en chevaux)", "mysqlconnstr": "Mysql Connection String", "testconn": "Tester la Connexion", "migrate": "Migrer", "init": { - "migrateclarkson": "Migrate from Clarkson", + "migrateclarkson": "Migrer depuis Clarkson", "migrateclarksondesc": "If you have an existing Clarkson deployment and you want to migrate your data from that, press the following button.", - "freshinstall": "Fresh Install", - "freshinstalldesc": "If you want a fresh install of Hammond, press the following button.", + "freshinstall": "Nouvelle Installation", + "freshinstalldesc": "Si vous voulez une nouvelle installation de Hammond, appuyez sur le bouton suivant.", "clarkson": { "desc": "

You need to make sure that this deployment of Hammond can access the MySQL database used by Clarkson.

If that is not directly possible, you can make a copy of that database somewhere accessible from this instance.

Once that is done, enter the connection string to the MySQL instance in the following format.

All the users imported from Clarkson will have their username as their email in Clarkson database and pasword set tohammond

user:pass@tcp(127.0.0.1:3306)/dbname?charset=utf8mb4&parseTime=True&loc=Local

", "success": "We have successfully migrated the data from Clarkson. You will be redirected to the login screen shortly where you can login using your existing email and password : hammond" }, "fresh": { - "setupadminuser": "Setup Admin Users", + "setupadminuser": "Configurer le compte administrateur", "yourpassword": "Votre Mot de passe", "youremail": "Votre Email", "yourname": "Votre Nom", @@ -227,5 +227,5 @@ "enable": "Activer", "disable": "Désactiver", "confirm": "Continuer", - "labelforfile": "Label for this file" + "labelforfile": "Label pour ce fichier" } From 298f58a73816096f9b292f60deb66ee5f05da32e Mon Sep 17 00:00:00 2001 From: Krafting <36538123+Krafting@users.noreply.github.com> Date: Thu, 27 Jul 2023 02:06:22 +0200 Subject: [PATCH 4/7] Workity work --- ui/src/locales/fr.json | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/ui/src/locales/fr.json b/ui/src/locales/fr.json index 1418594..1c262cc 100644 --- a/ui/src/locales/fr.json +++ b/ui/src/locales/fr.json @@ -61,13 +61,13 @@ "totalexpenses": "Dépenses totales", "fillupcost": "Coût des pleins", "otherexpenses": "Autres dépenses", - "addvehicle": "Ajouter un Vehicule", - "editvehicle": "Editer un Vehicule", - "deletevehicle": "Supprimer un Vehicule", - "sharevehicle": "Partager un Vehicule", + "addvehicle": "Ajouter un Véhicule", + "editvehicle": "Editer un Véhicule", + "deletevehicle": "Supprimer un Véhicule", + "sharevehicle": "Partager un Véhicule", "makeowner": "Changer le propriétaire", "lastfillup": "Dernier plein", - "quickentrydesc": "Take a pic of the invoice or the fuel pump display to make an entry later.", + "quickentrydesc": "Prendre une photo de la facture ou de l'écran de la pompe a essence pour créer une entrée plus tard.", "quickentrycreatedsuccessfully": "Entrée rapide créée avec succès", "uploadfile": "Téléverser un fichier", "uploadphoto": "Téléverser une photo", @@ -160,17 +160,17 @@ "settingdesc": "These will be used as default values whenever you create a new fillup or expense.", "areyousure": "Are you sure you want to do this?", "adduser": "Ajouter un utilisateur", - "usercreatedsuccessfully": "User Created Successfully", - "userdisabledsuccessfully": "User disabled successfully", - "userenabledsuccessfully": "User enabled successfully", + "usercreatedsuccessfully": "Utilisateur créé avec succès", + "userdisabledsuccessfully": "Utilisateur désactivé avec succès", + "userenabledsuccessfully": "Utilisateur activé avec succès", "role": "Rôle", "created": "Créé", "createnewuser": "Créer un nouvel utilisateur", "cancel": "Annuler", - "novehicles": "It seems you have not yet created a vehicle in the system. Start by creating an entry for one of the vehicles you want to track.", + "novehicles": "Il semble que vous n'avez pas encore créé de véhicule dans le système pour le moment. Commencez par créer une entrée pour un des véhicule que vous voulez traquer.", "processed": "Mark Processed", "notfound": "Non Trouvé", - "timeout": "The page timed out while loading. Are you sure you're still connected to\nthe Internet?", + "timeout": "The page timed out while loading. Êtes-vous sûre d'être toujours connecté à Internet?", "clicktoselect": "Cliquer pour sélectionner...", "expenseby": "Dépense par", "selectvehicle": "Selectionner un véhicule", @@ -179,11 +179,11 @@ "fillmoredetails": "Entrer plus de détails", "markquickentryprocessed": "Mark selected Quick Entry as processed", "referquickentry": "Refer quick entry", - "deletequickentry": "This will delete this Quick Entry. This step cannot be reversed. Êtes-vous sûre?", + "deletequickentry": "Ceci va supprimer l'entrée rapide. Cette action ne peut pas être annulée. Êtes-vous sûre?", "fuelunit": "Unité de combustible", "fillingstation": "Nom de la station service", "comments": "Commentaires", - "missfillupbefore": "Did you miss the fillup entry before this one?", + "missfillupbefore": "Est-ce que vous avez manqué un plein avant celui-ci?", "missedfillup": "Plein manqué", "fillupdate": "Date du plein", "fillupsavedsuccessfully": "Plein sauvegardé avec succès", @@ -193,12 +193,12 @@ "back": "Retour", "nickname": "Surnom", "registration": "Immatriculation", - "createvehicle": "Créer un Vehicule", + "createvehicle": "Créer un Véhicule", "make": "Marque", "model": "Modèle", "yearmanufacture": "Année de production", "enginesize": "Taille du moteur (en chevaux)", - "mysqlconnstr": "Mysql Connection String", + "mysqlconnstr": "Chaîne de caractère pour la connexion MySQL", "testconn": "Tester la Connexion", "migrate": "Migrer", "init": { From 5cecc82d95caa3bba9b31d7a3fd6719848a0d61b Mon Sep 17 00:00:00 2001 From: Krafting <36538123+Krafting@users.noreply.github.com> Date: Thu, 27 Jul 2023 02:18:05 +0200 Subject: [PATCH 5/7] 2am translations --- ui/src/locales/fr.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/ui/src/locales/fr.json b/ui/src/locales/fr.json index 1c262cc..87cc28f 100644 --- a/ui/src/locales/fr.json +++ b/ui/src/locales/fr.json @@ -119,7 +119,7 @@ "fulltank": "Reservoir complet", "partialfillup": "Plein partiel", "getafulltank": "Est-ce que vous avez rempli tout votre reservoir?", - "tankpartialfull": "Which do you track?", + "tankpartialfull": "Le quel traquez-vous?", "by": "Par", "expenses": "Dépenses", "expensetype": "Type de dépense", @@ -132,8 +132,8 @@ "importdatadesc": "Choisissez une option pour importer des données dans Hammond", "import": "Importer", "importcsv": "If you have been using {name} to store your vehicle data, export the CSV file from {name} and click here to import.", - "importgeneric": "Generic Fillups Import", - "importgenericdesc": "Fillups CSV import.", + "importgeneric": "Importation de plein générique", + "importgenericdesc": "Importation de plein avec un SVC.", "choosecsv": "Choisir un CSV", "choosephoto": "Choisir une Photo", "importsuccessfull": "Données importée avec succès", @@ -151,14 +151,14 @@ "importhintcreatecsv": "Export your data from {name} in the CSV format. Steps to do that can be found", "importgenerichintdata": "Les données doivent être au format CSV.", "here": "ici", - "unprocessedquickentries": "You have one quick entry to be processed. | You have {0} quick entries pending to be processed.", + "unprocessedquickentries": "Vous avez 1 entrée rapide en attente d'être traîtée. | Vous avez {0} entrée rapide en attente d'être traîtée.", "show": "montrer", - "loginerror": "There was an error logging in to your account. {msg}", - "showunprocessed": "Show unprocessed only", - "unprocessed": "unprocessed", - "sitesettingdesc": "Update site level settings. These will be used as default values for new users.", + "loginerror": "Il y a eu une erreur lors de la connexion a votre compte: {msg}", + "showunprocessed": "Montrer seulement les non-traîtées", + "unprocessed": "non-traîtée", + "sitesettingdesc": "Mettre à jour les paramètres du site. Ces valeurs seront utilisées par défaut pour les nouveaux utilisateurs.", "settingdesc": "These will be used as default values whenever you create a new fillup or expense.", - "areyousure": "Are you sure you want to do this?", + "areyousure": "Êtes-vous sûre de vouloir faire ceci?", "adduser": "Ajouter un utilisateur", "usercreatedsuccessfully": "Utilisateur créé avec succès", "userdisabledsuccessfully": "Utilisateur désactivé avec succès", @@ -168,7 +168,7 @@ "createnewuser": "Créer un nouvel utilisateur", "cancel": "Annuler", "novehicles": "Il semble que vous n'avez pas encore créé de véhicule dans le système pour le moment. Commencez par créer une entrée pour un des véhicule que vous voulez traquer.", - "processed": "Mark Processed", + "processed": "Marquer en tant que traîté", "notfound": "Non Trouvé", "timeout": "The page timed out while loading. Êtes-vous sûre d'être toujours connecté à Internet?", "clicktoselect": "Cliquer pour sélectionner...", @@ -223,7 +223,7 @@ "USER": "USER" }, "profile": "Profile", - "processedon": "Processed on", + "processedon": "Traîté le", "enable": "Activer", "disable": "Désactiver", "confirm": "Continuer", From 79e4f6ab4dcc8d95fc252f2289331b5861ff2775 Mon Sep 17 00:00:00 2001 From: Krafting <36538123+Krafting@users.noreply.github.com> Date: Sat, 29 Jul 2023 01:42:20 +0200 Subject: [PATCH 6/7] Final translations. Should be finished and done. --- ui/src/locales/fr.json | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/ui/src/locales/fr.json b/ui/src/locales/fr.json index 87cc28f..d0e04c3 100644 --- a/ui/src/locales/fr.json +++ b/ui/src/locales/fr.json @@ -131,24 +131,24 @@ "importdata": "Importer des données dans Hammond", "importdatadesc": "Choisissez une option pour importer des données dans Hammond", "import": "Importer", - "importcsv": "If you have been using {name} to store your vehicle data, export the CSV file from {name} and click here to import.", + "importcsv": "Si vous utilisiez {name} pour stocker les données de vos véhicules, exportez les données en format CSV depuis {name} et cliquez ici pour importer.", "importgeneric": "Importation de plein générique", "importgenericdesc": "Importation de plein avec un SVC.", "choosecsv": "Choisir un CSV", "choosephoto": "Choisir une Photo", "importsuccessfull": "Données importée avec succès", - "importerror": "There was some issue with importing the file. Please check the error message", - "importfrom": "Importer de {0}", - "stepstoimport": "Steps to import data from {name}", - "choosecsvimport": "Choose the {name} CSV and press the import button.", - "choosedatafile": "Choose the CSV file and then press the import button.", - "dontimportagain": "Make sure that you do not import the file again because that will create repeat entries.", - "checkpointsimportcsv": "Once you have checked all these points, just import the CSV below.", - "importhintunits": "Similiarly, make sure that the Fuel Unit and Fuel Type are correctly set in the Vehicle.", - "importhintcurrdist": "Make sure that the Currency and Distance Unit are set correctly in Hammond. Import will not autodetect Currency from the file but use the one set for the user.", - "importhintnickname": "Make sure that the Vehicle nickname in Hammond is exactly the same as the name on Fuelly CSV or the import will not work.", - "importhintvehiclecreated": "Make sure that you have already created the vehicles in Hammond platform.", - "importhintcreatecsv": "Export your data from {name} in the CSV format. Steps to do that can be found", + "importerror": "Il y a eu un problème lors de l'importation. Veuillez regarder le message d'erreur", + "importfrom": "Importer depuis {0}", + "stepstoimport": "Étapes pour importer des données depuis {name}", + "choosecsvimport": "Choisissez le fichier CSV de {name} et appuyez sur le bouton pour importer.", + "choosedatafile": "Choisissez le fichier CSV et appuyez sur le bouton pour importer.", + "dontimportagain": "Faites attention à ne pas importer le fichier à nouveau car cela va créer des entrées dupliquées.", + "checkpointsimportcsv": "Dès que vous avez vérifié tous ces points, importez le CSV ci-dessous.", + "importhintunits": "De la même manière, make sure that the Fuel Unit and Fuel Type are correctly set in the Vehicle.", + "importhintcurrdist": "Soyez sûre que la Monnaie et l'Unité de distance sont mises correctement dans Hammond. L'importation ne detectera pas automatiquement la Monnaie du fichier mais utilisera les valeurs de l'utilisateur.", + "importhintnickname": "Soyez sûre que le nom du véhicule dans Hammon est exactement le même que le nom dans Fuelly, sinon, l'importation ne fonctionnera pas.", + "importhintvehiclecreated": "Soyez sûre d'avoir déjà créé le véhicule dans la plate-forme Hammond.", + "importhintcreatecsv": "Exportez vos données depuis {name} en format CSV. Les étapes pour faire ceci peuvent être trouvées", "importgenerichintdata": "Les données doivent être au format CSV.", "here": "ici", "unprocessedquickentries": "Vous avez 1 entrée rapide en attente d'être traîtée. | Vous avez {0} entrée rapide en attente d'être traîtée.", @@ -157,7 +157,7 @@ "showunprocessed": "Montrer seulement les non-traîtées", "unprocessed": "non-traîtée", "sitesettingdesc": "Mettre à jour les paramètres du site. Ces valeurs seront utilisées par défaut pour les nouveaux utilisateurs.", - "settingdesc": "These will be used as default values whenever you create a new fillup or expense.", + "settingdesc": "Ces valeurs seront utilisées par défaut lorsque vous créez un nouveau plein ou une nouvelle dépense.", "areyousure": "Êtes-vous sûre de vouloir faire ceci?", "adduser": "Ajouter un utilisateur", "usercreatedsuccessfully": "Utilisateur créé avec succès", @@ -170,15 +170,15 @@ "novehicles": "Il semble que vous n'avez pas encore créé de véhicule dans le système pour le moment. Commencez par créer une entrée pour un des véhicule que vous voulez traquer.", "processed": "Marquer en tant que traîté", "notfound": "Non Trouvé", - "timeout": "The page timed out while loading. Êtes-vous sûre d'être toujours connecté à Internet?", + "timeout": "La page a expiré lors du chargement. Êtes-vous sûre d'être toujours connecté à Internet?", "clicktoselect": "Cliquer pour sélectionner...", "expenseby": "Dépense par", "selectvehicle": "Selectionner un véhicule", "expensedate": "Date de la dépense", "totalamountpaid": "Montant payé total", "fillmoredetails": "Entrer plus de détails", - "markquickentryprocessed": "Mark selected Quick Entry as processed", - "referquickentry": "Refer quick entry", + "markquickentryprocessed": "Marquer l'entrée rapide séléctionnée en tant que traîtée", + "referquickentry": "Faire référence à une entrée rapide", "deletequickentry": "Ceci va supprimer l'entrée rapide. Cette action ne peut pas être annulée. Êtes-vous sûre?", "fuelunit": "Unité de combustible", "fillingstation": "Nom de la station service", @@ -203,19 +203,19 @@ "migrate": "Migrer", "init": { "migrateclarkson": "Migrer depuis Clarkson", - "migrateclarksondesc": "If you have an existing Clarkson deployment and you want to migrate your data from that, press the following button.", + "migrateclarksondesc": "Si vous avez un déploiement Clarkson existant et que vous souhaitez migrer vos données à partir de celui-ci, appuyez sur le bouton suivant.", "freshinstall": "Nouvelle Installation", "freshinstalldesc": "Si vous voulez une nouvelle installation de Hammond, appuyez sur le bouton suivant.", "clarkson": { - "desc": "

You need to make sure that this deployment of Hammond can access the MySQL database used by Clarkson.

If that is not directly possible, you can make a copy of that database somewhere accessible from this instance.

Once that is done, enter the connection string to the MySQL instance in the following format.

All the users imported from Clarkson will have their username as their email in Clarkson database and pasword set tohammond

user:pass@tcp(127.0.0.1:3306)/dbname?charset=utf8mb4&parseTime=True&loc=Local

", - "success": "We have successfully migrated the data from Clarkson. You will be redirected to the login screen shortly where you can login using your existing email and password : hammond" + "desc": "

Vous devez vous assurer que ce déploiement de Hammond peut accéder à la base de données MySQL utilisée par Clarkson.

Si ce n'est pas directement possible, vous pouvez faire une copie de cette base de données autre part qui est accessible à partir de cette instance.

Une fois cela fait, entrez la chaîne de connexion à l'instance MySQL au format suivant.

Tous les utilisateurs importés de Clarkson auront leur nom d'utilisateur comme e-mail dans la base de données Clarkson et le mot de passe défini sur hammond

user:pass@tcp(127.0.0.1:3306)/dbname?charset=utf8mb4&parseTime=True&loc=Local

", + "success": "Nous avons migré avec succès les données depuis Clarkson. Vous serez bientôt redirigé vers l'écran de connexion où vous pourrez vous connecter en utilisant votre adresse e-mail et votre mot de passe existants : hammond" }, "fresh": { "setupadminuser": "Configurer le compte administrateur", "yourpassword": "Votre Mot de passe", "youremail": "Votre Email", "yourname": "Votre Nom", - "success": "You have been registered successfully. You will be redirected to the login screen shortly where you can login and start using the system." + "success": "Vous avez été inscrit avec succès. Vous allez être redirigé vers la page de connexion très bientôt, vous pourrez vous connecter et commencer à utiliser le système." } }, "roles": { From 6804be4f7ad146841a40891dbfa17a9d30a6230b Mon Sep 17 00:00:00 2001 From: Krafting <36538123+Krafting@users.noreply.github.com> Date: Sat, 29 Jul 2023 01:43:21 +0200 Subject: [PATCH 7/7] Fixed spelling --- ui/src/locales/fr.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/locales/fr.json b/ui/src/locales/fr.json index d0e04c3..6c66f3e 100644 --- a/ui/src/locales/fr.json +++ b/ui/src/locales/fr.json @@ -67,7 +67,7 @@ "sharevehicle": "Partager un Véhicule", "makeowner": "Changer le propriétaire", "lastfillup": "Dernier plein", - "quickentrydesc": "Prendre une photo de la facture ou de l'écran de la pompe a essence pour créer une entrée plus tard.", + "quickentrydesc": "Prendre une photo de la facture ou de l'écran de la pompe à essence pour créer une entrée plus tard.", "quickentrycreatedsuccessfully": "Entrée rapide créée avec succès", "uploadfile": "Téléverser un fichier", "uploadphoto": "Téléverser une photo",