Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(import): drop the redundant title from the import toast
Elian Doran2387cded22a1
diff --git a/apps/client/src/services/import.ts b/apps/client/src/services/import.tsindex 7d14451764..ede568c224 100644--- a/apps/client/src/services/import.ts+++ b/apps/client/src/services/import.ts@@ -61,7 +61,6 @@ export async function uploadFiles(entityType: string, parentNoteId: string, filefunction makeToast(id: string, message: string): ToastOptionsWithRequiredId {return {id,- title: t("import.import-status"),message,icon: "plus"};@@ -75,7 +74,6 @@ function makeProgressToast(taskId: string, progressCount: number, totalCount?: nconst hasTotal = typeof totalCount === "number" && totalCount > 0;return {id: taskId,- title: t("import.import-status"),icon: "bx bx-loader-circle bx-spin",message: hasTotal? t("import.in-progress-with-total", { progress: progressCount, total: totalCount })diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.jsonindex 4004b0df3f..a1329e8053 100644--- a/apps/client/src/translations/en/translation.json+++ b/apps/client/src/translations/en/translation.json@@ -224,7 +224,6 @@"placeholder": "Enter HTML tags, one per line","reset_button": "Reset to Default List"},- "import-status": "Import status","in-progress": "Import in progress: {{progress}}","in-progress-with-total": "Importing {{progress}} of {{total}}","successful": "Import finished successfully."