From a53772bbd1dd2804872ae0e519bedeb2a2fd4287 Mon Sep 17 00:00:00 2001
From: Osman Tunahan ARIKAN <154083945+OsmanTunahan@users.noreply.github.com>
Date: Wed, 30 Oct 2024 22:33:22 +0000
Subject: [PATCH] feat(i18n): add turkish language (#1554)
---
quartz/i18n/locales/tr-TR.ts | 84 ++++++++++++++++++++++++++++++++++++++++++
quartz/i18n/index.ts | 2 +
2 files changed, 86 insertions(+), 0 deletions(-)
diff --git a/quartz/i18n/index.ts b/quartz/i18n/index.ts
index 2fba70e..f328ada 100644
--- a/quartz/i18n/index.ts
+++ b/quartz/i18n/index.ts
@@ -20,6 +20,7 @@
import fa from "./locales/fa-IR"
import pl from "./locales/pl-PL"
import cs from "./locales/cs-CZ"
+import tr from "./locales/tr-TR"
export const TRANSLATIONS = {
"en-US": enUs,
@@ -64,6 +65,7 @@
"fa-IR": fa,
"pl-PL": pl,
"cs-CZ": cs,
+ "tr-TR": tr,
} as const
export const defaultTranslation = "en-US"
diff --git a/quartz/i18n/locales/tr-TR.ts b/quartz/i18n/locales/tr-TR.ts
new file mode 100644
index 0000000..a3805d1
--- /dev/null
+++ b/quartz/i18n/locales/tr-TR.ts
@@ -0,0 +1,84 @@
+import { Translation } from "./definition"
+
+export default {
+ propertyDefaults: {
+ title: "İsimsiz",
+ description: "Herhangi bir açıklama eklenmedi",
+ },
+ components: {
+ callout: {
+ note: "Not",
+ abstract: "Özet",
+ info: "Bilgi",
+ todo: "Yapılacaklar",
+ tip: "İpucu",
+ success: "Başarılı",
+ question: "Soru",
+ warning: "Uyarı",
+ failure: "Başarısız",
+ danger: "Tehlike",
+ bug: "Hata",
+ example: "Örnek",
+ quote: "Alıntı",
+ },
+ backlinks: {
+ title: "Backlinkler",
+ noBacklinksFound: "Backlink bulunamadı",
+ },
+ themeToggle: {
+ lightMode: "Açık mod",
+ darkMode: "Koyu mod",
+ },
+ explorer: {
+ title: "Gezgin",
+ },
+ footer: {
+ createdWith: "Şununla oluşturuldu",
+ },
+ graph: {
+ title: "Grafik Görünümü",
+ },
+ recentNotes: {
+ title: "Son Notlar",
+ seeRemainingMore: ({ remaining }) => `${remaining} tane daha gör →`,
+ },
+ transcludes: {
+ transcludeOf: ({ targetSlug }) => `${targetSlug} sayfasından alıntı`,
+ linkToOriginal: "Orijinal bağlantı",
+ },
+ search: {
+ title: "Arama",
+ searchBarPlaceholder: "Bir şey arayın",
+ },
+ tableOfContents: {
+ title: "İçindekiler",
+ },
+ contentMeta: {
+ readingTime: ({ minutes }) => `${minutes} dakika okuma süresi`,
+ },
+ },
+ pages: {
+ rss: {
+ recentNotes: "Son notlar",
+ lastFewNotes: ({ count }) => `Son ${count} not`,
+ },
+ error: {
+ title: "Bulunamadı",
+ notFound: "Bu sayfa ya özel ya da mevcut değil.",
+ home: "Anasayfaya geri dön",
+ },
+ folderContent: {
+ folder: "Klasör",
+ itemsUnderFolder: ({ count }) =>
+ count === 1 ? "Bu klasör altında 1 öğe." : `Bu klasör altındaki ${count} öğe.`,
+ },
+ tagContent: {
+ tag: "Etiket",
+ tagIndex: "Etiket Sırası",
+ itemsUnderTag: ({ count }) =>
+ count === 1 ? "Bu etikete sahip 1 öğe." : `Bu etiket altındaki ${count} öğe.`,
+ showingFirst: ({ count }) => `İlk ${count} etiket gösteriliyor.`,
+ totalTags: ({ count }) => `Toplam ${count} adet etiket bulundu.`,
+ },
+ },
+} as const satisfies Translation
--
Gitblit v1.10.0