mirror of
https://github.com/dataease/dataease.git
synced 2026-05-24 06:18:10 +08:00
perf(X-Pack): 用户管理-前端国际化
This commit is contained in:
@@ -7,6 +7,8 @@ import { nextTick, ref, watch } from 'vue'
|
||||
import { Icon } from '@/components/icon-custom'
|
||||
import { ElButton, ElDivider, ElIcon } from 'element-plus-secondary'
|
||||
import { propTypes } from '@/utils/propTypes'
|
||||
import { useI18n } from '@/hooks/web/useI18n'
|
||||
const { t } = useI18n()
|
||||
const props = defineProps({
|
||||
filterTexts: propTypes.arrayOf(propTypes.string),
|
||||
total: propTypes.number.def(0)
|
||||
@@ -51,7 +53,7 @@ watch(
|
||||
<template>
|
||||
<div v-if="filterTexts.length" class="filter-texts">
|
||||
<span class="sum">{{ total }}</span>
|
||||
<span class="title">个结果</span>
|
||||
<span class="title">{{ t('commons.result_count') }}</span>
|
||||
<el-divider direction="vertical" />
|
||||
<el-icon @click="scrollPre" class="arrow-left arrow-filter" v-if="showScroll">
|
||||
<Icon name="icon_left_outlined"><icon_left_outlined class="svg-icon" /></Icon>
|
||||
@@ -76,7 +78,7 @@ watch(
|
||||
><icon_deleteTrash_outlined class="svg-icon"
|
||||
/></Icon>
|
||||
</template>
|
||||
清空条件</el-button
|
||||
{{ t('commons.clear_filter') }}</el-button
|
||||
>
|
||||
</div>
|
||||
<el-icon @click="scrollNext" class="arrow-right arrow-filter" v-if="showScroll">
|
||||
@@ -94,7 +96,7 @@ watch(
|
||||
><icon_deleteTrash_outlined class="svg-icon"
|
||||
/></Icon>
|
||||
</template>
|
||||
清空条件</el-button
|
||||
{{ t('commons.clear_filter') }}</el-button
|
||||
>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -2395,6 +2395,8 @@ Scatter chart (bubble) chart: {a} (series name), {b} (data name), {c} (value arr
|
||||
day_limit: 'Days cannot be less than 1 and greater than 31'
|
||||
},
|
||||
commons: {
|
||||
result_count: 'result',
|
||||
clear_filter: 'Clear conditions',
|
||||
language: 'Language',
|
||||
help_center: 'Help Center',
|
||||
assistant: 'Assistant',
|
||||
|
||||
@@ -2339,6 +2339,8 @@ export default {
|
||||
day_limit: '天不能小於1,大於31'
|
||||
},
|
||||
commons: {
|
||||
result_count: '個結果',
|
||||
clear_filter: '清空條件',
|
||||
language: '語言',
|
||||
help_center: '幫助中心',
|
||||
assistant: '小助手',
|
||||
|
||||
@@ -2341,6 +2341,8 @@ export default {
|
||||
day_limit: '天不能小于1,大于31'
|
||||
},
|
||||
commons: {
|
||||
result_count: '个结果',
|
||||
clear_filter: '清空条件',
|
||||
language: '语言',
|
||||
help_center: '帮助中心',
|
||||
assistant: '小助手',
|
||||
|
||||
Reference in New Issue
Block a user