This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
// 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
|
||||
@@ -0,0 +1,2 @@
|
||||
export { en } from "./en.js"
|
||||
export { lt } from "./lt.js"
|
||||
@@ -0,0 +1,100 @@
|
||||
// Lietuviški knowledge modulio pranešimai. Kiekvienas puslapio tekstas yra raktas čia ir en.ts
|
||||
// faile; `__tests__/i18n.test.ts` žlunga, kai jie skiriasi.
|
||||
|
||||
import type { en } from "./en.js"
|
||||
|
||||
type Messages<T> = { [K in keyof T]: T[K] extends string ? string : Messages<T[K]> }
|
||||
|
||||
export const lt: Messages<typeof en> = {
|
||||
title: "Žinios",
|
||||
intro:
|
||||
"Ieškokite šio projekto dokumentų pagal prasmę. Failai indeksuojami fone; atsakymai nurodo failą ir ištrauką, iš kurios paimti.",
|
||||
status: {
|
||||
heading: "Paslaugos būsena",
|
||||
flagOff: "Žinių paieška šiame projekte išjungta.",
|
||||
state: "Paieškos paslauga",
|
||||
stateReady: "Pasiruošusi",
|
||||
stateIndexing: "Indeksuoja",
|
||||
stateRegistered: "Registruota",
|
||||
stateDegraded: "Nukentėjusi",
|
||||
stateDisabled: "Išjungta politikos",
|
||||
stateUnavailable: "Neprieinama",
|
||||
reasons: "Priežastys",
|
||||
indexing: "Vyksta indeksavimas",
|
||||
documents: "{queued} laukia, {indexing} indeksuojama, {indexed} suindeksuota, {failed} nepavyko",
|
||||
},
|
||||
collections: {
|
||||
heading: "Kolekcijos",
|
||||
empty: "Kolekcijų dar nėra.",
|
||||
name: "Pavadinimas",
|
||||
documents: "Dokumentai",
|
||||
indexed: "Suindeksuota",
|
||||
createHeading: "Nauja kolekcija",
|
||||
nameLabel: "Pavadinimas",
|
||||
nameHint: "Mažosios raidės, skaičiai ir brūkšneliai.",
|
||||
create: "Sukurti kolekciją",
|
||||
creating: "Kuriama",
|
||||
pickerLabel: "Kolekcija",
|
||||
pick: "Pasirinkite kolekciją",
|
||||
},
|
||||
upload: {
|
||||
heading: "Indeksuoti dokumentą",
|
||||
label: "Failas",
|
||||
hint: "Grynasis tekstas, Markdown, JSON arba CSV, iki 1 MB.",
|
||||
submit: "Indeksuoti",
|
||||
busy: "Indeksavimas paprašytas",
|
||||
done: "Dokumentas eilėje indeksavimui.",
|
||||
failed: "Nepavyko: {detail}",
|
||||
},
|
||||
documents: {
|
||||
heading: "Dokumentai",
|
||||
empty: "Šioje kolekcijoje dar nieko suindeksuota.",
|
||||
file: "Failas",
|
||||
status: "Būsena",
|
||||
statusQueued: "Laukia",
|
||||
statusIndexing: "Indeksuojama",
|
||||
statusIndexed: "Suindeksuota",
|
||||
statusFailed: "Nepavyko",
|
||||
statusCancelled: "Pašalinta",
|
||||
error: "Klaida",
|
||||
remove: "Pašalinti: {filename}",
|
||||
removeShort: "Pašalinti",
|
||||
},
|
||||
search: {
|
||||
heading: "Paieška",
|
||||
label: "Klausimas",
|
||||
placeholder: "Klauskite per suindeksuotus dokumentus",
|
||||
submit: "Ieškoti",
|
||||
busy: "Ieškoma",
|
||||
empty: "Šioje kolekcijoje atsakymų nėra.",
|
||||
results: "{count, plural, one {# atsakymas} few {# atsakymai} many {# atsakymo} other {# atsakymų}}",
|
||||
snippet: "Ištrauka",
|
||||
source: "Šaltinis",
|
||||
chunk: "{chunk} ištrauka",
|
||||
score: "atitiktis {score}",
|
||||
disclosure: "Paieška su DI pagalba: atsakymus rikiuoja modelis, juos būtina patikrinti pagal šaltinį.",
|
||||
},
|
||||
settings: {
|
||||
heading: "Dokumentų DI",
|
||||
state: "Būsena",
|
||||
stateOn: "Įjungta",
|
||||
stateOff: "Išjungta",
|
||||
backend: "Backend'as",
|
||||
backendVectors: "Šios programos vektorinė saugykla",
|
||||
source: "Šaltinis",
|
||||
sourceOperator: "Operatoriaus sukonfigūruotas adresas",
|
||||
sourceManaged: "Valdoma paslauga",
|
||||
endpoint: "Adresas",
|
||||
enable: "Įjungti dokumentų DI",
|
||||
enabling: "Įjungiama",
|
||||
disable: "Išjungti",
|
||||
disabling: "Išjungiama",
|
||||
enabledDone: "Dokumentų DI įjungta.",
|
||||
disabledDone: "Dokumentų DI išjungta. Kolekcijos, dokumentai ir vektoriai išsaugoti.",
|
||||
planRequired: "Organizacijos planas dokumentų DI neapima.",
|
||||
featureDisabled: "Dokumentų DI išjungta platformos politikos.",
|
||||
quotaExhausted: "Indeksavimo kvota išsemta; bandykite vėliau.",
|
||||
upgrade: "Atnaujinkite planą, kad įjungtumėte dokumentų DI.",
|
||||
hint: "Įjungdama tikrina planą ir išleidimo požymius, prireikus prijungia valdomą vektorių paslaugą ir įrašo konfigūraciją šioje organizacijoje. Išjungdama viską išsaugo.",
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user