diff options
Diffstat (limited to 'web/html/settings')
| -rw-r--r-- | web/html/settings/xray/balancers.html | 2 | ||||
| -rw-r--r-- | web/html/settings/xray/dns.html | 6 | ||||
| -rw-r--r-- | web/html/settings/xray/outbounds.html | 10 | ||||
| -rw-r--r-- | web/html/settings/xray/reverse.html | 5 |
4 files changed, 14 insertions, 9 deletions
diff --git a/web/html/settings/xray/balancers.html b/web/html/settings/xray/balancers.html index 19c4c99a..af7def75 100644 --- a/web/html/settings/xray/balancers.html +++ b/web/html/settings/xray/balancers.html @@ -5,7 +5,7 @@ <span>{{ i18n "pages.xray.balancer.addBalancer"}}</span> </a-button> <a-table :columns="balancerColumns" bordered :row-key="r => r.key" :data-source="balancersData" - :scroll="isMobile ? {} : { x: 200 }" :pagination="false" :indent-size="0"> + :scroll="isMobile ? {} : { x: 200 }" :pagination="false" :indent-size="0" :locale='{ filterConfirm: `{{ i18n "confirm" }}`, filterReset: `{{ i18n "reset" }}` }'> <template slot="action" slot-scope="text, balancer, index"> <span>[[ index+1 ]]</span> <a-dropdown :trigger="['click']"> diff --git a/web/html/settings/xray/dns.html b/web/html/settings/xray/dns.html index d2cb7082..11558536 100644 --- a/web/html/settings/xray/dns.html +++ b/web/html/settings/xray/dns.html @@ -66,7 +66,8 @@ <span>{{ i18n "pages.xray.dns.add" }}</span> </a-button> <a-table :columns="dnsColumns" bordered :row-key="r => r.key" :data-source="dnsServers" - :scroll="isMobile ? {} : { x: 200 }" :pagination="false" :indent-size="0"> + :scroll="isMobile ? {} : { x: 200 }" :pagination="false" :indent-size="0" + :locale='{ filterConfirm: `{{ i18n "confirm" }}`, filterReset: `{{ i18n "reset" }}` }'> <template slot="action" slot-scope="text,dns,index"> <span>[[ index+1 ]]</span> <a-dropdown :trigger="['click']"> @@ -113,7 +114,8 @@ <a-button type="primary" icon="plus" @click="addFakedns()">{{ i18n "pages.xray.fakedns.add" }}</a-button> <a-table :columns="fakednsColumns" bordered :row-key="r => r.key" :data-source="fakeDns" - :scroll="isMobile ? {} : { x: 200 }" :pagination="false" :indent-size="0"> + :scroll="isMobile ? {} : { x: 200 }" :pagination="false" :indent-size="0" + :locale='{ filterConfirm: `{{ i18n "confirm" }}`, filterReset: `{{ i18n "reset" }}` }'> <template slot="action" slot-scope="text,fakedns,index"> <span>[[ index+1 ]]</span> <a-dropdown :trigger="['click']"> diff --git a/web/html/settings/xray/outbounds.html b/web/html/settings/xray/outbounds.html index 0837a223..a5211fca 100644 --- a/web/html/settings/xray/outbounds.html +++ b/web/html/settings/xray/outbounds.html @@ -13,8 +13,9 @@ <a-button-group> <a-button icon="sync" @click="refreshOutboundTraffic()" :loading="refreshing"></a-button> <a-popconfirm placement="topRight" @confirm="resetOutboundTraffic(-1)" - title='{{ i18n "pages.inbounds.resetTrafficContent"}}' :overlay-class-name="themeSwitcher.currentTheme" - ok-text='{{ i18n "reset"}}' cancel-text='{{ i18n "cancel"}}'> + title='{{ i18n "pages.inbounds.resetTrafficContent"}}' + :overlay-class-name="themeSwitcher.currentTheme" ok-text='{{ i18n "reset"}}' + cancel-text='{{ i18n "cancel"}}'> <a-icon slot="icon" type="question-circle-o" :style="{ color: themeSwitcher.isDarkTheme ? '#008771' : '#008771' }"></a-icon> <a-button icon="retweet"></a-button> @@ -23,7 +24,8 @@ </a-col> </a-row> <a-table :columns="outboundColumns" bordered :row-key="r => r.key" :data-source="outboundData" - :scroll="isMobile ? {} : { x: 800 }" :pagination="false" :indent-size="0"> + :scroll="isMobile ? {} : { x: 800 }" :pagination="false" :indent-size="0" + :locale='{ filterConfirm: `{{ i18n "confirm" }}`, filterReset: `{{ i18n "reset" }}` }'> <template slot="action" slot-scope="text, outbound, index"> <span>[[ index+1 ]]</span> <a-dropdown :trigger="['click']"> @@ -46,7 +48,7 @@ </a-menu-item> <a-menu-item @click="deleteOutbound(index)"> <span :style="{ color: '#FF4D4F' }"> - <a-icon type="delete"></a-icon> + <a-icon type="delete"></a-icon> <span>{{ i18n "delete"}}</span> </span> </a-menu-item> diff --git a/web/html/settings/xray/reverse.html b/web/html/settings/xray/reverse.html index cdb4738d..c15b4a8c 100644 --- a/web/html/settings/xray/reverse.html +++ b/web/html/settings/xray/reverse.html @@ -5,7 +5,8 @@ <span>{{ i18n "pages.xray.outbound.addReverse" }}</span> </a-button> <a-table :columns="reverseColumns" bordered :row-key="r => r.key" :data-source="reverseData" - :scroll="isMobile ? {} : { x: 200 }" :pagination="false" :indent-size="0"> + :scroll="isMobile ? {} : { x: 200 }" :pagination="false" :indent-size="0" + :locale='{ filterConfirm: `{{ i18n "confirm" }}`, filterReset: `{{ i18n "reset" }}` }'> <template slot="action" slot-scope="text, reverse, index"> <span>[[ index+1 ]]</span> <a-dropdown :trigger="['click']"> @@ -18,7 +19,7 @@ </a-menu-item> <a-menu-item @click="deleteReverse(index)"> <span :style="{ color: '#FF4D4F' }"> - <a-icon type="delete"></a-icon> + <a-icon type="delete"></a-icon> <span>{{ i18n "delete"}}</span> </span> </a-menu-item> |
