mirror of
https://github.com/coder/code-server.git
synced 2026-05-08 13:27:25 +02:00
Compare commits
2 Commits
v4.17.0-rc
...
v4.17.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5428442628 | ||
|
|
020f280458 |
@@ -279,6 +279,7 @@ brew services start code-server
|
|||||||
# outside the container.
|
# outside the container.
|
||||||
mkdir -p ~/.config
|
mkdir -p ~/.config
|
||||||
docker run -it --name code-server -p 127.0.0.1:8080:8080 \
|
docker run -it --name code-server -p 127.0.0.1:8080:8080 \
|
||||||
|
-v "$HOME/.local:/home/coder/.local" \
|
||||||
-v "$HOME/.config:/home/coder/.config" \
|
-v "$HOME/.config:/home/coder/.config" \
|
||||||
-v "$PWD:/home/coder/project" \
|
-v "$PWD:/home/coder/project" \
|
||||||
-u "$(id -u):$(id -g)" \
|
-u "$(id -u):$(id -g)" \
|
||||||
|
|||||||
@@ -2,7 +2,9 @@ import i18next, { init } from "i18next"
|
|||||||
import * as en from "./locales/en.json"
|
import * as en from "./locales/en.json"
|
||||||
import * as ja from "./locales/ja.json"
|
import * as ja from "./locales/ja.json"
|
||||||
import * as th from "./locales/th.json"
|
import * as th from "./locales/th.json"
|
||||||
|
import * as ur from "./locales/ur.json"
|
||||||
import * as zhCn from "./locales/zh-cn.json"
|
import * as zhCn from "./locales/zh-cn.json"
|
||||||
|
|
||||||
init({
|
init({
|
||||||
lng: "en",
|
lng: "en",
|
||||||
fallbackLng: "en", // language to use if translations in user language are not available.
|
fallbackLng: "en", // language to use if translations in user language are not available.
|
||||||
@@ -22,6 +24,9 @@ init({
|
|||||||
ja: {
|
ja: {
|
||||||
translation: ja,
|
translation: ja,
|
||||||
},
|
},
|
||||||
|
ur: {
|
||||||
|
translation: ur,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
13
src/node/i18n/locales/ur.json
Normal file
13
src/node/i18n/locales/ur.json
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"LOGIN_TITLE": "{{app}} لاگ ان کریں",
|
||||||
|
"LOGIN_BELOW": "براہ کرم نیچے لاگ ان کریں۔",
|
||||||
|
"WELCOME": "میں خوش آمدید {{app}}",
|
||||||
|
"LOGIN_PASSWORD": "پاس ورڈ کے لیے {{configFile}} پر کنفگ فائل چیک کریں۔",
|
||||||
|
"LOGIN_USING_ENV_PASSWORD": "پاس ورڈ $PASSWORD سے سیٹ کیا گیا تھا۔",
|
||||||
|
"LOGIN_USING_HASHED_PASSWORD": "پاس ورڈ $HASHED_PASSWORD سے سیٹ کیا گیا تھا۔",
|
||||||
|
"SUBMIT": "جمع کرائیں",
|
||||||
|
"PASSWORD_PLACEHOLDER": "پاس ورڈ",
|
||||||
|
"LOGIN_RATE_LIMIT": "لاگ ان کی شرح محدود!",
|
||||||
|
"MISS_PASSWORD": "پاس ورڈ غائب ہے۔",
|
||||||
|
"INCORRECT_PASSWORD": "غلط پاس ورڈ"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user