Skip to content

Commit 5428442

Browse files
authored
feat(lang): Add Urdu Locale (#6444)
1 parent 020f280 commit 5428442

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

Diff for: src/node/i18n/index.ts

+5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ import i18next, { init } from "i18next"
22
import * as en from "./locales/en.json"
33
import * as ja from "./locales/ja.json"
44
import * as th from "./locales/th.json"
5+
import * as ur from "./locales/ur.json"
56
import * as zhCn from "./locales/zh-cn.json"
7+
68
init({
79
lng: "en",
810
fallbackLng: "en", // language to use if translations in user language are not available.
@@ -22,6 +24,9 @@ init({
2224
ja: {
2325
translation: ja,
2426
},
27+
ur: {
28+
translation: ur,
29+
},
2530
},
2631
})
2732

Diff for: src/node/i18n/locales/ur.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"LOGIN_TITLE": "{{app}} لاگ ان کریں",
3+
"LOGIN_BELOW": "براہ کرم نیچے لاگ ان کریں۔",
4+
"WELCOME": "میں خوش آمدید {{app}}",
5+
"LOGIN_PASSWORD": "پاس ورڈ کے لیے {{configFile}} پر کنفگ فائل چیک کریں۔",
6+
"LOGIN_USING_ENV_PASSWORD": "پاس ورڈ $PASSWORD سے سیٹ کیا گیا تھا۔",
7+
"LOGIN_USING_HASHED_PASSWORD": "پاس ورڈ $HASHED_PASSWORD سے سیٹ کیا گیا تھا۔",
8+
"SUBMIT": "جمع کرائیں",
9+
"PASSWORD_PLACEHOLDER": "پاس ورڈ",
10+
"LOGIN_RATE_LIMIT": "لاگ ان کی شرح محدود!",
11+
"MISS_PASSWORD": "پاس ورڈ غائب ہے۔",
12+
"INCORRECT_PASSWORD": "غلط پاس ورڈ"
13+
}

0 commit comments

Comments
 (0)