From 01943ff5a0f546003ed4b3677d8a3a3ba6c7814c Mon Sep 17 00:00:00 2001
From: Mantvydas Deltuva <mantvydasdeltuva@gmail.com>
Date: Tue, 21 Jan 2025 05:20:02 +0000
Subject: [PATCH] feat(i18n): Lithuanian (#1733)
---
quartz/i18n/index.ts | 2 +
quartz/i18n/locales/lt-LT.ts | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 106 insertions(+), 0 deletions(-)
diff --git a/quartz/i18n/index.ts b/quartz/i18n/index.ts
index 66200ae..7c8996b 100644
--- a/quartz/i18n/index.ts
+++ b/quartz/i18n/index.ts
@@ -23,6 +23,7 @@
import cs from "./locales/cs-CZ"
import tr from "./locales/tr-TR"
import th from "./locales/th-TH"
+import lt from "./locales/lt-LT"
export const TRANSLATIONS = {
"en-US": enUs,
@@ -70,6 +71,7 @@
"cs-CZ": cs,
"tr-TR": tr,
"th-TH": th,
+ "lt-LT": lt,
} as const
export const defaultTranslation = "en-US"
diff --git a/quartz/i18n/locales/lt-LT.ts b/quartz/i18n/locales/lt-LT.ts
new file mode 100644
index 0000000..d48e593
--- /dev/null
+++ b/quartz/i18n/locales/lt-LT.ts
@@ -0,0 +1,104 @@
+import { Translation } from "./definition"
+
+export default {
+ propertyDefaults: {
+ title: "Be Pavadinimo",
+ description: "Aprašymas Nepateiktas",
+ },
+ components: {
+ callout: {
+ note: "Pastaba",
+ abstract: "Santrauka",
+ info: "Informacija",
+ todo: "Darbų sąrašas",
+ tip: "Patarimas",
+ success: "Sėkmingas",
+ question: "Klausimas",
+ warning: "Įspėjimas",
+ failure: "Nesėkmingas",
+ danger: "Pavojus",
+ bug: "Klaida",
+ example: "Pavyzdys",
+ quote: "Citata",
+ },
+ backlinks: {
+ title: "Atgalinės Nuorodos",
+ noBacklinksFound: "Atgalinių Nuorodų Nerasta",
+ },
+ themeToggle: {
+ lightMode: "Šviesus Režimas",
+ darkMode: "Tamsus Režimas",
+ },
+ explorer: {
+ title: "Naršyklė",
+ },
+ footer: {
+ createdWith: "Sukurta Su",
+ },
+ graph: {
+ title: "Grafiko Vaizdas",
+ },
+ recentNotes: {
+ title: "Naujausi Užrašai",
+ seeRemainingMore: ({ remaining }) => `Peržiūrėti dar ${remaining} →`,
+ },
+ transcludes: {
+ transcludeOf: ({ targetSlug }) => `Įterpimas iš ${targetSlug}`,
+ linkToOriginal: "Nuoroda į originalą",
+ },
+ search: {
+ title: "Paieška",
+ searchBarPlaceholder: "Ieškoti",
+ },
+ tableOfContents: {
+ title: "Turinys",
+ },
+ contentMeta: {
+ readingTime: ({ minutes }) => `${minutes} min skaitymo`,
+ },
+ },
+ pages: {
+ rss: {
+ recentNotes: "Naujausi užrašai",
+ lastFewNotes: ({ count }) =>
+ count === 1
+ ? "Paskutinis 1 užrašas"
+ : count < 10
+ ? `Paskutiniai ${count} užrašai`
+ : `Paskutiniai ${count} užrašų`,
+ },
+ error: {
+ title: "Nerasta",
+ notFound:
+ "Arba šis puslapis yra pasiekiamas tik tam tikriems vartotojams, arba tokio puslapio nėra.",
+ home: "Grįžti į pagrindinį puslapį",
+ },
+ folderContent: {
+ folder: "Aplankas",
+ itemsUnderFolder: ({ count }) =>
+ count === 1
+ ? "1 elementas šiame aplanke."
+ : count < 10
+ ? `${count} elementai šiame aplanke.`
+ : `${count} elementų šiame aplanke.`,
+ },
+ tagContent: {
+ tag: "Žyma",
+ tagIndex: "Žymų indeksas",
+ itemsUnderTag: ({ count }) =>
+ count === 1
+ ? "1 elementas su šia žyma."
+ : count < 10
+ ? `${count} elementai su šia žyma.`
+ : `${count} elementų su šia žyma.`,
+ showingFirst: ({ count }) =>
+ count < 10 ? `Rodomos pirmosios ${count} žymos.` : `Rodomos pirmosios ${count} žymų.`,
+ totalTags: ({ count }) =>
+ count === 1
+ ? "Rasta iš viso 1 žyma."
+ : count < 10
+ ? `Rasta iš viso ${count} žymos.`
+ : `Rasta iš viso ${count} žymų.`,
+ },
+ },
+} as const satisfies Translation
--
Gitblit v1.10.0