@@ -0,0 +1,63 @@
|
||||
// English messages of the inventory 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: "Inventory",
|
||||
intro:
|
||||
"Items and stock from the platform's Inventory service. The items are your organization's catalogue, shared by every project; the reservations below are this project's.",
|
||||
items: {
|
||||
title: "Items",
|
||||
caption: "Items",
|
||||
empty: "No items yet.",
|
||||
sku: "SKU",
|
||||
name: "Name",
|
||||
unit: "Unit",
|
||||
active: "Active",
|
||||
archived: "Archived",
|
||||
open: "Stock of {name}",
|
||||
search: "Find an item",
|
||||
},
|
||||
form: {
|
||||
heading: "New item",
|
||||
sku: "SKU",
|
||||
skuHint: "Letters, digits, dots, dashes and underscores; unique in the organization.",
|
||||
name: "Name",
|
||||
unit: "Unit",
|
||||
unitHint: "Lower-case, such as pcs, kg or m2. It cannot be changed later.",
|
||||
description: "Description",
|
||||
submit: "Add item",
|
||||
busy: "Adding",
|
||||
},
|
||||
item: {
|
||||
back: "All items",
|
||||
unit: "Counted in {unit}",
|
||||
onHand: "On hand",
|
||||
reserved: "Reserved",
|
||||
available: "Available",
|
||||
locations: "{count, plural, one {# location} other {# locations}} with stock",
|
||||
locationsCaption: "Stock by location",
|
||||
location: "Location",
|
||||
none: "There is no stock of this item anywhere.",
|
||||
},
|
||||
reserve: {
|
||||
heading: "Reserve for this project",
|
||||
location: "From location",
|
||||
quantity: "Quantity",
|
||||
submit: "Reserve",
|
||||
busy: "Reserving",
|
||||
nothing: "Nothing is available to reserve.",
|
||||
},
|
||||
reservations: {
|
||||
title: "This project's reservations",
|
||||
caption: "Open reservations of this project",
|
||||
empty: "This project holds no stock.",
|
||||
item: "Item",
|
||||
quantity: "Reserved",
|
||||
outstanding: "Still held",
|
||||
actions: "Actions",
|
||||
release: "Release the stock held of {item}",
|
||||
releaseShort: "Release",
|
||||
releasing: "Releasing",
|
||||
releaseConfirm: "The stock goes back to the location, for anyone to reserve.",
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// The inventory 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,67 @@
|
||||
// Lietuviški inventory 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: "Atsargos",
|
||||
intro:
|
||||
"Prekės ir atsargos iš platformos atsargų paslaugos. Prekės yra jūsų organizacijos katalogas, bendras visiems projektams; žemiau pateikti rezervavimai priklauso šiam projektui.",
|
||||
items: {
|
||||
title: "Prekės",
|
||||
caption: "Prekės",
|
||||
empty: "Prekių dar nėra.",
|
||||
sku: "Prekės kodas",
|
||||
name: "Pavadinimas",
|
||||
unit: "Matas",
|
||||
active: "Aktyvi",
|
||||
archived: "Archyvuota",
|
||||
open: "{name} atsargos",
|
||||
search: "Rasti prekę",
|
||||
},
|
||||
form: {
|
||||
heading: "Nauja prekė",
|
||||
sku: "Prekės kodas",
|
||||
skuHint: "Raidės, skaitmenys, taškai, brūkšneliai ir pabraukimai; unikalus organizacijoje.",
|
||||
name: "Pavadinimas",
|
||||
unit: "Matas",
|
||||
unitHint: "Mažosiomis raidėmis, pvz., pcs, kg arba m2. Vėliau jo pakeisti negalima.",
|
||||
description: "Aprašymas",
|
||||
submit: "Pridėti prekę",
|
||||
busy: "Pridedama",
|
||||
},
|
||||
item: {
|
||||
back: "Visos prekės",
|
||||
unit: "Skaičiuojama: {unit}",
|
||||
onHand: "Turima",
|
||||
reserved: "Rezervuota",
|
||||
available: "Laisva",
|
||||
locations: "{count, plural, one {# vieta} few {# vietos} other {# vietų}} su atsargomis",
|
||||
locationsCaption: "Atsargos pagal vietą",
|
||||
location: "Vieta",
|
||||
none: "Šios prekės atsargų niekur nėra.",
|
||||
},
|
||||
reserve: {
|
||||
heading: "Rezervuoti šiam projektui",
|
||||
location: "Iš vietos",
|
||||
quantity: "Kiekis",
|
||||
submit: "Rezervuoti",
|
||||
busy: "Rezervuojama",
|
||||
nothing: "Nėra ką rezervuoti.",
|
||||
},
|
||||
reservations: {
|
||||
title: "Šio projekto rezervavimai",
|
||||
caption: "Atviri šio projekto rezervavimai",
|
||||
empty: "Šis projektas atsargų nelaiko.",
|
||||
item: "Prekė",
|
||||
quantity: "Rezervuota",
|
||||
outstanding: "Dar laikoma",
|
||||
actions: "Veiksmai",
|
||||
release: "Atleisti laikomas {item} atsargas",
|
||||
releaseShort: "Atleisti",
|
||||
releasing: "Atleidžiama",
|
||||
releaseConfirm: "Atsargos grįžta į vietą, ir jas galės rezervuoti bet kas.",
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user