Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-04-01 16:49:01 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-04-01 16:49:01 +0300
commit87acb81496fd2aacb282460e95da05a89dc9a0e1 (patch)
tree17fc489b82d8e3af8f9030532139920450b8e53f /web
parent16be454f6d3066acb3ede30270de56f63de1b973 (diff)
translate improve
Diffstat (limited to 'web')
-rw-r--r--web/html/xui/form/client.html14
-rw-r--r--web/html/xui/form/protocol/trojan.html8
-rw-r--r--web/html/xui/form/protocol/vless.html8
-rw-r--r--web/html/xui/form/protocol/vmess.html8
-rw-r--r--web/translation/translate.en_US.toml9
-rw-r--r--web/translation/translate.fa_IR.toml28
-rw-r--r--web/translation/translate.zh_Hans.toml7
7 files changed, 51 insertions, 31 deletions
diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html
index fac830e2..288fb0ef 100644
--- a/web/html/xui/form/client.html
+++ b/web/html/xui/form/client.html
@@ -5,10 +5,10 @@
</template>
<a-form-item>
<span slot="label">
- Email
+ <span>{{ i18n "pages.inbounds.Email" }}</span>
<a-tooltip>
<template slot="title">
- The Email Must Be Completely Unique
+ <span>{{ i18n "pages.inbounds.EmailDesc" }}</span>
</template>
<a-icon type="sync" @click="getNewEmail(client)"></a-icon>
</a-tooltip>
@@ -26,10 +26,10 @@
</a-form-item>
<a-form-item>
<span slot="label">
- IP Count Limit
+ <span>{{ i18n "pages.inbounds.IPLimit" }}</span>
<a-tooltip>
<template slot="title">
- Disable inbound if more than entered count (0 for disable limit ip)
+ <span>{{ i18n "pages.inbounds.IPLimitDesc" }}</span>
</template>
<a-icon type="question-circle" theme="filled"></a-icon>
</a-tooltip>
@@ -38,16 +38,16 @@
</a-form-item>
<a-form-item v-if="client.email && client.limitIp > 0 && isEdit">
<span slot="label">
- IP Log
+ <span>{{ i18n "pages.inbounds.IPLimitlog" }}</span>
<a-tooltip>
<template slot="title">
- IPs history Log (before enabling inbound after it has been disabled by IP limit, you should clear the log)
+ <span>{{ i18n "pages.inbounds.IPLimitlogDesc" }}</span>
</template>
<a-icon type="question-circle" theme="filled"></a-icon>
</a-tooltip>
<a-tooltip>
<template slot="title">
- Clear The Log
+ <span>{{ i18n "pages.inbounds.IPLimitlogclear" }}</span>
</template>
<span style="color: #FF4D4F">
<a-icon type="delete" @click="clearDBClientIps(client.email)"></a-icon>
diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html
index 70286735..c0694d25 100644
--- a/web/html/xui/form/protocol/trojan.html
+++ b/web/html/xui/form/protocol/trojan.html
@@ -5,10 +5,10 @@
<a-form layout="inline">
<a-form-item>
<span slot="label">
- Email
+ <span>{{ i18n "pages.inbounds.Email" }}</span>
<a-tooltip>
<template slot="title">
- The Email Must Be Completely Unique
+ <span>{{ i18n "pages.inbounds.EmailDesc" }}</span>
</template>
<a-icon @click="getNewEmail(client)" type="sync"> </a-icon>
</a-tooltip>
@@ -21,10 +21,10 @@
</a-form-item>
<a-form-item>
<span slot="label">
- IP Count Limit
+ <span>{{ i18n "pages.inbounds.IPLimit" }}</span>
<a-tooltip>
<template slot="title">
- disable inbound if more than entered count (0 for disable limit ip)
+ <span>{{ i18n "pages.inbounds.IPLimitDesc" }}</span>
</template>
<a-icon type="question-circle" theme="filled"></a-icon>
</a-tooltip>
diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html
index 91691e93..7dfc5402 100644
--- a/web/html/xui/form/protocol/vless.html
+++ b/web/html/xui/form/protocol/vless.html
@@ -5,10 +5,10 @@
<a-form layout="inline">
<a-form-item>
<span slot="label">
- Email
+ <span>{{ i18n "pages.inbounds.Email" }}</span>
<a-tooltip>
<template slot="title">
- The Email Must Be Completely Unique
+ <span>{{ i18n "pages.inbounds.EmailDesc" }}</span>
</template>
<a-icon type="sync" @click="getNewEmail(client)"></a-icon>
</a-tooltip>
@@ -21,10 +21,10 @@
</a-form-item>
<a-form-item>
<span slot="label">
- IP Count Limit
+ <span>{{ i18n "pages.inbounds.IPLimit" }}</span>
<a-tooltip>
<template slot="title">
- disable inbound if more than entered count (0 for disable limit ip)
+ <span>{{ i18n "pages.inbounds.IPLimitDesc" }}</span>
</template>
<a-icon type="question-circle" theme="filled"></a-icon>
</a-tooltip>
diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html
index 59cf6d2b..d425e080 100644
--- a/web/html/xui/form/protocol/vmess.html
+++ b/web/html/xui/form/protocol/vmess.html
@@ -5,10 +5,10 @@
<a-form layout="inline">
<a-form-item>
<span slot="label">
- Email
+ <span>{{ i18n "pages.inbounds.Email" }}</span>
<a-tooltip>
<template slot="title">
- The Email Must Be Completely Unique
+ <span>{{ i18n "pages.inbounds.EmailDesc" }}</span>
</template>
<a-icon type="sync" @click="getNewEmail(client)"></a-icon>
</a-tooltip>
@@ -24,10 +24,10 @@
</a-form-item>
<a-form-item>
<span slot="label">
- IP Count Limit
+ <span>{{ i18n "pages.inbounds.IPLimit" }}</span>
<a-tooltip>
<template slot="title">
- Disable inbound if more than entered count (0 for disable limit ip)
+ <span>{{ i18n "pages.inbounds.IPLimitDesc" }}</span>
</template>
<a-icon type="question-circle" theme="filled"></a-icon>
</a-tooltip>
diff --git a/web/translation/translate.en_US.toml b/web/translation/translate.en_US.toml
index c40c5da1..e2975975 100644
--- a/web/translation/translate.en_US.toml
+++ b/web/translation/translate.en_US.toml
@@ -138,6 +138,13 @@
"resetAllTrafficContent" = "Are you sure to reset all inbounds traffic ?"
"resetAllTrafficOkText" = "Confirm"
"resetAllTrafficCancelText" = "Cancel"
+"IPLimit" = "IP Limit"
+"IPLimitDesc" = "disable inbound if more than entered count (0 for disable limit ip)"
+"Email" = "Email"
+"EmailDesc" = "The Email Must Be Completely Unique"
+"IPLimitlog" = "IP Log"
+"IPLimitlogDesc" = "IPs history Log (before enabling inbound after it has been disabled by IP limit, you should clear the log)"
+"IPLimitlogclear" = "Clear The Log"
[pages.client]
"add" = "Add client"
@@ -188,7 +195,7 @@
"panelPortDesc" = "Restart the panel to take effect"
"publicKeyPath" = "Panel certificate public key file path"
"publicKeyPathDesc" = "Fill in an absolute path starting with '/', restart the panel to take effect"
-"privateKeyPath" = "Panel certificate key file path"
+"privateKeyPath" = "Panel certificate private key file path"
"privateKeyPathDesc" = "Fill in an absolute path starting with '/', restart the panel to take effect"
"panelUrlPath" = "panel url root path"
"panelUrlPathDesc" = "Must start with '/' and end with '/', restart the panel to take effect"
diff --git a/web/translation/translate.fa_IR.toml b/web/translation/translate.fa_IR.toml
index 02b4343e..687dbf66 100644
--- a/web/translation/translate.fa_IR.toml
+++ b/web/translation/translate.fa_IR.toml
@@ -38,7 +38,7 @@
"domainName" = "آدرس دامنه"
"additional" = "آی دی جایگزین"
"monitor" = "آی پی اتصال"
-"certificate" = "سرتیفیکیت"
+"certificate" = "گواهی دیجیتال"
"fail" = "خطا"
"success" = " موفق"
"getVersion" = "دریافت ورژن"
@@ -122,23 +122,29 @@
"noRecommendKeepDefault" = "توصیه می شود به عنوان پیش فرض حفظ شود"
"certificatePath" = "مسیر فایل گواهی"
"certificateContent" = "محتوای فایل گواهی"
-"publicKeyPath" = "مسیر فایل Certificate.crt"
-"publicKeyContent" = "محتوای Certificate.crt"
-"keyPath" = "مسیر فایل Private.key"
-"keyContent" = "محتوای Private.key"
+"publicKeyPath" = "مسیر کلید عمومی"
+"publicKeyContent" = "محتوای کلید عمومی"
+"keyPath" = "مسیر کلید خصوصی"
+"keyContent" = "محتوای کلید خصوصی"
"clickOnQRcode" = "برای کپی بر روی کد تصویری کلیک کنید"
"client" = "کاربر"
"export" = "استخراج لینکها"
-"Clone" = "کلون"
+"Clone" = "شبیه سازی"
"cloneInbound" = "ایجاد"
-"cloneInboundContent" = "همه موارد این ورودی بجز پورت ، ای پی و کلاینت ها روی کلون اعمال خواهند شد"
-"cloneInboundOk" = "ساختن یک کلون از"
+"cloneInboundContent" = "همه موارد این ورودی بجز پورت ، ای پی و کلاینت ها شبیه سازی خواهند شد"
+"cloneInboundOk" = "ساختن شبیه ساز"
"resetAllTraffic" = "ریست ترافیک کل ورودی ها"
"resetAllTrafficTitle" = "ریست ترافیک کل ورودی ها"
"resetAllTrafficContent" = "آیا مطمئن هستید که تمام ترافیک ورودی ها را ریست می کنید؟"
"resetAllTrafficOkText" = "بله"
"resetAllTrafficCancelText" = "انصراف"
-
+"IPLimit" = "محدودیت ای پی"
+"IPLimitDesc" = "غیرفعال کردن ورودی در صورت بیش از تعداد وارد شده (0 برای غیرفعال کردن محدودیت ای پی )"
+"Email" = "ایمیل"
+"EmailDesc" = "ایمیل باید کاملا منحصر به فرد باشد"
+"IPLimitlog" = "گزارش ها"
+"IPLimitlogDesc" = "گزارش سابقه ای پی (قبل از فعال کردن ورودی پس از غیرفعال شدن توسط محدودیت ای پی، باید گزارش را پاک کنید)"
+"IPLimitlogclear" = "پاک کردن گزارش ها"
[pages.client]
"add" = "کاربر جدید"
@@ -187,9 +193,9 @@
"panelListeningIPDesc" = "برای استفاده از تمام IP ها به طور پیش فرض خالی بگذارید. پنل را مجدداً راه اندازی کنید تا اعمال شود"
"panelPort" = "پورت پنل"
"panelPortDesc" = "پنل را مجدداً راه اندازی کنید تا اعمال شود"
-"publicKeyPath" = "مسیر فایل پنل Certificate.crt"
+"publicKeyPath" = "مسیر فایل گواهی کلید عمومی پنل"
"publicKeyPathDesc" = "باید یک مسیر مطلق باشد که با / شروع می شود . پنل را مجدداً راه اندازی کنید تا اعمال شود"
-"privateKeyPath" = "مسیر فایل پنل private.key"
+"privateKeyPath" = "مسیر فایل گواهی کلید خصوصی پنل"
"privateKeyPathDesc" = "باید یک مسیر مطلق باشد که با / شروع می شود . پنل را مجدداً راه اندازی کنید تا اعمال شود"
"panelUrlPath" = "آدرس روت پنل"
"panelUrlPathDesc" = "باید با '/' شروع شود و با '/' تمام شود. پنل را مجدداً راه اندازی کنید تا اعمال شود"
diff --git a/web/translation/translate.zh_Hans.toml b/web/translation/translate.zh_Hans.toml
index 9fea3e5a..c702baca 100644
--- a/web/translation/translate.zh_Hans.toml
+++ b/web/translation/translate.zh_Hans.toml
@@ -138,6 +138,13 @@
"resetAllTrafficContent" = "您确定要重置所有入站流量吗?"
"resetAllTrafficOkText" = "确认"
"resetAllTrafficCancelText" = "取消"
+"IPLimit" = "IP限制"
+"IPLimitDesc" = "如果超过输入的计数则禁用入站(0 表示禁用限制 ip)"
+"Email" = "电子邮件"
+"EmailDesc" = "电子邮件必须完全唯"
+"IPLimitlog" = "IP日志"
+"IPLimitlogDesc" = "IP 历史日志 (通过IP限制禁用inbound之前,需要清空日志)"
+"IPLimitlogclear" = "清除日志"
[pages.client]
"add" = "添加客户端"