Skip to content

Commit 09b2154

Browse files
committed
feat: hindi language
1 parent 4557a16 commit 09b2154

File tree

5 files changed

+26
-2
lines changed

5 files changed

+26
-2
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ Supported Languages:
114114
* 🇬🇧 **English** - `en`
115115
* 🇷🇺 **Russian** - `ru`
116116
* 🇨🇳 **Chinese** - `zh`
117+
* 🇨🇮 **Hindi** - `hi`
117118

118119
If you haven't found your language, it can easily be added! Use the instructions in the section [contributing](https://mafl.hywax.space/community/contributing.html) on docs.
119120

Diff for: docs/reference/configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Set the desired language with:
2121
lang: ru
2222
```
2323

24-
Values: `en`, `ru`, `zh`
24+
Values: `en`, `ru`, `zh`, `hi`
2525

2626
Default: `en`
2727

Diff for: docs/ru/reference/configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ title: Моя домашняя страница
2121
lang: ru
2222
```
2323

24-
Поддерживаемые значения: `en`, `ru`, `zh`
24+
Поддерживаемые значения: `en`, `ru`, `zh`, `hi`
2525

2626
Значение по умолчанию: `en`
2727

Diff for: locales/hi-IN.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"service": {
3+
4+
},
5+
6+
"error": {
7+
"title": "गलती",
8+
"page404": "पृष्ठ नहीं मिला!",
9+
"description": "उफ़! कोई अप्रत्याशित त्रुटि हुई है",
10+
"action": "दस्तावेज़ीकरण पर जाएँ"
11+
},
12+
13+
"update": {
14+
"message": "एक नया संस्करण उपलब्ध है",
15+
"visit": "पर जाएँ github →"
16+
}
17+
}

Diff for: nuxt.config.ts

+6
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ export default defineNuxtConfig({
8585
name: '中文',
8686
file: 'zh-CN.json',
8787
},
88+
{
89+
code: 'hi',
90+
iso: 'hi-IN',
91+
name: 'हिंदी',
92+
file: 'hi-IN.json',
93+
},
8894
],
8995
strategy: 'no_prefix',
9096
langDir: 'locales',

0 commit comments

Comments
 (0)