From 23293813bb02ff03e336dde4ce3b628db5123950 Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Sat, 10 May 2025 21:47:59 +0700 Subject: [PATCH] chore: add translations for `a-table` --- web/html/component/aTableSortable.html | 5 +++++ web/html/inbounds.html | 3 ++- web/html/settings/xray/balancers.html | 2 +- web/html/settings/xray/dns.html | 6 ++++-- web/html/settings/xray/outbounds.html | 10 ++++++---- web/html/settings/xray/reverse.html | 5 +++-- web/translation/translate.ar_EG.toml | 1 + web/translation/translate.en_US.toml | 1 + web/translation/translate.es_ES.toml | 1 + web/translation/translate.fa_IR.toml | 1 + web/translation/translate.id_ID.toml | 1 + web/translation/translate.ja_JP.toml | 1 + web/translation/translate.pt_BR.toml | 1 + web/translation/translate.ru_RU.toml | 1 + web/translation/translate.tr_TR.toml | 1 + web/translation/translate.uk_UA.toml | 1 + web/translation/translate.vi_VN.toml | 1 + web/translation/translate.zh_CN.toml | 1 + web/translation/translate.zh_TW.toml | 1 + 19 files changed, 34 insertions(+), 10 deletions(-) diff --git a/web/html/component/aTableSortable.html b/web/html/component/aTableSortable.html index 443ac50c..4abad8ef 100644 --- a/web/html/component/aTableSortable.html +++ b/web/html/component/aTableSortable.html @@ -64,6 +64,11 @@ drop: (e) => this.dropHandler(e), }, scopedSlots: this.$scopedSlots, + locale: { + filterConfirm: `{{ i18n "confirm" }}`, + filterReset: `{{ i18n "reset" }}`, + emptyText: `{{ i18n "noData" }}` + } }, this.$slots.default,) }, created() { diff --git a/web/html/inbounds.html b/web/html/inbounds.html index f632a5cc..29e6b00f 100644 --- a/web/html/inbounds.html +++ b/web/html/inbounds.html @@ -301,7 +301,8 @@ :expand-icon-column-index="0" :indent-size="0" :row-class-name="dbInbound => (dbInbound.isMultiUser() ? '' : 'hideExpandIcon')" - :style="{ marginTop: '10px' }"> + :style="{ marginTop: '10px' }" + :locale='{ filterConfirm: `{{ i18n "confirm" }}`, filterReset: `{{ i18n "reset" }}`, emptyText: `{{ i18n "noData" }}` }'>