97 lines
3.4 KiB
TypeScript
97 lines
3.4 KiB
TypeScript
// 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. Files are indexed in the background; answers cite the file and the passage they came from.",
|
|
status: {
|
|
heading: "Service status",
|
|
flagOff: "Knowledge is switched off for this project.",
|
|
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",
|
|
},
|
|
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: "chunk {chunk}",
|
|
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",
|
|
backendVectors: "This app's vector store",
|
|
source: "Source",
|
|
sourceOperator: "Operator-configured endpoint",
|
|
sourceManaged: "Managed service",
|
|
endpoint: "Endpoint",
|
|
enable: "Enable document AI",
|
|
enabling: "Enabling",
|
|
disable: "Disable",
|
|
disabling: "Disabling",
|
|
enabledDone: "Document AI is enabled.",
|
|
disabledDone: "Document AI is disabled. Collections, documents and vectors 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, links a managed vector service when none is configured, and records the configuration in this organization. Disabling keeps every collection, document and vector.",
|
|
},
|
|
} as const
|