chore(i18n): translate a missing string

This commit is contained in:
Elian Doran 2025-10-08 22:24:05 +03:00
parent ea3cf8078e
commit a377a0ef15
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -736,6 +736,7 @@
"mobile_detail_menu": { "mobile_detail_menu": {
"insert_child_note": "Insert child note", "insert_child_note": "Insert child note",
"delete_this_note": "Delete this note", "delete_this_note": "Delete this note",
"note_revisions": "Note revisions",
"error_cannot_get_branch_id": "Cannot get branchId for notePath '{{notePath}}'", "error_cannot_get_branch_id": "Cannot get branchId for notePath '{{notePath}}'",
"error_unrecognized_command": "Unrecognized command {{command}}" "error_unrecognized_command": "Unrecognized command {{command}}"
}, },

View File

@ -25,7 +25,7 @@ export default function MobileDetailMenu() {
{ title: t("mobile_detail_menu.insert_child_note"), command: "insertChildNote", uiIcon: "bx bx-plus", enabled: note?.type !== "search" }, { title: t("mobile_detail_menu.insert_child_note"), command: "insertChildNote", uiIcon: "bx bx-plus", enabled: note?.type !== "search" },
{ title: t("mobile_detail_menu.delete_this_note"), command: "delete", uiIcon: "bx bx-trash", enabled: note?.noteId !== "root" }, { title: t("mobile_detail_menu.delete_this_note"), command: "delete", uiIcon: "bx bx-trash", enabled: note?.noteId !== "root" },
{ kind: "separator" }, { kind: "separator" },
{ title: "Note revisions", command: "showRevisions", uiIcon: "bx bx-history" } { title: t("mobile_detail_menu.note_revisions"), command: "showRevisions", uiIcon: "bx bx-history" }
], ],
selectMenuItemHandler: async ({ command }) => { selectMenuItemHandler: async ({ command }) => {
if (command === "insertChildNote") { if (command === "insertChildNote") {