Compare commits

..

3 Commits

Author SHA1 Message Date
Louis Lam
69e0f77830 Avoid multiple commands at the same for a stack 2023-11-26 17:29:53 +08:00
Louis Lam
16cdaa8ed5 Enable back socket.io polling 2023-11-26 17:28:53 +08:00
Louis Lam
5d33c474ec Downgrade from Node.js 20 to Node.js 18.17.1 2023-11-26 17:28:29 +08:00
4 changed files with 13 additions and 31 deletions

View File

@@ -2,18 +2,13 @@
A simple guide on how to translate `Dockge` in your native language. A simple guide on how to translate `Dockge` in your native language.
## How to Translate
(11-26-2023) Updated
1. Go to <https://weblate.kuma.pet>
2. Register an account on Weblate
3. Make sure your GitHub email is matched with Weblate's account, so that it could show you as a contributor on GitHub
4. Choose your language on Weblate and start translating.
## How to add a new language in the dropdown ## How to add a new language in the dropdown
1. Add your Language at <https://weblate.kuma.pet/projects/dockge/dockge/>. (11-21-2023) Updated
2. Find the language code (You can find it at the end of the URL)
1. Add your Language at `frontend/src/lang/` by creating a new file with your language Code, format: `zh-TW.json` .
2. Copy the content from `en.json` and make translations from that.
3. Add your language at the end of `languageList` in `frontend/src/i18n.ts`, format: `"zh-TW": "繁體中文 (台灣)"`, 3. Add your language at the end of `languageList` in `frontend/src/i18n.ts`, format: `"zh-TW": "繁體中文 (台灣)"`,
4. Commit to new branch and make a new Pull Request for me to approve. 4. Commit to new branch and make a new Pull Request for me to approve.
*Note:* Currently we are only accepting one Pull Request per Language Translate.

View File

@@ -90,13 +90,5 @@
"Allowed commands:": "اجازت شدہ احکامات:", "Allowed commands:": "اجازت شدہ احکامات:",
"Internal Networks": "اندرونی نیٹ ورکس", "Internal Networks": "اندرونی نیٹ ورکس",
"External Networks": "بیرونی نیٹ ورکس", "External Networks": "بیرونی نیٹ ورکس",
"No External Networks": "کوئی بیرونی نیٹ ورک نہیں", "No External Networks": "کوئی بیرونی نیٹ ورک نہیں"
"reverseProxyMsg1": "ایک ریورس پراکسی کا استعمال کرتے ہوئے؟",
"Cannot connect to the socket server.": "ساکٹ سرور سے منسلک نہیں ہو سکتا۔",
"reconnecting...": "دوبارہ منسلک ہو رہا ہے...",
"connecting...": "ساکٹ سرور سے منسلک ہو رہا ہے...",
"url": "یو آر ایل | یو آر ایل",
"extra": "اضافی",
"downStack": "اسٹاپ اینڈ ڈاؤن",
"reverseProxyMsg2": "اسے WebSocket کے لیے ترتیب دینے کا طریقہ چیک کریں"
} }

View File

@@ -90,10 +90,5 @@
"Allowed commands:": "允许使用的指令:", "Allowed commands:": "允许使用的指令:",
"Internal Networks": "内部网络", "Internal Networks": "内部网络",
"External Networks": "外部网络", "External Networks": "外部网络",
"No External Networks": "无外部网络", "No External Networks": "无外部网络"
"reconnecting...": "重连中...",
"reverseProxyMsg2": "检查如何配置WebSocket",
"reverseProxyMsg1": "正在使用反向代理?",
"connecting...": "正在连接到socket服务器...",
"Cannot connect to the socket server.": "无法连接到socket服务器。"
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "dockge", "name": "dockge",
"version": "1.2.0", "version": "1.1.1",
"type": "module", "type": "module",
"engines": { "engines": {
"node": ">= 18.0.0 && <= 18.17.1" "node": ">= 18.0.0 && <= 18.17.1"