Skip to content

Build your personal knowledge base with Trilium Notes

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.ts
index 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, file
function 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?: n
const 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.json
index 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."