chore: add translations for a-table

This commit is contained in:
Shishkevich D.
2025-05-10 21:47:59 +07:00
committed by GitHub
parent c15ec5315a
commit 23293813bb
19 changed files with 34 additions and 10 deletions
+1 -1
View File
@@ -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']">