@@ -0,0 +1,122 @@
|
||||
// English messages of the knowledge 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: "Knowledge",
|
||||
intro:
|
||||
"Search this project's documents by meaning, on the platform's knowledge service. Files are indexed in the background; answers cite the file and the passage they came from.",
|
||||
refusals: {
|
||||
configuration_missing: "Set CONUSAI_ENVIRONMENT for this deployment before using knowledge search.",
|
||||
plan_required: "The organization's plan does not include document search.",
|
||||
feature_disabled: "Document search is switched off for this organization by platform policy.",
|
||||
quota_exhausted: "Today's indexing allowance is spent. Try again tomorrow.",
|
||||
budget_exhausted: "The organization's AI budget is spent. An administrator can raise it on the platform.",
|
||||
scope_missing:
|
||||
"This deployment's token does not hold knowledge.collections:use. Deploy the app again, then have an owner or admin approve it.",
|
||||
indexing: "The service is building its index. Try again in a few minutes.",
|
||||
approval_required: "An administrator must approve this on the platform first.",
|
||||
runtime_unavailable: "The knowledge service did not answer. Try again later.",
|
||||
},
|
||||
failures: {
|
||||
processing_exhausted: "Processing stopped after its final retry. Check services and permissions before retrying.",
|
||||
file_changed: "The source file changed. Upload the original again.",
|
||||
not_text: "The file is not text.",
|
||||
not_indexable: "This kind of file cannot be indexed.",
|
||||
too_large: "The file is too large to index.",
|
||||
},
|
||||
status: {
|
||||
heading: "Service status",
|
||||
flagOff:
|
||||
"Knowledge is switched off. An organization administrator enables document AI in the organization's settings.",
|
||||
state: "Search service",
|
||||
stateReady: "Ready",
|
||||
stateIndexing: "Indexing",
|
||||
stateRegistered: "Registered",
|
||||
stateDegraded: "Degraded",
|
||||
stateDisabled: "Disabled by policy",
|
||||
stateUnavailable: "Unavailable",
|
||||
reasons: "Reasons",
|
||||
indexing: "Indexing in progress",
|
||||
documents: "{queued} queued, {indexing} indexing, {indexed} indexed, {failed} failed",
|
||||
},
|
||||
collections: {
|
||||
heading: "Collections",
|
||||
empty: "No collections yet.",
|
||||
name: "Name",
|
||||
documents: "Documents",
|
||||
indexed: "Indexed",
|
||||
createHeading: "New collection",
|
||||
nameLabel: "Name",
|
||||
nameHint: "Lower-case letters, digits and dashes.",
|
||||
create: "Create collection",
|
||||
creating: "Creating",
|
||||
pickerLabel: "Collection",
|
||||
pick: "Choose a collection",
|
||||
},
|
||||
autoIndex: {
|
||||
heading: "Index uploaded PDFs automatically",
|
||||
hint: "Every PDF uploaded to this project is read and indexed into the chosen collection, with page references. Your permission to manage knowledge is checked again for each file.",
|
||||
label: "Collection",
|
||||
off: "Off",
|
||||
submit: "Save",
|
||||
busy: "Saving…",
|
||||
done: "Saved.",
|
||||
},
|
||||
upload: {
|
||||
heading: "Index a document",
|
||||
label: "File",
|
||||
hint: "Plain text, Markdown, JSON or CSV, up to 1 MB.",
|
||||
submit: "Index",
|
||||
busy: "Indexing requested",
|
||||
done: "The document is queued for indexing.",
|
||||
failed: "That did not work: {detail}",
|
||||
},
|
||||
documents: {
|
||||
heading: "Documents",
|
||||
empty: "Nothing is indexed in this collection yet.",
|
||||
file: "File",
|
||||
status: "Status",
|
||||
statusQueued: "Queued",
|
||||
statusIndexing: "Indexing",
|
||||
statusIndexed: "Indexed",
|
||||
statusFailed: "Failed",
|
||||
statusCancelled: "Removed",
|
||||
error: "Error",
|
||||
remove: "Remove {filename}",
|
||||
removeShort: "Remove",
|
||||
},
|
||||
search: {
|
||||
heading: "Search",
|
||||
label: "Question",
|
||||
placeholder: "Ask across the indexed documents",
|
||||
submit: "Search",
|
||||
busy: "Searching",
|
||||
empty: "No answers in this collection.",
|
||||
results: "{count, plural, one {# answer} other {# answers}}",
|
||||
snippet: "Passage",
|
||||
source: "Source",
|
||||
chunk: "result {chunk}",
|
||||
page: "page {page}",
|
||||
score: "relevance {score}",
|
||||
disclosure: "AI-assisted retrieval: answers are ranked by a model and must be checked against the source.",
|
||||
},
|
||||
settings: {
|
||||
heading: "Document AI",
|
||||
state: "State",
|
||||
stateOn: "Enabled",
|
||||
stateOff: "Disabled",
|
||||
backend: "Backend",
|
||||
backendPlatform: "The platform's knowledge service",
|
||||
enable: "Enable document AI",
|
||||
enabling: "Enabling",
|
||||
disable: "Disable",
|
||||
disabling: "Disabling",
|
||||
enabledDone: "Document AI is enabled.",
|
||||
disabledDone: "Document AI is disabled. Collections, documents and the index are preserved.",
|
||||
planRequired: "The organization's plan does not include document AI.",
|
||||
featureDisabled: "Document AI is disabled by platform policy.",
|
||||
quotaExhausted: "The indexing quota is exhausted; try again later.",
|
||||
upgrade: "Upgrade the plan to enable document AI.",
|
||||
hint: "Enabling checks the plan and the rollout flags and records the choice in this organization; the platform's knowledge service keeps the index. Disabling keeps every collection, document and indexed passage.",
|
||||
},
|
||||
} as const
|
||||
Reference in New Issue
Block a user