Skip to content

Commit

Permalink
feat(i18n): add Hindi translation
Browse files Browse the repository at this point in the history
Added Hindi Translation (hi.toml)
  • Loading branch information
dillonzq authored Jul 7, 2022
2 parents a042ed5 + 1eb5f99 commit e4e7348
Show file tree
Hide file tree
Showing 5 changed files with 203 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ LoveIt supports the following languages:
* Indonesian
* Turkish
* Korean
* Hindi
* [Contribute with a new language](https://github.com/dillonzq/LoveIt/pulls)

[Languages Compatibility](https://hugoloveit.com/theme-documentation-basics/#language-compatibility)
Expand Down
1 change: 1 addition & 0 deletions README.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ LoveIt 支持下列语言:
* 印尼语
* 土耳其语
* 韩语
* 印地语
* [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls)

[语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,7 @@ In `assets/css/_custom.scss`, you can add some css style code to customize the s
| 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): |
| Korean | `ko` | `ko` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
| Hindi | `hi` | `hi` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |

### 4.2 Basic Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,7 @@ $code-font-family: Fira Mono, Source Code Pro, Menlo, Consolas, Monaco, monospac
| 印尼语 | `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): |
| 韩语 | `ko` | `ko` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
| 印地语 | `hi` | `hi` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |

### 4.2 基本配置

Expand Down
199 changes: 199 additions & 0 deletions i18n/hi.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
# Translations for Hindi
# हिंदी में अनुवाद
# 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 = "en"

[valinePlaceholder]
other = "आपकी टिप्पणी ..."

[facebookLanguageCode]
other = "hi_IN"

[giscusLang]
other = "en"
# === partials/comment.html ===

# === partials/assets.html ===
[search]
other = "खोज"

[searchPlaceholder]
other = "शीर्षक या सामग्री खोजें..."

[clear]
other = "साफ़"

[cancel]
other = "रद्द करना"

[noResultsFound]
other = "कोई परिणाम नहीं मिला"

[lunrLanguageCode]
other = "hi"

[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 = "एक शब्द"
other = "{{ .Count }} शब्द"

[readingTime]
one = "एक मिनट"
other = "{{ .Count }} मिनट"

[views]
other = "दर्शकों"

[author]
other = "रचयिता"

[updatedOnDate]
other = "संशोधित किया गया {{ .Date }}"

[readMarkdown]
other = "मार्कडाउन पढ़ें"

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

0 comments on commit e4e7348

Please sign in to comment.