From 995277e0511e44c66d903ad944fa52bae9be9fcc Mon Sep 17 00:00:00 2001 From: Mara Date: Sat, 15 Jun 2024 22:47:02 +0200 Subject: [PATCH] refactor: adjust localization --- src/localizations/locales/en.json | 9 +++++---- src/localizations/locales/fr.json | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/localizations/locales/en.json b/src/localizations/locales/en.json index 5b7d7f18..5b7d442d 100644 --- a/src/localizations/locales/en.json +++ b/src/localizations/locales/en.json @@ -43,7 +43,8 @@ "success": "Here is your CSV file! \nPlease note, by default, the delimiter used is `;`. \nDon't forget to specify it when importing into your software (excel/google sheet...).\n\nPlease note that you must calculate the combinations yourself!" }, "button": { - "add": {}, + "add": { + }, "cancel": "Cancel", "continue": "Continue", "dice": "Save a die", @@ -164,7 +165,6 @@ "template": "Model", "user": "⌈⌋ Sheet ⌈⌋" }, - "error": { "channel": "The channel `{{-channel}}` does not exist on this server.", "charName": "The character {{- charName}} is not registered.", @@ -188,7 +188,7 @@ "noTemplateId": "No messages found with data saved in database:\n- Channel: `{{-channelId}}`\n- Message ID: `{{- messageId}}`", "noThread": "No valid channel found - Please re-register the template if the channel was deleted", "notRegistered": "You are not registered", - "oldEmbed": "", + "oldEmbed": "This record does not match the one in the database. \nYou will find the new sheet [here]({{- sheet}}).", "private": "This character sheet is private! \nYou do not have permission to read it.", "rollChannelNotFound": "The channel configured by the `/result_channel` command was not found. \nUsing the default configuration.", "statNotFound": "Statistics not found! Did you make a typing error?", @@ -209,7 +209,8 @@ "options": { "desc": "Export only characters marked as private", "name": "private_sheet_only", - "private": {} + "private": { + } } }, "generate": { diff --git a/src/localizations/locales/fr.json b/src/localizations/locales/fr.json index 00e6f266..22af62a1 100644 --- a/src/localizations/locales/fr.json +++ b/src/localizations/locales/fr.json @@ -186,7 +186,7 @@ "noTemplateId": "Aucun message trouvé avec les données sauvegardée dans la base de données:\n- Channel : `{{- channelId}}`\n- ID du message : `{{- messageId}}`", "noThread": "Aucun channel valide trouvé — Veuillez réenregistrer le modèle si le channel a été supprimé", "notRegistered": "Vous n'êtes pas enregistré", - "oldEmbed": "Cette fiche ne correspond pas à celle dans la base de données. Vous trouverez la nouvelle fiche [ici]({{- fiche}}).", + "oldEmbed": "Cette fiche ne correspond pas à celle dans la base de données. Vous trouverez la nouvelle fiche [ici](<{{- fiche}}>).", "private": "Cette fiche est privée ! Vous n'avez pas la permissions pour la lire.", "rollChannelNotFound": "Le channel configuré par la commande `/result_channel` n'a pas été trouvé. Utilisation de la configuration par défaut.", "statNotFound": "Statistiques introuvable ! Avez vous fait une erreur de frappe ?",