client/note menu: localize string

This commit is contained in:
Adorian Doran
2025-12-13 16:45:09 +02:00
parent 87a51251ca
commit 563194ff6c
3 changed files with 3 additions and 1 deletions

View File

@@ -691,6 +691,7 @@
"print_note": "Print note", "print_note": "Print note",
"view_revisions": "Note revisions...", "view_revisions": "Note revisions...",
"save_revision": "Save revision", "save_revision": "Save revision",
"advanced": "Advanced",
"convert_into_attachment_failed": "Converting note '{{title}}' failed.", "convert_into_attachment_failed": "Converting note '{{title}}' failed.",
"convert_into_attachment_successful": "Note '{{title}}' has been converted to attachment.", "convert_into_attachment_successful": "Note '{{title}}' has been converted to attachment.",
"convert_into_attachment_prompt": "Are you sure you want to convert note '{{title}}' into an attachment of the parent note?", "convert_into_attachment_prompt": "Are you sure you want to convert note '{{title}}' into an attachment of the parent note?",

View File

@@ -873,6 +873,7 @@
"print_note": "Imprimare notiță", "print_note": "Imprimare notiță",
"re_render_note": "Reinterpretare notiță", "re_render_note": "Reinterpretare notiță",
"save_revision": "Salvează o nouă revizie", "save_revision": "Salvează o nouă revizie",
"advanced": "Advansat",
"search_in_note": "Caută în notiță", "search_in_note": "Caută în notiță",
"convert_into_attachment_failed": "Nu s-a putut converti notița „{{title}}”.", "convert_into_attachment_failed": "Nu s-a putut converti notița „{{title}}”.",
"convert_into_attachment_successful": "Notița „{{title}}” a fost convertită în atașament.", "convert_into_attachment_successful": "Notița „{{title}}” a fost convertită în atașament.",

View File

@@ -110,7 +110,7 @@ function NoteContextMenu({ note, noteContext }: { note: FNote, noteContext?: Not
{note.type === "render" && <CommandItem command="renderActiveNote" icon="bx bx-extension" text={t("note_actions.re_render_note")} {note.type === "render" && <CommandItem command="renderActiveNote" icon="bx bx-extension" text={t("note_actions.re_render_note")}
/>} />}
<FormDropdownSubmenu icon="bx bx-wrench" title="Advanced" dropStart> <FormDropdownSubmenu icon="bx bx-wrench" title={t("note_actions.advanced")} dropStart>
<CommandItem command="openNoteExternally" icon="bx bx-file-find" disabled={isSearchOrBook || !isElectron} text={t("note_actions.open_note_externally")} title={t("note_actions.open_note_externally_title")} /> <CommandItem command="openNoteExternally" icon="bx bx-file-find" disabled={isSearchOrBook || !isElectron} text={t("note_actions.open_note_externally")} title={t("note_actions.open_note_externally_title")} />
<CommandItem command="openNoteCustom" icon="bx bx-customize" disabled={isSearchOrBook || isMac || !isElectron} text={t("note_actions.open_note_custom")} /> <CommandItem command="openNoteCustom" icon="bx bx-customize" disabled={isSearchOrBook || isMac || !isElectron} text={t("note_actions.open_note_custom")} />
<CommandItem command="showNoteSource" icon="bx bx-code" disabled={!hasSource} text={t("note_actions.note_source")} /> <CommandItem command="showNoteSource" icon="bx bx-code" disabled={!hasSource} text={t("note_actions.note_source")} />