This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
// English messages of the documents module. Every string a page of this module shows is a key
|
||||
// here and in lt.ts (spec §10.4); `__tests__/i18n.test.ts` fails when the two differ.
|
||||
|
||||
export const en = {
|
||||
title: "Documents",
|
||||
intro:
|
||||
"Upload a document. It is read in the background and every labelled line is proposed for review. Nothing is exported until you approve it.",
|
||||
upload: {
|
||||
label: "Upload a document",
|
||||
hint: "PDF, PNG or JPEG, up to 50 MB.",
|
||||
submit: "Upload",
|
||||
busy: "Uploading",
|
||||
progress: "Uploading {filename}: {percent}%",
|
||||
done: "Uploaded. It will be read in the background.",
|
||||
},
|
||||
list: {
|
||||
empty: "No documents yet.",
|
||||
file: "Document",
|
||||
status: "Status",
|
||||
pages: "Pages",
|
||||
pending: "To review",
|
||||
approved: "Approved",
|
||||
uploaded: "Uploaded",
|
||||
actions: "Actions",
|
||||
review: "Review {filename}",
|
||||
download: "Download {filename}",
|
||||
},
|
||||
status: {
|
||||
queued: "Waiting to be read",
|
||||
processing: "Being read",
|
||||
extracted: "Ready for review",
|
||||
failed: "Could not be read",
|
||||
},
|
||||
failure: {
|
||||
file_missing: "The uploaded file could not be found.",
|
||||
file_changed: "The file changed after it was uploaded.",
|
||||
ocr_failed: "The reader could not process this file.",
|
||||
extraction_refused: "The model declined to read this document.",
|
||||
extraction_truncated: "The model could not finish reading this document.",
|
||||
extraction_invalid: "The model did not answer in the expected form.",
|
||||
},
|
||||
review: {
|
||||
title: "Review: {filename}",
|
||||
back: "All documents",
|
||||
noLines: "No lines were proposed for this document.",
|
||||
waiting: "This document has not been read yet. Reload in a moment.",
|
||||
tableLabel: "Extracted lines",
|
||||
label: "Label",
|
||||
value: "Value",
|
||||
page: "Page",
|
||||
source: "Source",
|
||||
confidence: "Confidence",
|
||||
decision: "Decision",
|
||||
actions: "Actions",
|
||||
approve: "Approve {label}",
|
||||
reject: "Reject {label}",
|
||||
edit: "Edit {label}",
|
||||
save: "Save",
|
||||
cancel: "Cancel",
|
||||
approveAll: "Approve all verified lines",
|
||||
needsReview: "Needs review: the quoted words were not found on the page.",
|
||||
scannedQuote:
|
||||
"Needs review: this quote comes from a scanned page and could not be found in its recognised text. Check it against the page image.",
|
||||
block: "Block {id}",
|
||||
skippedTitle: "Pages not read",
|
||||
skippedPage: "Page {page}: {kind}. It was left out of the extraction.",
|
||||
pageClass: {
|
||||
text: "text page",
|
||||
table: "table page",
|
||||
drawing: "drawing",
|
||||
scan: "scanned page",
|
||||
empty: "empty page",
|
||||
},
|
||||
edited: "Edited",
|
||||
sourceOnPage: "Source, page {page}",
|
||||
pendingCount: "{count, plural, one {# line to review} other {# lines to review}}",
|
||||
approvedCount: "{count, plural, one {# line approved} other {# lines approved}}",
|
||||
state: { pending: "To review", approved: "Approved", rejected: "Rejected" },
|
||||
proposedBy: "Proposed by {model}",
|
||||
export: "Export approved lines (Excel)",
|
||||
exportHint: "Only approved lines are exported.",
|
||||
exportNothing: "Approve at least one line to export.",
|
||||
exported: "The workbook was downloaded.",
|
||||
},
|
||||
} as const
|
||||
Reference in New Issue
Block a user