This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
// English messages of the notes 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: "Notes",
|
||||
intro: "Short notes for this project, with files attached. Attached files are kept in the project's file storage.",
|
||||
form: {
|
||||
createHeading: "New note",
|
||||
editHeading: "Edit note",
|
||||
titleLabel: "Title",
|
||||
bodyLabel: "Text",
|
||||
create: "Add note",
|
||||
creating: "Adding",
|
||||
save: "Save changes",
|
||||
saving: "Saving",
|
||||
saved: "Saved.",
|
||||
},
|
||||
list: {
|
||||
caption: "Notes",
|
||||
empty: "No notes yet.",
|
||||
note: "Note",
|
||||
attachments: "Attachments",
|
||||
updated: "Updated",
|
||||
open: "Open {title}",
|
||||
},
|
||||
detail: {
|
||||
back: "All notes",
|
||||
changed: "Last changed {date}",
|
||||
},
|
||||
attachments: {
|
||||
title: "Attachments",
|
||||
count: "{count, plural, one {# attachment} other {# attachments}}",
|
||||
empty: "Nothing is attached.",
|
||||
file: "File",
|
||||
type: "Type",
|
||||
size: "Size",
|
||||
sizeKb: "{size} KB",
|
||||
actions: "Actions",
|
||||
remove: "Remove {filename}",
|
||||
removeShort: "Remove",
|
||||
download: "Download {filename}",
|
||||
off: "Attachments are switched off for this project.",
|
||||
},
|
||||
upload: {
|
||||
label: "Attach a file",
|
||||
hint: "PDF, PNG, JPEG, WebP or plain text, up to 50 MB.",
|
||||
submit: "Attach",
|
||||
busy: "Uploading",
|
||||
done: "Attached.",
|
||||
},
|
||||
delete: {
|
||||
button: "Delete note",
|
||||
confirm: "Delete this note? Attached files stay in the project's files.",
|
||||
yes: "Yes, delete the note",
|
||||
no: "Keep the note",
|
||||
},
|
||||
// kit:guides:begin
|
||||
feedback: {
|
||||
open: "Give feedback",
|
||||
unavailable: "The feedback survey is not available right now.",
|
||||
},
|
||||
// kit:guides:end
|
||||
} as const
|
||||
@@ -0,0 +1,5 @@
|
||||
// The notes module's messages, as the TypeScript objects its manifest declares (`i18n: { en, lt }`).
|
||||
// kit-core's registry carries them and kit-i18n merges them, so nothing outside the module lists them.
|
||||
|
||||
export { en } from "./en.js"
|
||||
export { lt } from "./lt.js"
|
||||
@@ -0,0 +1,67 @@
|
||||
// Lietuviški notes 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: "Užrašai",
|
||||
intro: "Trumpi šio projekto užrašai su prisegtais failais. Prisegti failai saugomi projekto failų saugykloje.",
|
||||
form: {
|
||||
createHeading: "Naujas užrašas",
|
||||
editHeading: "Redaguoti užrašą",
|
||||
titleLabel: "Pavadinimas",
|
||||
bodyLabel: "Tekstas",
|
||||
create: "Pridėti užrašą",
|
||||
creating: "Pridedama",
|
||||
save: "Išsaugoti pakeitimus",
|
||||
saving: "Saugoma",
|
||||
saved: "Išsaugota.",
|
||||
},
|
||||
list: {
|
||||
caption: "Užrašai",
|
||||
empty: "Užrašų dar nėra.",
|
||||
note: "Užrašas",
|
||||
attachments: "Priedai",
|
||||
updated: "Atnaujinta",
|
||||
open: "Atidaryti: {title}",
|
||||
},
|
||||
detail: {
|
||||
back: "Visi užrašai",
|
||||
changed: "Paskutinį kartą pakeista {date}",
|
||||
},
|
||||
attachments: {
|
||||
title: "Priedai",
|
||||
count: "{count, plural, one {# priedas} few {# priedai} other {# priedų}}",
|
||||
empty: "Nieko neprisegta.",
|
||||
file: "Failas",
|
||||
type: "Tipas",
|
||||
size: "Dydis",
|
||||
sizeKb: "{size} KB",
|
||||
actions: "Veiksmai",
|
||||
remove: "Pašalinti: {filename}",
|
||||
removeShort: "Pašalinti",
|
||||
download: "Atsisiųsti: {filename}",
|
||||
off: "Šiame projekte priedai išjungti.",
|
||||
},
|
||||
upload: {
|
||||
label: "Prisegti failą",
|
||||
hint: "PDF, PNG, JPEG, WebP arba paprastas tekstas, iki 50 MB.",
|
||||
submit: "Prisegti",
|
||||
busy: "Keliama",
|
||||
done: "Prisegta.",
|
||||
},
|
||||
delete: {
|
||||
button: "Ištrinti užrašą",
|
||||
confirm: "Ištrinti šį užrašą? Prisegti failai lieka projekto failuose.",
|
||||
yes: "Taip, ištrinti užrašą",
|
||||
no: "Palikti užrašą",
|
||||
},
|
||||
// kit:guides:begin
|
||||
feedback: {
|
||||
open: "Pateikti atsiliepimą",
|
||||
unavailable: "Atsiliepimų apklausa dabar nepasiekiama.",
|
||||
},
|
||||
// kit:guides:end
|
||||
}
|
||||
Reference in New Issue
Block a user