Skip to content

Build your personal knowledge base with Trilium Notes

chore(note_actions): use dedicated translation for note revisions

Elian Doran63f7a78d311d
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index f11ec921c2..2298f2f2b1 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -689,6 +689,7 @@
"export_note": "Export note",
"delete_note": "Delete note",
"print_note": "Print note",
+ "view_revisions": "Note revisions...",
"save_revision": "Save revision",
"convert_into_attachment_failed": "Converting note '{{title}}' failed.",
"convert_into_attachment_successful": "Note '{{title}}' has been converted to attachment.",
diff --git a/apps/client/src/widgets/ribbon/NoteActions.tsx b/apps/client/src/widgets/ribbon/NoteActions.tsx
index 6adaf7f613..c10bda7cca 100644
--- a/apps/client/src/widgets/ribbon/NoteActions.tsx
+++ b/apps/client/src/widgets/ribbon/NoteActions.tsx
@@ -98,7 +98,7 @@ function NoteContextMenu({ note, noteContext }: { note: FNote, noteContext?: Not
}
<FormDropdownDivider />
- <CommandItem command="showRevisions" icon="bx bx-history" text={t("revisions_button.note_revisions")} />
+ <CommandItem command="showRevisions" icon="bx bx-history" text={t("note_actions.view_revisions")} />
<CommandItem command="forceSaveRevision" icon="bx bx-save" disabled={isInOptionsOrHelp} text={t("note_actions.save_revision")} />
<CommandItem icon="bx bx-trash destructive-action-icon" text={t("note_actions.delete_note")} destructive
disabled={isInOptionsOrHelp}