From 34e8fc95b591b9a996be37b15bfcfbc3ee474e29 Mon Sep 17 00:00:00 2001 From: Arild Matsson Date: Wed, 3 Jan 2024 15:53:38 +0100 Subject: [PATCH] Warn that re-run will overwrite results, fix #84 --- src/corpus/job/JobStatus.vue | 6 +++++- src/fontawesome.js | 2 ++ src/i18n/locales/en.yaml | 1 + src/i18n/locales/sv.yaml | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/corpus/job/JobStatus.vue b/src/corpus/job/JobStatus.vue index 790d557..57351e9 100644 --- a/src/corpus/job/JobStatus.vue +++ b/src/corpus/job/JobStatus.vue @@ -8,7 +8,7 @@ -
+
{{ $t("job.abort") }} + +
+ {{ $t("job.rerun.overwrite") }} +
diff --git a/src/fontawesome.js b/src/fontawesome.js index 0bc65c6..e4044fe 100644 --- a/src/fontawesome.js +++ b/src/fontawesome.js @@ -10,6 +10,7 @@ import { faTrashCan, } from "@fortawesome/free-regular-svg-icons"; import { + faCircleInfo, faDownload, faGears, faPen, @@ -21,6 +22,7 @@ import { } from "@fortawesome/free-solid-svg-icons"; library.add( + faCircleInfo, faDownload, faFile, faGears, diff --git a/src/i18n/locales/en.yaml b/src/i18n/locales/en.yaml index 6b2bfb4..59e6ebe 100644 --- a/src/i18n/locales/en.yaml +++ b/src/i18n/locales/en.yaml @@ -55,6 +55,7 @@ config.loading: Loading metadata config.saving: Saving metadata job.run: Run annotation job.rerun: Re-run annotation +job.rerun.overwrite: Previous results will be overwritten job.abort: Abort job.aborting: Aborting annotation job job.starting: Queueing annotation job diff --git a/src/i18n/locales/sv.yaml b/src/i18n/locales/sv.yaml index 9972ece..bef9064 100644 --- a/src/i18n/locales/sv.yaml +++ b/src/i18n/locales/sv.yaml @@ -56,6 +56,7 @@ config.loading: Hämtar metadata config.saving: Sparar metadata job.run: Starta annotering job.rerun: Starta om annotering +job.rerun.overwrite: Tidigare resultat kommer att skrivas över job.abort: Avbryt job.aborting: Avbryter annotering job.starting: Lägger annotering i kö