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

@@ -119,7 +119,7 @@ async function duplicateSubtree(noteId, parentNotePath) {
activeNoteContext.setNote(`${parentNotePath}/${note.noteId}`);
const origNote = await froca.getNote(noteId);
toastService.showMessage(`Note "${origNote.title}" has been duplicated`);
toastService.showMessage(t("note_create.duplicated", { title: origNote.title }));
}
export default {