From 6efc4dd724870c9e4fbc2e17651cc2a4f943c4a7 Mon Sep 17 00:00:00 2001
From: Kun-Szabó Kristóf <kunszabokristof.notifications@gmail.com>
Date: Sun, 24 Mar 2024 16:35:07 +0000
Subject: [PATCH] i18n: add Hungarian translations (#1023)
---
quartz/i18n/index.ts | 2 +
quartz/i18n/locales/hu-HU.ts | 81 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 83 insertions(+), 0 deletions(-)
diff --git a/quartz/i18n/index.ts b/quartz/i18n/index.ts
index b97368d..5365009 100644
--- a/quartz/i18n/index.ts
+++ b/quartz/i18n/index.ts
@@ -13,6 +13,7 @@
import ko from "./locales/ko-KR"
import zh from "./locales/zh-CN"
import vi from "./locales/vi-VN"
+import hu from "./locales/hu-HU"
export const TRANSLATIONS = {
"en-US": en,
@@ -50,6 +51,7 @@
"ko-KR": ko,
"zh-CN": zh,
"vi-VN": vi,
+ "hu-HU": hu,
} as const
export const defaultTranslation = "en-US"
diff --git a/quartz/i18n/locales/hu-HU.ts b/quartz/i18n/locales/hu-HU.ts
new file mode 100644
index 0000000..6397309
--- /dev/null
+++ b/quartz/i18n/locales/hu-HU.ts
@@ -0,0 +1,81 @@
+import { Translation } from "./definition"
+
+export default {
+ propertyDefaults: {
+ title: "Névtelen",
+ description: "Nincs leírás",
+ },
+ components: {
+ callout: {
+ note: "Jegyzet",
+ abstract: "Abstract",
+ info: "Információ",
+ todo: "Tennivaló",
+ tip: "Tipp",
+ success: "Siker",
+ question: "Kérdés",
+ warning: "Figyelmeztetés",
+ failure: "Hiba",
+ danger: "Veszély",
+ bug: "Bug",
+ example: "Példa",
+ quote: "Idézet",
+ },
+ backlinks: {
+ title: "Visszautalások",
+ noBacklinksFound: "Nincs visszautalás",
+ },
+ themeToggle: {
+ lightMode: "Világos mód",
+ darkMode: "Sötét mód",
+ },
+ explorer: {
+ title: "Fájlböngésző",
+ },
+ footer: {
+ createdWith: "Készítve ezzel:",
+ },
+ graph: {
+ title: "Grafikonnézet",
+ },
+ recentNotes: {
+ title: "Legutóbbi jegyzetek",
+ seeRemainingMore: ({ remaining }) => `${remaining} további megtekintése →`,
+ },
+ transcludes: {
+ transcludeOf: ({ targetSlug }) => `${targetSlug} áthivatkozása`,
+ linkToOriginal: "Hivatkozás az eredetire",
+ },
+ search: {
+ title: "Keresés",
+ searchBarPlaceholder: "Keress valamire",
+ },
+ tableOfContents: {
+ title: "Tartalomjegyzék",
+ },
+ contentMeta: {
+ readingTime: ({ minutes }) => `${minutes} perces olvasás`,
+ },
+ },
+ pages: {
+ rss: {
+ recentNotes: "Legutóbbi jegyzetek",
+ lastFewNotes: ({ count }) => `Legutóbbi ${count} jegyzet`,
+ },
+ error: {
+ title: "Nem található",
+ notFound: "Ez a lap vagy privát vagy nem létezik.",
+ },
+ folderContent: {
+ folder: "Mappa",
+ itemsUnderFolder: ({ count }) => `Ebben a mappában ${count} elem található.`,
+ },
+ tagContent: {
+ tag: "Címke",
+ tagIndex: "Címke index",
+ itemsUnderTag: ({ count }) => `${count} elem található ezzel a címkével.`,
+ showingFirst: ({ count }) => `Első ${count} címke megjelenítve.`,
+ totalTags: ({ count }) => `Összesen ${count} címke található.`,
+ },
+ },
+} as const satisfies Translation
--
Gitblit v1.10.0