i18n: Translate confirmation popups

This commit is contained in:
Elian Doran
2024-10-20 10:49:50 +03:00
parent ae593ea363
commit 8cc487da7c
7 changed files with 31 additions and 13 deletions

View File

@@ -136,7 +136,7 @@ export default class TreeContextMenu {
this.treeWidget.triggerCommand("openNewNoteSplit", {ntxId, notePath});
}
else if (command === 'convertNoteToAttachment') {
if (!await dialogService.confirm(`Are you sure you want to convert note selected notes into attachments of their parent notes?`)) {
if (!await dialogService.confirm(t("tree-context-menu.convert-to-attachment-confirm"))) {
return;
}