@@ -0,0 +1,75 @@
|
||||
// English messages of the catalog module. Every string a page of this module shows is a key here and in
|
||||
// lt.ts; `__tests__/i18n.test.ts` fails when the two differ.
|
||||
|
||||
export const en = {
|
||||
title: "Products",
|
||||
intro:
|
||||
"The products your organization sells or buys, from the platform's Catalog service. They are your organization's, shared by every project.",
|
||||
nav: {
|
||||
products: "All products",
|
||||
imports: "Imports",
|
||||
},
|
||||
statuses: {
|
||||
active: "Active",
|
||||
archived: "Archived",
|
||||
deleted: "Deleted",
|
||||
},
|
||||
products: {
|
||||
caption: "Products",
|
||||
empty: "No products yet.",
|
||||
code: "Code",
|
||||
name: "Name",
|
||||
unit: "Unit",
|
||||
status: "Status",
|
||||
open: "Open {name}",
|
||||
search: "Find a product",
|
||||
searchIn: "Look in",
|
||||
byName: "Name",
|
||||
byCode: "Code",
|
||||
byGtin: "GTIN",
|
||||
byErp: "ERP code",
|
||||
searchSubmit: "Find",
|
||||
more: "Show more",
|
||||
},
|
||||
product: {
|
||||
back: "All products",
|
||||
code: "Code",
|
||||
unit: "Unit",
|
||||
status: "Status",
|
||||
group: "Group",
|
||||
description: "Description",
|
||||
revision: "Revision",
|
||||
identifiers: "Identifiers",
|
||||
none: "None",
|
||||
},
|
||||
imports: {
|
||||
title: "Imports",
|
||||
intro: "Each file is applied once, row by row. A row the service refuses is reported and the others stay applied.",
|
||||
count: "{count, plural, one {# import} other {# imports}}",
|
||||
caption: "Imports",
|
||||
empty: "Nothing has been imported yet.",
|
||||
source: "File",
|
||||
status: "Status",
|
||||
created: "Created",
|
||||
updated: "Updated",
|
||||
unchanged: "Unchanged",
|
||||
refused: "Refused",
|
||||
},
|
||||
importForm: {
|
||||
heading: "Import products",
|
||||
file: "CSV file",
|
||||
hint: "A header row with code, name and base_unit; description and revision are optional. Up to 5 MB.",
|
||||
submit: "Import",
|
||||
busy: "Importing",
|
||||
done: "{created} created, {updated} updated, {unchanged} unchanged, {refused} refused.",
|
||||
empty: "The file has no rows.",
|
||||
tooLarge: "The file is larger than 5 MB.",
|
||||
missing: "The file's header lacks: {columns}",
|
||||
refusedCaption: "Refused rows",
|
||||
row: "Row",
|
||||
reason: "Reason",
|
||||
invalidFields: "A field is not valid",
|
||||
conflict: "It conflicts with a product that exists: give the product's revision",
|
||||
notFound: "Something the row names does not exist",
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// The catalog module's messages, as the TypeScript objects its manifest declares (`i18n: { en, lt }`).
|
||||
|
||||
export { en } from "./en.js"
|
||||
export { lt } from "./lt.js"
|
||||
@@ -0,0 +1,80 @@
|
||||
// Lietuviški catalog 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: "Produktai",
|
||||
intro:
|
||||
"Produktai, kuriuos jūsų organizacija parduoda ar perka, iš platformos katalogo paslaugos. Jie priklauso jūsų organizacijai ir yra bendri visiems projektams.",
|
||||
nav: {
|
||||
products: "Visi produktai",
|
||||
imports: "Importai",
|
||||
},
|
||||
statuses: {
|
||||
active: "Aktyvus",
|
||||
archived: "Archyvuotas",
|
||||
deleted: "Ištrintas",
|
||||
},
|
||||
products: {
|
||||
caption: "Produktai",
|
||||
empty: "Produktų dar nėra.",
|
||||
code: "Kodas",
|
||||
name: "Pavadinimas",
|
||||
unit: "Vienetas",
|
||||
status: "Būsena",
|
||||
open: "Atidaryti: {name}",
|
||||
search: "Rasti produktą",
|
||||
searchIn: "Ieškoti pagal",
|
||||
byName: "Pavadinimą",
|
||||
byCode: "Kodą",
|
||||
byGtin: "GTIN",
|
||||
byErp: "ERP kodą",
|
||||
searchSubmit: "Ieškoti",
|
||||
more: "Rodyti daugiau",
|
||||
},
|
||||
product: {
|
||||
back: "Visi produktai",
|
||||
code: "Kodas",
|
||||
unit: "Vienetas",
|
||||
status: "Būsena",
|
||||
group: "Grupė",
|
||||
description: "Aprašymas",
|
||||
revision: "Versija",
|
||||
identifiers: "Identifikatoriai",
|
||||
none: "Nėra",
|
||||
},
|
||||
imports: {
|
||||
title: "Importai",
|
||||
intro:
|
||||
"Kiekvienas failas pritaikomas vieną kartą, eilutė po eilutės. Paslaugos atmesta eilutė parodoma, o kitos lieka pritaikytos.",
|
||||
count: "{count, plural, one {# importas} few {# importai} other {# importų}}",
|
||||
caption: "Importai",
|
||||
empty: "Dar nieko neimportuota.",
|
||||
source: "Failas",
|
||||
status: "Būsena",
|
||||
created: "Sukurta",
|
||||
updated: "Atnaujinta",
|
||||
unchanged: "Nepakeista",
|
||||
refused: "Atmesta",
|
||||
},
|
||||
importForm: {
|
||||
heading: "Importuoti produktus",
|
||||
file: "CSV failas",
|
||||
hint: "Antraštės eilutė su code, name ir base_unit; description ir revision neprivalomi. Iki 5 MB.",
|
||||
submit: "Importuoti",
|
||||
busy: "Importuojama",
|
||||
done: "Sukurta {created}, atnaujinta {updated}, nepakeista {unchanged}, atmesta {refused}.",
|
||||
empty: "Faile nėra eilučių.",
|
||||
tooLarge: "Failas didesnis nei 5 MB.",
|
||||
missing: "Failo antraštėje trūksta: {columns}",
|
||||
refusedCaption: "Atmestos eilutės",
|
||||
row: "Eilutė",
|
||||
reason: "Priežastis",
|
||||
invalidFields: "Netinkamas laukas",
|
||||
conflict: "Prieštarauja esamam produktui: nurodykite produkto versiją",
|
||||
notFound: "Tai, ką eilutė nurodo, neegzistuoja",
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user