From fe6113066889b241db5a151c8b68e8b7a2229568 Mon Sep 17 00:00:00 2001 From: adrien guernier Date: Fri, 2 Feb 2024 18:49:13 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Jean-Baptiste Kaiser --- src/app/custom/translations.tsv | 2 +- src/app/js/admin/removedResources/ImportButton.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/custom/translations.tsv b/src/app/custom/translations.tsv index a05193c88..914342eef 100644 --- a/src/app/custom/translations.tsv +++ b/src/app/custom/translations.tsv @@ -1065,5 +1065,5 @@ "admin_panel_link" "Instance administration" "Administration de l'instance" "subresource_path_validation_error" "A subresource with this path already exists" "Une sous-ressource avec ce chemin existe déjà" "import" "Import" "Importer" -"import_successfull" "Import completed successfully" "Import réalisé avec succés" +"import_successful" "Import completed successfully" "Import réalisé avec succès" "import_error" "Error during import" "Erreur lors de l'import" \ No newline at end of file diff --git a/src/app/js/admin/removedResources/ImportButton.js b/src/app/js/admin/removedResources/ImportButton.js index d44cd026c..fdbb3af84 100644 --- a/src/app/js/admin/removedResources/ImportButton.js +++ b/src/app/js/admin/removedResources/ImportButton.js @@ -39,7 +39,7 @@ const ImportButton = ({ p: polyglot }) => { }); } else { setDone(true); - toast(polyglot.t('import_successfull'), { + toast(polyglot.t('import_successful'), { type: toast.TYPE.SUCCESS, }); }