Merge pull request #4182 from jumpserver/pr@dev@translate

perf: Translate
This commit is contained in:
feng626 2024-07-04 18:15:04 +08:00 committed by GitHub
commit 5e97600807
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ export default {
return this.$t('LicenseExpired') return this.$t('LicenseExpired')
} }
if (intervalDays < 7) { 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 return false
}, },

View File

@ -1,6 +1,6 @@
<template> <template>
<div> <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 <Dialog
v-if="visible" v-if="visible"
:show-cancel="false" :show-cancel="false"

View File

@ -1,6 +1,6 @@
<template> <template>
<div> <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 <Dialog
v-if="visible" v-if="visible"
:destroy-on-close="true" :destroy-on-close="true"

View File

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