diff options
| author | Hamidreza Ghavami <hamid.r.gh.1998@gmail.com> | 2023-05-04 20:52:54 +0300 |
|---|---|---|
| committer | Hamidreza Ghavami <hamid.r.gh.1998@gmail.com> | 2023-05-04 20:52:54 +0300 |
| commit | 481d4beabb2625c51440c734654de24b18d9e1b1 (patch) | |
| tree | 8c1cd095b31723d8a16c78c8e65089f841450c37 /web/html | |
| parent | 19c991014e9ede2890492208f2fc81c5a70fb99a (diff) | |
update translation
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/xui/client_bulk_modal.html | 2 | ||||
| -rw-r--r-- | web/html/xui/common_sider.html | 2 | ||||
| -rw-r--r-- | web/html/xui/form/client.html | 4 | ||||
| -rw-r--r-- | web/html/xui/form/inbound.html | 2 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/socks.html | 1 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/trojan.html | 2 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/vless.html | 2 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/vmess.html | 4 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_kcp.html | 12 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_quic.html | 12 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_tcp.html | 2 | ||||
| -rw-r--r-- | web/html/xui/inbounds.html | 11 | ||||
| -rw-r--r-- | web/html/xui/index.html | 2 | ||||
| -rw-r--r-- | web/html/xui/settings.html | 8 |
14 files changed, 33 insertions, 33 deletions
diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html index 827fc951..274f8588 100644 --- a/web/html/xui/client_bulk_modal.html +++ b/web/html/xui/client_bulk_modal.html @@ -65,7 +65,7 @@ </a-form-item> <a-form-item> <span slot="label"> - <span >{{ i18n "pages.inbounds.totalFlow" }}</span>(GB) + <span >{{ i18n "pages.inbounds.totalFlow" }}</span> (GB) <a-tooltip> <template slot="title"> 0 <span>{{ i18n "pages.inbounds.meansNoLimit" }}</span> diff --git a/web/html/xui/common_sider.html b/web/html/xui/common_sider.html index c7765d60..d059e920 100644 --- a/web/html/xui/common_sider.html +++ b/web/html/xui/common_sider.html @@ -9,7 +9,7 @@ </a-menu-item> <a-menu-item key="{{ .base_path }}xui/settings"> <a-icon type="setting"></a-icon> - <span>{{ i18n "menu.setting"}}</span> + <span>{{ i18n "menu.settings"}}</span> </a-menu-item> <!--<a-menu-item key="{{ .base_path }}xui/clients">--> <!-- <a-icon type="laptop"></a-icon>--> diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html index b9d939d1..501861db 100644 --- a/web/html/xui/form/client.html +++ b/web/html/xui/form/client.html @@ -43,7 +43,7 @@ <a-icon type="question-circle" theme="filled"></a-icon> </a-tooltip> </span> - <a-input-number v-model="client.limitIp" min="0" style="width: 70px;"></a-input-number> + <a-input-number v-model="client.limitIp" min="0" style="width: 70px;"></a-input-number> </a-form-item> <a-form-item v-if="client.email && client.limitIp > 0 && isEdit"> <span slot="label"> @@ -82,7 +82,7 @@ </a-form-item> <a-form-item> <span slot="label"> - <span >{{ i18n "pages.inbounds.totalFlow" }}</span>(GB) + <span >{{ i18n "pages.inbounds.totalFlow" }}</span> (GB) <a-tooltip> <template slot="title"> 0 <span>{{ i18n "pages.inbounds.meansNoLimit" }}</span> diff --git a/web/html/xui/form/inbound.html b/web/html/xui/form/inbound.html index 1cc4e2ea..603ca46a 100644 --- a/web/html/xui/form/inbound.html +++ b/web/html/xui/form/inbound.html @@ -29,7 +29,7 @@ </a-form-item> <a-form-item> <span slot="label"> - <span >{{ i18n "pages.inbounds.totalFlow" }}</span>(GB) + <span >{{ i18n "pages.inbounds.totalFlow" }}</span> (GB) <a-tooltip> <template slot="title"> 0 <span>{{ i18n "pages.inbounds.meansNoLimit" }}</span> diff --git a/web/html/xui/form/protocol/socks.html b/web/html/xui/form/protocol/socks.html index 2662f1d6..89cde72c 100644 --- a/web/html/xui/form/protocol/socks.html +++ b/web/html/xui/form/protocol/socks.html @@ -1,6 +1,5 @@ {{define "form/socks"}} <a-form layout="inline"> - <!-- <a-form-item label="Password authentication">--> <a-form-item label='{{ i18n "password" }}'> <a-switch :checked="inbound.settings.auth === 'password'" @change="checked => inbound.settings.auth = checked ? 'password' : 'noauth'"></a-switch> diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html index 65344f11..e63943e6 100644 --- a/web/html/xui/form/protocol/trojan.html +++ b/web/html/xui/form/protocol/trojan.html @@ -43,7 +43,7 @@ </a-form-item> <a-form-item> <span slot="label"> - <span >{{ i18n "pages.inbounds.totalFlow" }}</span>(GB) + <span >{{ i18n "pages.inbounds.totalFlow" }}</span> (GB) <a-tooltip> <template slot="title"> 0 <span>{{ i18n "pages.inbounds.meansNoLimit" }}</span> diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html index b05f2157..33e0c170 100644 --- a/web/html/xui/form/protocol/vless.html +++ b/web/html/xui/form/protocol/vless.html @@ -49,7 +49,7 @@ </a-form-item> <a-form-item> <span slot="label"> - <span >{{ i18n "pages.inbounds.totalFlow" }}</span>(GB) + <span >{{ i18n "pages.inbounds.totalFlow" }}</span> (GB) <a-tooltip> <template slot="title"> 0 <span>{{ i18n "pages.inbounds.meansNoLimit" }}</span> diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html index 86ceead8..6471e20d 100644 --- a/web/html/xui/form/protocol/vmess.html +++ b/web/html/xui/form/protocol/vmess.html @@ -40,7 +40,7 @@ </a-form-item> <a-form-item> <span slot="label"> - <span >{{ i18n "pages.inbounds.totalFlow" }}</span>(GB) + <span >{{ i18n "pages.inbounds.totalFlow" }}</span> (GB) <a-tooltip> <template slot="title"> 0 <span>{{ i18n "pages.inbounds.meansNoLimit" }}</span> @@ -67,7 +67,7 @@ </a-collapse-panel> </a-collapse> <a-collapse v-else> - <a-collapse-panel :header="'{{ i18n "pages.client.clientCount"}} : ' + inbound.settings.vmesses.length"> + <a-collapse-panel :header="'{{ i18n "pages.client.clientCount" }}: ' + inbound.settings.vmesses.length"> <table width="100%"> <tr class="client-table-header"> <th v-for="col in Object.keys(inbound.settings.vmesses[0]).slice(0, 3)">[[ col ]]</th> diff --git a/web/html/xui/form/stream/stream_kcp.html b/web/html/xui/form/stream/stream_kcp.html index 1dc6eb9d..52a930f9 100644 --- a/web/html/xui/form/stream/stream_kcp.html +++ b/web/html/xui/form/stream/stream_kcp.html @@ -2,12 +2,12 @@ <a-form layout="inline"> <a-form-item label='{{ i18n "camouflage" }}'> <a-select v-model="inbound.stream.kcp.type" style="width: 280px;"> - <a-select-option value="none">None(Not Camouflage)</a-select-option> - <a-select-option value="srtp">SRTP(Camouflage Video Call)</a-select-option> - <a-select-option value="utp">UTP(Camouflage BT Download)</a-select-option> - <a-select-option value="wechat-video">Wechat-Video(Camouflage WeChat Video)</a-select-option> - <a-select-option value="dtls">DTLS(Camouflage DTLS 1.2 Packages)</a-select-option> - <a-select-option value="wireguard">Wireguard(Camouflage Wireguard Packages)</a-select-option> + <a-select-option value="none">None (Not Camouflage)</a-select-option> + <a-select-option value="srtp">SRTP (Camouflage Video Call)</a-select-option> + <a-select-option value="utp">UTP (Camouflage BT Download)</a-select-option> + <a-select-option value="wechat-video">Wechat-Video (Camouflage WeChat Video)</a-select-option> + <a-select-option value="dtls">DTLS (Camouflage DTLS 1.2 Packages)</a-select-option> + <a-select-option value="wireguard">Wireguard (Camouflage Wireguard Packages)</a-select-option> </a-select> </a-form-item> <a-form-item label='{{ i18n "password" }}'> diff --git a/web/html/xui/form/stream/stream_quic.html b/web/html/xui/form/stream/stream_quic.html index 2a48af84..4d04587a 100644 --- a/web/html/xui/form/stream/stream_quic.html +++ b/web/html/xui/form/stream/stream_quic.html @@ -12,12 +12,12 @@ </a-form-item> <a-form-item label='{{ i18n "camouflage" }}'> <a-select v-model="inbound.stream.quic.type" style="width: 280px;" :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''"> - <a-select-option value="none">none(not camouflage)</a-select-option> - <a-select-option value="srtp">srtp(camouflage video call)</a-select-option> - <a-select-option value="utp">utp(camouflage BT download)</a-select-option> - <a-select-option value="wechat-video">wechat-video(camouflage WeChat video)</a-select-option> - <a-select-option value="dtls">dtls(camouflage DTLS 1.2 packages)</a-select-option> - <a-select-option value="wireguard">wireguard(camouflage wireguard packages)</a-select-option> + <a-select-option value="none">none (not camouflage)</a-select-option> + <a-select-option value="srtp">srtp (camouflage video call)</a-select-option> + <a-select-option value="utp">utp (camouflage BT download)</a-select-option> + <a-select-option value="wechat-video">wechat-video (camouflage WeChat video)</a-select-option> + <a-select-option value="dtls">dtls (camouflage DTLS 1.2 packages)</a-select-option> + <a-select-option value="wireguard">wireguard (camouflage wireguard packages)</a-select-option> </a-select> </a-form-item> </a-form> diff --git a/web/html/xui/form/stream/stream_tcp.html b/web/html/xui/form/stream/stream_tcp.html index 958f8f25..993fb0d0 100644 --- a/web/html/xui/form/stream/stream_tcp.html +++ b/web/html/xui/form/stream/stream_tcp.html @@ -4,7 +4,7 @@ <a-form-item label="AcceptProxyProtocol"> <a-switch v-model="inbound.stream.tcp.acceptProxyProtocol"></a-switch> </a-form-item> - <a-form-item label="HTTP {{ i18n "camouflage" }}"> + <a-form-item label='HTTP {{ i18n "camouflage" }}'> <a-switch :checked="inbound.stream.tcp.type === 'http'" @change="checked => inbound.stream.tcp.type = checked ? 'http' : 'none'"> diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 31e251f5..e697b8a1 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -93,12 +93,13 @@ </a-col> <a-col :xs="24" :sm="24" :lg="12" style="text-align: right;"> <a-select v-model="refreshInterval" + style="width: 65px;" v-if="isRefreshEnabled" @change="changeRefreshInterval" :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''"> <a-select-option v-for="key in [5,10,30,60]" :value="key*1000">[[ key ]]s</a-select-option> </a-select> - <a-icon type="sync" :spin="isRefreshEnabled"></a-icon> + <a-icon type="sync" :spin="isRefreshEnabled" style="margin: 0 5px;"></a-icon> <a-switch v-model="isRefreshEnabled" @change="toggleRefresh"></a-switch> </a-col> </a-row> @@ -155,7 +156,7 @@ <a-icon type="retweet"></a-icon> {{ i18n "pages.inbounds.resetTraffic" }} </a-menu-item> <a-menu-item key="clone"> - <a-icon type="block"></a-icon> {{ i18n "pages.inbounds.Clone"}} + <a-icon type="block"></a-icon> {{ i18n "pages.inbounds.clone"}} </a-menu-item> <a-menu-item key="delete"> <span style="color: #FF4D4F"> @@ -478,7 +479,7 @@ }, openCloneInbound(dbInbound) { this.$confirm({ - title: '{{ i18n "pages.inbounds.cloneInbound"}}' + dbInbound.remark, + title: '{{ i18n "pages.inbounds.cloneInbound"}} \"' + dbInbound.remark + '\"', content: '{{ i18n "pages.inbounds.cloneInboundContent"}}', okText: '{{ i18n "pages.inbounds.cloneInboundOk"}}', cancelText: '{{ i18n "cancel" }}', @@ -512,7 +513,7 @@ openAddInbound() { inModal.show({ title: '{{ i18n "pages.inbounds.addInbound"}}', - okText: '{{ i18n "pages.inbounds.addTo"}}', + okText: '{{ i18n "pages.inbounds.create"}}', cancelText: '{{ i18n "close" }}', confirm: async (inbound, dbInbound) => { inModal.loading(); @@ -527,7 +528,7 @@ const inbound = dbInbound.toInbound(); inModal.show({ title: '{{ i18n "pages.inbounds.modifyInbound"}}', - okText: '{{ i18n "pages.inbounds.revise"}}', + okText: '{{ i18n "pages.inbounds.update"}}', cancelText: '{{ i18n "close" }}', inbound: inbound, dbInbound: dbInbound, diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 320422e3..f2babcb0 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -382,7 +382,7 @@ cancelText: '{{ i18n "cancel"}}', onOk: async () => { versionModal.hide(); - this.loading(true, '{{ i18n "pages.index.dontRefreshh"}}'); + this.loading(true, '{{ i18n "pages.index.dontRefresh"}}'); await HttpUtil.post(`/server/installXray/${version}`); this.loading(false); }, diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index 3f4680fe..6a9d9509 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -141,8 +141,8 @@ <a-divider>{{ i18n "pages.settings.templates.title"}}</a-divider> - <a-tabs default-active-key="tpl-1" :class="siderDrawer.isDarkTheme ? darkClass : ''"> - <a-tab-pane key="tpl-1" tab='{{ i18n "pages.settings.templates.basicTemplate"}}'> + <a-tabs default-active-key="tpl-1" :class="siderDrawer.isDarkTheme ? darkClass : ''" style="padding: 0 20px;"> + <a-tab-pane key="tpl-1" tab='{{ i18n "pages.settings.templates.basicTemplate"}}' style="padding-top: 20px;"> <a-collapse> <a-collapse-panel header='{{ i18n "pages.settings.templates.generalConfigs"}}'> <a-row :xs="24" :sm="24" :lg="12"> @@ -194,7 +194,7 @@ </a-collapse-panel> </a-collapse> </a-tab-pane> - <a-tab-pane key="tpl-2" tab='{{ i18n "pages.settings.templates.advancedTemplate"}}'> + <a-tab-pane key="tpl-2" tab='{{ i18n "pages.settings.templates.advancedTemplate"}}' style="padding-top: 20px;"> <a-collapse> <a-collapse-panel header='{{ i18n "pages.settings.templates.xrayConfigInbounds"}}'> <setting-list-item type="textarea" title='{{ i18n "pages.settings.templates.xrayConfigInbounds"}}' desc='{{ i18n "pages.settings.templates.xrayConfigInboundsDesc"}}' v-model="inboundSettings"></setting-list-item> @@ -207,7 +207,7 @@ </a-collapse-panel> </a-collapse> </a-tab-pane> - <a-tab-pane key="tpl-3" tab='{{ i18n "pages.settings.templates.completeTemplate"}}'> + <a-tab-pane key="tpl-3" tab='{{ i18n "pages.settings.templates.completeTemplate"}}' style="padding-top: 20px;"> <setting-list-item type="textarea" title='{{ i18n "pages.settings.templates.xrayConfigTemplate"}}' desc='{{ i18n "pages.settings.templates.xrayConfigTemplateDesc"}}' v-model="allSetting.xrayTemplateConfig"></setting-list-item> </a-tab-pane> </a-tabs> |
