perf: Translate

This commit is contained in:
feng
2024-07-04 18:13:49 +08:00
parent e92173f8e8
commit 4e2eb3a37d
4 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ export default {
return this.$t('LicenseExpired')
}
if (intervalDays < 7) {
return this.$t('LicenseWillBe') + this.licenseData.date_expired + this.$t('Expire')
return this.$t('LicenseWillBe') + ' ' + this.licenseData.date_expired + ' ' + this.$t('Expire')
}
return false
},

View File

@@ -1,6 +1,6 @@
<template>
<div>
<el-button size="mini" type="primary" icon="el-icon-setting" @click="visible = !visible"> {{ $t("Settings...") }} </el-button>
<el-button size="mini" type="primary" icon="el-icon-setting" @click="visible = !visible"> {{ $t("Setting") }} </el-button>
<Dialog
v-if="visible"
:show-cancel="false"

View File

@@ -1,6 +1,6 @@
<template>
<div>
<el-button size="mini" type="primary" icon="el-icon-setting" @click="visible=true">{{ $t('Settings...') }}</el-button>
<el-button size="mini" type="primary" icon="el-icon-setting" @click="visible=true">{{ $t('Setting') }}</el-button>
<Dialog
v-if="visible"
:destroy-on-close="true"

View File

@@ -110,7 +110,7 @@ export default {
canCreate: this.$hasPerm('orgs.add_organization'),
extraActions: [
{
title: this.$t('Settings...'),
title: this.$t('Setting'),
icon: 'el-icon-setting',
callback: () => {
this.visible = true