diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json index 79cf207780..796e4c08fa 100644 --- a/apps/client/src/translations/en/translation.json +++ b/apps/client/src/translations/en/translation.json @@ -304,7 +304,13 @@ "download_button": "Download", "mime": "MIME: ", "file_size": "File size:", - "preview_not_available": "Preview isn't available for this note type." + "preview_not_available": "Preview isn't available for this note type.", + "save_revision": "Save revision", + "save_revision_tooltip": "Manually save a snapshot of the current note", + "description_placeholder": "Add a description (optional)", + "revision_saved": "Note revision has been saved.", + "edit_description": "Edit description", + "description_updated": "Revision description has been updated." }, "sort_child_notes": { "sort_children_by": "Sort children by...", diff --git a/apps/client/src/widgets/dialogs/revisions.tsx b/apps/client/src/widgets/dialogs/revisions.tsx index 66ce763a3d..06a44ed859 100644 --- a/apps/client/src/widgets/dialogs/revisions.tsx +++ b/apps/client/src/widgets/dialogs/revisions.tsx @@ -66,36 +66,47 @@ export default function RevisionsDialog() { helpPageId="vZWERwf8U3nx" bodyStyle={{ display: "flex", height: "80vh" }} header={ - !!revisions?.length && ( - <> - {["text", "code", "mermaid"].includes(currentRevision?.type ?? "") && ( - setShowDiff(newValue)} - switchOnName={t("revisions.diff_on")} - switchOffName={t("revisions.diff_off")} - switchOnTooltip={t("revisions.diff_on_hint")} - switchOffTooltip={t("revisions.diff_off_hint")} - /> - )} -   -