From fc3938701e2e18368bafe589bda403b77c2ed4c9 Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Mon, 4 Mar 2024 18:46:00 +0100 Subject: [PATCH] add reset translation --- packages/frontend/locales/de.json | 3 ++- packages/frontend/locales/en.json | 3 ++- packages/frontend/locales/es.json | 3 ++- packages/frontend/locales/fr.json | 3 ++- packages/frontend/locales/it.json | 3 ++- packages/frontend/locales/ja.json | 3 ++- packages/frontend/locales/ru.json | 3 ++- packages/frontend/locales/zh.json | 3 ++- packages/frontend/src/lib/ui/FileUpload.svelte | 2 +- 9 files changed, 17 insertions(+), 9 deletions(-) diff --git a/packages/frontend/locales/de.json b/packages/frontend/locales/de.json index 246e396..2b7f856 100644 --- a/packages/frontend/locales/de.json +++ b/packages/frontend/locales/de.json @@ -52,6 +52,7 @@ }, "file_upload": { "selected_files": "Ausgewählte Dateien", - "no_files_selected": "Keine Dateien ausgewählt" + "no_files_selected": "Keine Dateien ausgewählt", + "clear": "Zurücksetzen" } } diff --git a/packages/frontend/locales/en.json b/packages/frontend/locales/en.json index 9882afb..f4533b6 100644 --- a/packages/frontend/locales/en.json +++ b/packages/frontend/locales/en.json @@ -52,6 +52,7 @@ }, "file_upload": { "selected_files": "Selected Files", - "no_files_selected": "No Files Selected" + "no_files_selected": "No Files Selected", + "clear": "Reset" } } diff --git a/packages/frontend/locales/es.json b/packages/frontend/locales/es.json index 5a6c3ba..b482c22 100644 --- a/packages/frontend/locales/es.json +++ b/packages/frontend/locales/es.json @@ -52,6 +52,7 @@ }, "file_upload": { "selected_files": "Archivos seleccionados", - "no_files_selected": "No hay archivos seleccionados" + "no_files_selected": "No hay archivos seleccionados", + "clear": "Restablecer" } } diff --git a/packages/frontend/locales/fr.json b/packages/frontend/locales/fr.json index 516bd7c..99803a2 100644 --- a/packages/frontend/locales/fr.json +++ b/packages/frontend/locales/fr.json @@ -52,6 +52,7 @@ }, "file_upload": { "selected_files": "Fichiers sélectionnés", - "no_files_selected": "Aucun fichier sélectionné" + "no_files_selected": "Aucun fichier sélectionné", + "clear": "Réinitialiser" } } diff --git a/packages/frontend/locales/it.json b/packages/frontend/locales/it.json index baacb64..3ee0b9d 100644 --- a/packages/frontend/locales/it.json +++ b/packages/frontend/locales/it.json @@ -52,6 +52,7 @@ }, "file_upload": { "selected_files": "File selezionati", - "no_files_selected": "Nessun file selezionato" + "no_files_selected": "Nessun file selezionato", + "clear": "Reset" } } diff --git a/packages/frontend/locales/ja.json b/packages/frontend/locales/ja.json index 931f4ac..87a3c59 100644 --- a/packages/frontend/locales/ja.json +++ b/packages/frontend/locales/ja.json @@ -52,6 +52,7 @@ }, "file_upload": { "selected_files": "選択したファイル", - "no_files_selected": "ファイルが選択されていません" + "no_files_selected": "ファイルが選択されていません", + "clear": "リセット" } } diff --git a/packages/frontend/locales/ru.json b/packages/frontend/locales/ru.json index fb182e2..946525a 100644 --- a/packages/frontend/locales/ru.json +++ b/packages/frontend/locales/ru.json @@ -52,6 +52,7 @@ }, "file_upload": { "selected_files": "Выбранные файлы", - "no_files_selected": "Файлы не выбраны" + "no_files_selected": "Файлы не выбраны", + "clear": "Сброс" } } diff --git a/packages/frontend/locales/zh.json b/packages/frontend/locales/zh.json index 5bdab56..be5e506 100644 --- a/packages/frontend/locales/zh.json +++ b/packages/frontend/locales/zh.json @@ -52,6 +52,7 @@ }, "file_upload": { "selected_files": "已选中的文件", - "no_files_selected": "没有文件被选中" + "no_files_selected": "没有文件被选中", + "clear": "重置" } } diff --git a/packages/frontend/src/lib/ui/FileUpload.svelte b/packages/frontend/src/lib/ui/FileUpload.svelte index afddf86..fea73f3 100644 --- a/packages/frontend/src/lib/ui/FileUpload.svelte +++ b/packages/frontend/src/lib/ui/FileUpload.svelte @@ -46,7 +46,7 @@ {/each}
- +
{:else}