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

@@ -127,7 +127,7 @@ export default class NoteActionsWidget extends NoteContextAwareWidget {
}
async convertNoteIntoAttachmentCommand() {
if (!await dialogService.confirm(`Are you sure you want to convert note '${this.note.title}' into an attachment of the parent note?`)) {
if (!await dialogService.confirm(t("note_actions.convert_into_attachment_prompt", { title: this.note.title }))) {
return;
}