i18n: Translate toast messages

This commit is contained in:
Elian Doran
2024-10-20 02:06:08 +03:00
parent 93efce4023
commit 28f6712a4f
11 changed files with 71 additions and 25 deletions

View File

@@ -154,7 +154,7 @@ export default class TreeContextMenu {
}
}
toastService.showMessage(`${converted} notes have been converted to attachments.`);
toastService.showMessage(t("tree-context-menu.converted-to-attachments", { count: converted }));
}
else if (command === 'copyNotePathToClipboard') {
navigator.clipboard.writeText('#' + notePath);