From c59d76e927a00324c833abcf899db909cae2ee68 Mon Sep 17 00:00:00 2001 From: Martin Ledvinka Date: Tue, 12 Mar 2024 14:43:19 +0100 Subject: [PATCH] Add import vocabulary button to vocabulary management view. --- src/component/vocabulary/VocabularyManagement.tsx | 10 ++++++++++ src/i18n/cs.ts | 1 + src/i18n/en.ts | 2 ++ 3 files changed, 13 insertions(+) diff --git a/src/component/vocabulary/VocabularyManagement.tsx b/src/component/vocabulary/VocabularyManagement.tsx index 8ac841749..95249ba2b 100644 --- a/src/component/vocabulary/VocabularyManagement.tsx +++ b/src/component/vocabulary/VocabularyManagement.tsx @@ -15,6 +15,7 @@ import WindowTitle from "../misc/WindowTitle"; import IfUserIsEditor from "../authorization/IfUserIsEditor"; import { useI18n } from "../hook/useI18n"; import IfUserIsAdmin from "../authorization/IfUserIsAdmin"; +import { FaFileImport } from "react-icons/fa"; interface VocabularyManagementProps { loadVocabularies: () => void; @@ -41,6 +42,15 @@ export const VocabularyManagement: React.FC = (  {i18n("vocabulary.management.new")} + + +  {i18n("main.nav.import-vocabulary")} + ,