Skip to content

Commit

Permalink
add reset translation
Browse files Browse the repository at this point in the history
  • Loading branch information
cupcakearmy committed Mar 4, 2024
1 parent 23b4f81 commit fc39387
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 9 deletions.
3 changes: 2 additions & 1 deletion packages/frontend/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
3 changes: 2 additions & 1 deletion packages/frontend/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
},
"file_upload": {
"selected_files": "Selected Files",
"no_files_selected": "No Files Selected"
"no_files_selected": "No Files Selected",
"clear": "Reset"
}
}
3 changes: 2 additions & 1 deletion packages/frontend/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
3 changes: 2 additions & 1 deletion packages/frontend/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
3 changes: 2 additions & 1 deletion packages/frontend/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
},
"file_upload": {
"selected_files": "File selezionati",
"no_files_selected": "Nessun file selezionato"
"no_files_selected": "Nessun file selezionato",
"clear": "Reset"
}
}
3 changes: 2 additions & 1 deletion packages/frontend/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
},
"file_upload": {
"selected_files": "選択したファイル",
"no_files_selected": "ファイルが選択されていません"
"no_files_selected": "ファイルが選択されていません",
"clear": "リセット"
}
}
3 changes: 2 additions & 1 deletion packages/frontend/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
},
"file_upload": {
"selected_files": "Выбранные файлы",
"no_files_selected": "Файлы не выбраны"
"no_files_selected": "Файлы не выбраны",
"clear": "Сброс"
}
}
3 changes: 2 additions & 1 deletion packages/frontend/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
},
"file_upload": {
"selected_files": "已选中的文件",
"no_files_selected": "没有文件被选中"
"no_files_selected": "没有文件被选中",
"clear": "重置"
}
}
2 changes: 1 addition & 1 deletion packages/frontend/src/lib/ui/FileUpload.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</div>
{/each}
<div class="spacer" />
<Button on:click={clear}>Clear</Button>
<Button on:click={clear}>{$t('file_upload.clear')}</Button>
</div>
{:else}
<div>
Expand Down

0 comments on commit fc39387

Please sign in to comment.