From 1aff6ddbe1966b674d3f2bfa143070e5369e6314 Mon Sep 17 00:00:00 2001 From: Dillon Date: Wed, 8 Jun 2022 23:38:45 +0800 Subject: [PATCH] feat(i18n): Add Turkish translation --- README.md | 1 + README.zh-cn.md | 1 + .../theme-documentation-basics/index.en.md | 1 + .../theme-documentation-basics/index.zh-cn.md | 1 + i18n/tr.toml | 198 ++++++++++++++++++ 5 files changed, 202 insertions(+) create mode 100644 i18n/tr.toml diff --git a/README.md b/README.md index dcc9e6f4..b98a750f 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,7 @@ LoveIt supports the following languages: * Thai * Telugu * Indonesian +* Turkish * [Contribute with a new language](https://github.com/dillonzq/LoveIt/pulls) [Languages Compatibility](https://hugoloveit.com/theme-documentation-basics/#language-compatibility) diff --git a/README.zh-cn.md b/README.zh-cn.md index d1990358..ccf0d097 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -145,6 +145,7 @@ LoveIt 支持下列语言: * 泰语 * 泰卢固语 * 印尼语 +* 土耳其语 * [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls) [语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility) diff --git a/exampleSite/content/posts/theme-documentation-basics/index.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md index eb3b1601..a00df505 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.en.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md @@ -927,6 +927,7 @@ In `assets/css/_custom.scss`, you can add some css style code to customize the s | Thai | `th` | `th` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | | Telugu | `te` | `te` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | | Indonesian | `id` | `id` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | +| Turkish | `tr` | `tr` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | ### 4.2 Basic Configuration diff --git a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md index c78985da..9031994b 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md @@ -931,6 +931,7 @@ $code-font-family: Fira Mono, Source Code Pro, Menlo, Consolas, Monaco, monospac | 泰语 | `th` | `th` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | | 泰卢固语 | `te` | `te` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | | 印尼语 | `id` | `id` | :(far fa-square fa-fw): | :(far fa-square fa-fw): | +| 土耳其语 | `tr` | `tr` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): | ### 4.2 基本配置 diff --git a/i18n/tr.toml b/i18n/tr.toml new file mode 100644 index 00000000..129d114e --- /dev/null +++ b/i18n/tr.toml @@ -0,0 +1,198 @@ +# Translations for Turkish +# https://gohugo.io/content-management/multilingual/#translation-of-strings + +# === baseof == +[backToTop] +other = "Başa Dön" + +[viewComments] +other = "Yorumları Gör" +# === baseof == + +# === Post === +[posts] +other = "İçerikler" +# === Post === + +# === Taxonomy === +[allSome] +other = "All {{ .Some }}" + +[tag] +other = "Etiket" + +[tags] +other = "Etiketler" + +[category] +other = "Kategori" + +[categories] +other = "Kategoriler" +# === Taxonomy === + +# === Pagination === +[more] +other = "Daha fazla" +# === Pagination === + +# === partials/header.html === +[selectLanguage] +other = "Dil Seç" + +[switchTheme] +other = "Switch Theme" +# === partials/header.html === + +# === partials/footer.html === +[poweredBySome] +other = "{{ .Hugo }} ile yapıldı | Tema - {{ .Theme }}" +# === partials/footer.html === + +# === partials/comment.html === +[valineLang] +other = "en" + +[valinePlaceholder] +other = "Yorumun..." + +[facebookLanguageCode] +other = "tr_TR" + +[giscusLang] +other = "tr" +# === partials/comment.html === + +# === partials/assets.html === +[search] +other = "Arama" + +[searchPlaceholder] +other = "Başlık yada içerik arama..." + +[clear] +other = "Temizle" + +[cancel] +other = "İptal" + +[noResultsFound] +other = "Sonuç bulunamadı" + +[lunrLanguageCode] +other = "tr" + +[copyToClipboard] +other = "Panoya kopyala" + +[cookieconsentMessage] +other = "Bu websitesi deneyiminizi iyileştirmek için çerezleri kullanmaktadır." + +[cookieconsentDismiss] +other = "Anladım!" + +[cookieconsentLink] +other = "Daha fazla öğren" +# === partials/assets.html === + +# === partials/plugin/share.html === +[shareOn] +other = "Şurada Paylaş" +# === partials/plugin/share.html === + +# === posts/single.html === +[contents] +other = "İçerikler" + +[publishedOnDate] +other = "{{ .Date }} tarihinde paylaşıldı" + +[includedInCategories] +other = "{{ .Categories }} kategorileri içinde" + +[wordCount] +one = "Bir kelime" +other = "{{ .Count }} kelime" + +[readingTime] +one = "One minute" +other = "{{ .Count }} minutes" + +[views] +other = "görüntülenme" + +[author] +other = "Yazar" + +[updatedOnDate] +other = "{{ .Date }} tarihinde güncellendi" + +[readMarkdown] +other = "Markdown Oku" + +[back] +other = "Geri" + +[home] +other = "Anasayfa" + +[readMore] +other = "Daha fazla oku" +# === posts/single.html === + +# === 404.html === +[pageNotFound] +other = "Sayfa Bulunamadı" + +[pageNotFoundText] +other = "Aradığınız sayfa bulunamadı. Üzgünüz." +# === 404.html === + +# === shortcodes/admonition.html === +[note] +other = "Not" + +[abstract] +other = "Öz" + +[info] +other = "Bilgi" + +[tip] +other = "İpucu" + +[success] +other = "Başarılı" + +[question] +other = "Soru" + +[warning] +other = "Uyarı" + +[failure] +other = "Başarısız" + +[danger] +other = "Tehlike" + +[bug] +other = "Hata" + +[example] +other = "Örnek" + +[quote] +other = "Alıntı" +# === shortcodes/admonition.html === + +# === shortcodes/version.html === +[new] +other = "YENİ" + +[changed] +other = "DEĞİŞTİRİLDİ" + +[deleted] +other = "SİLİNDİ" +# === shortcodes/version.html ===