i18n(docs): localize revision history UI; drop unused SDK type

This commit is contained in:
Ramesh Mane
2026-05-28 11:25:41 +00:00
parent f220a16a32
commit 2c745ecb14
2 changed files with 25 additions and 12 deletions

View File

@@ -1378,6 +1378,31 @@
"manyToOne": "Many to One"
},
"labels": {
"docHistory": {
"title": "Version history",
"retention": "Versions are kept for {count} day on your plan. | Versions are kept for {count} days on your plan.",
"previewEmptyTitle": "Select a version to preview",
"previewEmptySubtitle": "Pick one from the list on the right to see the page as it was at that point. Changes against the current version are highlighted inline.",
"currentVersion": "Current version · {author}",
"loadOlder": "Load older",
"emptyTitle": "No versions saved yet",
"emptySubtitle": "A version is recorded each time the page is saved. Saves made within 2 minutes by the same author are merged into one.",
"restoreConfirmTitle": "Restore this version?",
"restoreConfirmContent": "Your current version will be saved in history before restoring.",
"restored": "Restored to selected version",
"noRestorePermission": "You do not have permission to restore revisions",
"authorFallback": "Someone",
"savedBy": {
"restored": "Restored by {author} · {when}",
"saved": "Saved by {author} · {when}",
"edited": "Edited by {author} · {when}"
},
"listAction": {
"restored": "{author} restored",
"saved": "{author} saved",
"edited": "{author} edited"
}
},
"changePassword": "Change Password",
"changeViewPassword": "Change View Password",
"changeDashboardPassword": "Change Dashboard Password",

View File

@@ -19,15 +19,3 @@ export interface DocumentRevisionType {
created_at?: string;
updated_at?: string;
}
export interface DocumentRevisionListItem {
id: string;
fk_doc_id: string;
version: number;
title: string;
created_by: string;
created_by_email?: string;
created_by_display_name?: string;
source: DocRevisionSource;
created_at: string;
}