feat(i18n): Add Turkish translation

This commit is contained in:
Dillon 2022-06-08 23:38:45 +08:00
parent 4d1f33c66c
commit 1aff6ddbe1
No known key found for this signature in database
GPG key ID: 0EF4AE57FB98F108
5 changed files with 202 additions and 0 deletions

View file

@ -150,6 +150,7 @@ LoveIt supports the following languages:
* Thai * Thai
* Telugu * Telugu
* Indonesian * Indonesian
* Turkish
* [Contribute with a new language](https://github.com/dillonzq/LoveIt/pulls) * [Contribute with a new language](https://github.com/dillonzq/LoveIt/pulls)
[Languages Compatibility](https://hugoloveit.com/theme-documentation-basics/#language-compatibility) [Languages Compatibility](https://hugoloveit.com/theme-documentation-basics/#language-compatibility)

View file

@ -145,6 +145,7 @@ LoveIt 支持下列语言:
* 泰语 * 泰语
* 泰卢固语 * 泰卢固语
* 印尼语 * 印尼语
* 土耳其语
* [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls) * [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls)
[语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility) [语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility)

View file

@ -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): | | 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): | | 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): | | 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 ### 4.2 Basic Configuration

View file

@ -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): | | 泰语 | `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): | | 泰卢固语 | `te` | `te` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
| 印尼语 | `id` | `id` | :(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 基本配置 ### 4.2 基本配置

198
i18n/tr.toml Normal file
View file

@ -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 ===