mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-22 14:56:19 +01:00
Merge pull request #625 from chinkung/th-translation
Added Thai translation
This commit is contained in:
commit
6953a0fd87
5 changed files with 203 additions and 0 deletions
|
@ -143,6 +143,7 @@ LoveIt supports the following languages:
|
|||
* Vietnamese
|
||||
* Arabic
|
||||
* Catalan
|
||||
* Thai
|
||||
* [Contribute with a new language](https://github.com/dillonzq/LoveIt/pulls)
|
||||
|
||||
[Languages Compatibility](https://hugoloveit.com/theme-documentation-basics/#language-compatibility)
|
||||
|
|
|
@ -138,6 +138,7 @@ LoveIt 支持下列语言:
|
|||
* 越南语
|
||||
* 阿拉伯语
|
||||
* 加泰罗尼亚语
|
||||
* 泰语
|
||||
* [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls)
|
||||
|
||||
[语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility)
|
||||
|
|
|
@ -845,6 +845,7 @@ In `assets/css/_custom.scss`, you can add some css style code to customize the s
|
|||
| Vietnamese | `vi` | `vi` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| Arabic | `ar` | `ar` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| Catalan | `ca` | `ca` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
|
||||
| Thai | `th` | `th` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
|
||||
### 4.2 Basic Configuration
|
||||
|
||||
|
|
|
@ -847,6 +847,7 @@ $code-font-family: Fira Mono, Source Code Pro, Menlo, Consolas, Monaco, monospac
|
|||
| 越南语 | `vi` | `vi` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 阿拉伯语 | `ar` | `ar` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
| 加泰罗尼亚语 | `ca` | `ca` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
|
||||
| 泰语 | `th` | `th` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
|
||||
|
||||
### 4.2 基本配置
|
||||
|
||||
|
|
199
i18n/th.toml
Normal file
199
i18n/th.toml
Normal file
|
@ -0,0 +1,199 @@
|
|||
# Translations for Thai
|
||||
# คำแปลภาษาไทย
|
||||
# https://gohugo.io/content-management/multilingual/#translation-of-strings
|
||||
|
||||
# === baseof ==
|
||||
[backToTop]
|
||||
other = "กลับไปด้านบนสุด"
|
||||
|
||||
[viewComments]
|
||||
other = "ดูความคิดเห็น"
|
||||
# === baseof ==
|
||||
|
||||
# === Post ===
|
||||
[posts]
|
||||
other = "โพสต์"
|
||||
# === Post ===
|
||||
|
||||
# === Taxonomy ===
|
||||
[allSome]
|
||||
other = "ทั้งหมด {{ .Some }}"
|
||||
|
||||
[tag]
|
||||
other = "แท็ก"
|
||||
|
||||
[tags]
|
||||
other = "แท็ก"
|
||||
|
||||
[category]
|
||||
other = "หมวดหมู่"
|
||||
|
||||
[categories]
|
||||
other = "หมวดหมู่"
|
||||
# === Taxonomy ===
|
||||
|
||||
# === Pagination ===
|
||||
[more]
|
||||
other = "เพิ่มเติม"
|
||||
# === Pagination ===
|
||||
|
||||
# === partials/header.html ===
|
||||
[selectLanguage]
|
||||
other = "เลือกภาษา"
|
||||
|
||||
[switchTheme]
|
||||
other = "เปลี่ยนธีม"
|
||||
# === partials/header.html ===
|
||||
|
||||
# === partials/footer.html ===
|
||||
[poweredBySome]
|
||||
other = "เว็บนี้สร้างโดย {{ .Hugo }} | ธีม - {{ .Theme }}"
|
||||
# === partials/footer.html ===
|
||||
|
||||
# === partials/comment.html ===
|
||||
[valineLang]
|
||||
other = "th"
|
||||
|
||||
[valinePlaceholder]
|
||||
other = "ความคิดเห็นของคุณ ..."
|
||||
|
||||
[facebookLanguageCode]
|
||||
other = "th_TH"
|
||||
# === partials/comment.html ===
|
||||
|
||||
# === partials/assets.html ===
|
||||
[search]
|
||||
other = "ค้นหา"
|
||||
|
||||
[searchPlaceholder]
|
||||
other = "ค้นหาด้วย 'หัวข้อ' หรือ 'เนื้อหา'..."
|
||||
|
||||
[clear]
|
||||
other = "ล้าง"
|
||||
|
||||
[cancel]
|
||||
other = "ยกเลิก"
|
||||
|
||||
[noResultsFound]
|
||||
other = "ไม่พบเนื้อหา"
|
||||
|
||||
[lunrLanguageCode]
|
||||
other = "th"
|
||||
|
||||
[lunrLanguageLib]
|
||||
other = "lib/lunr/lunr.th.js"
|
||||
|
||||
[copyToClipboard]
|
||||
other = "คัดลอกไปยังคลิปบอร์ด"
|
||||
|
||||
[cookieconsentMessage]
|
||||
other = "เว็บไซต์นี้มีการใช้คุกกี้เพื่อปรับปรุงประสิทธิภาพการแสดงผล."
|
||||
|
||||
[cookieconsentDismiss]
|
||||
other = "เข้าใจแล้ว!"
|
||||
|
||||
[cookieconsentLink]
|
||||
other = "เรียนรู้เพิ่มเติม"
|
||||
# === partials/assets.html ===
|
||||
|
||||
# === partials/plugin/share.html ===
|
||||
[shareOn]
|
||||
other = "แชร์ไปยัง"
|
||||
# === partials/plugin/share.html ===
|
||||
|
||||
# === posts/single.html ===
|
||||
[contents]
|
||||
other = "เนื้อหา"
|
||||
|
||||
[publishedOnDate]
|
||||
other = "เผยแพร่เมื่อวันที่ {{ .Date }}"
|
||||
|
||||
[includedInCategories]
|
||||
other = "เนื้อหานี้อยู่ในกลุ่ม {{ .Categories }}"
|
||||
|
||||
[wordCount]
|
||||
one = "1 คำ"
|
||||
other = "{{ .Count }} คำ"
|
||||
|
||||
[readingTime]
|
||||
one = "1 นาที"
|
||||
other = "{{ .Count }} นาที"
|
||||
|
||||
[views]
|
||||
other = "ครั้ง"
|
||||
|
||||
[author]
|
||||
other = "ผู้เขียน"
|
||||
|
||||
[updatedOnDate]
|
||||
other = "ปรับปรุงล่าสุดเมื่อ {{ .Date }}"
|
||||
|
||||
[readMarkdown]
|
||||
other = "ดูโค้ด Markdown ของหน้านี้"
|
||||
|
||||
[back]
|
||||
other = "กลับ"
|
||||
|
||||
[home]
|
||||
other = "หน้าหลัก"
|
||||
|
||||
[readMore]
|
||||
other = "อ่านเพิ่มเติม"
|
||||
# === posts/single.html ===
|
||||
|
||||
# === 404.html ===
|
||||
[pageNotFound]
|
||||
other = "ไม่พบหน้าที่ค้นหา"
|
||||
|
||||
[pageNotFoundText]
|
||||
other = "เสียใจด้วย! เราไม่พบหน้าที่คุณพยายามค้นหา."
|
||||
# === 404.html ===
|
||||
|
||||
# === shortcodes/admonition.html ===
|
||||
[note]
|
||||
other = "โน๊ต"
|
||||
|
||||
[abstract]
|
||||
other = "บทคัดย่อ"
|
||||
|
||||
[info]
|
||||
other = "ข้อมูล"
|
||||
|
||||
[tip]
|
||||
other = "ทิป"
|
||||
|
||||
[success]
|
||||
other = "สำเร็จ"
|
||||
|
||||
[question]
|
||||
other = "คำถาม"
|
||||
|
||||
[warning]
|
||||
other = "คำเตือน"
|
||||
|
||||
[failure]
|
||||
other = "ล้มเหลว"
|
||||
|
||||
[danger]
|
||||
other = "อันตราย"
|
||||
|
||||
[bug]
|
||||
other = "บั๊ก"
|
||||
|
||||
[example]
|
||||
other = "ตัวอย่าง"
|
||||
|
||||
[quote]
|
||||
other = "อ้างถึง"
|
||||
# === shortcodes/admonition.html ===
|
||||
|
||||
# === shortcodes/version.html ===
|
||||
[new]
|
||||
other = "ใหม่"
|
||||
|
||||
[changed]
|
||||
other = "เปลี่ยนแปลง"
|
||||
|
||||
[deleted]
|
||||
other = "ลบ"
|
||||
# === shortcodes/version.html ===
|
Loading…
Reference in a new issue