From 8f29be331e28caf2f2d023ac806cea038493130a Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Mon, 25 Nov 2024 11:54:32 -0500 Subject: [PATCH] Tweak langauge strings --- src/langs/json/en.json | 33 ++++++++++--------- .../components/sidebar/DocumentActions.svelte | 2 +- .../components/sidebar/ProjectActions.svelte | 2 +- .../components/sidebar/ViewerActions.svelte | 8 ++--- 4 files changed, 23 insertions(+), 22 deletions(-) diff --git a/src/langs/json/en.json b/src/langs/json/en.json index 06eb7b30f..c6f6a5777 100644 --- a/src/langs/json/en.json +++ b/src/langs/json/en.json @@ -247,7 +247,7 @@ "view": "Viewer" }, "delete": { - "action": "Delete project", + "action": "Delete Project", "confirm": "Confirm delete", "really": "Are you sure you want to delete this project ({project})?" }, @@ -343,19 +343,20 @@ "contributed": "Contributed by", "share": "Share", "shareEmbed": "Share & Embed", - "shareEmbedProject": "Share & Embed Project", "sharedWith": "Shared with", "revisions": "Revision History", - "edit": "Edit Metadata", - "editProject": "Edit Project Metadata", + "edit": "Edit Document Metadata", "upload": "Upload Documents", "uploadToProject": "Upload to Project", "download": "Download File", "reprocess": "Reprocess", + "delete": "Delete", + "shareEmbedProject": "Share & Embed Project", + "editProject": "Edit Project Metadata", + "deleteProject": "Delete Project", "created": "Created on", "updated": "Last updated on", "language": "Language", - "delete": "Delete", "ocr_engine": "OCR Engine", "addons": { "title": "Add-Ons", @@ -384,7 +385,7 @@ "cta": "Annotate this document" }, "edit": { - "title": "Edit document metadata", + "title": "Edit Document Metadata", "fields": { "title": "Title", "description": "Description", @@ -419,10 +420,10 @@ } }, "redact": { + "title": "Redact Document", "confirm": "Save", "confirmTitle": "Save Redactions", "really": "Are you sure you wish to redact the current document? If you continue, the document viewer will be inaccessible temporarily while the document reprocesses with the redactions in place. This change is irreversible.", - "title": "Redact Document", "instructions": "Click and drag to draw a black rectangle over each portion of the document you’d like to redact. Associated text will be removed when you save your redactions.", "undo": "Undo", "cancel": "Discard", @@ -434,13 +435,13 @@ "page": "Page", "title": "Title", "delete": "Delete", - "new": "Add a new section", + "new": "Add New Section", "clear": "Clear", "update": "Update section", "overwrite": "There is already a section starting on page {n}." }, "delete": { - "title": "Confirm delete", + "title": "Confirm Delete", "really": "Proceeding will permanently delete the {n, plural, one {selected document} other {# selected documents}}.", "continue": "Do you wish to continue?", "confirm": "Delete", @@ -449,7 +450,7 @@ "none": "No documents selected. Close this form and select at least one document first." }, "data": { - "title": "Edit tags and data", + "title": "Edit Tags & Data", "key": "Key", "newkey": "New item", "value": "Value", @@ -459,15 +460,15 @@ "save": "Save", "cancel": "Cancel", "addNew": "Add new item:", - "many": "Saving will add the following data and tags to {n, plural, one {the selected document} other {all # selected documents}}. No tags or data will be removed." + "many": "Saving will add the following tags and data to {n, plural, one {the selected document} other {all # selected documents}}. No tags or data will be removed." }, "bulk": { - "title": "Edit", + "title": "Actions", "actions": { - "share": "Share", - "edit": "Edit metadata", - "data": "Edit tags & data", - "project": "Move to project", + "share": "Share & Embed", + "edit": "Edit Metadata", + "data": "Edit Tags & Data", + "project": "Move to Project", "reprocess": "Reprocess", "delete": "Delete" } diff --git a/src/lib/components/sidebar/DocumentActions.svelte b/src/lib/components/sidebar/DocumentActions.svelte index 0c0a181b7..e62678d26 100644 --- a/src/lib/components/sidebar/DocumentActions.svelte +++ b/src/lib/components/sidebar/DocumentActions.svelte @@ -48,7 +48,7 @@ Most actual actions are deferred to their own forms, so this is more of a switch const selected: Readable = getContext("selected"); const actions: Record = { - share: ["sidebar.shareEmbed", Share16, "standard"], + share: ["bulk.actions.share", Share16, "standard"], edit: ["bulk.actions.edit", Pencil16, "primary"], data: ["bulk.actions.data", Tag16, "primary"], project: ["bulk.actions.project", FileDirectory16, "primary"], diff --git a/src/lib/components/sidebar/ProjectActions.svelte b/src/lib/components/sidebar/ProjectActions.svelte index ae5a655d9..1fba9980a 100644 --- a/src/lib/components/sidebar/ProjectActions.svelte +++ b/src/lib/components/sidebar/ProjectActions.svelte @@ -50,7 +50,7 @@ {#if project.edit_access} {/if} {/if} diff --git a/src/lib/components/sidebar/ViewerActions.svelte b/src/lib/components/sidebar/ViewerActions.svelte index 7e4e3dbfa..2afc6d3b4 100644 --- a/src/lib/components/sidebar/ViewerActions.svelte +++ b/src/lib/components/sidebar/ViewerActions.svelte @@ -45,14 +45,14 @@
- +
{#if document.edit_access}