mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 14:25:23 +00:00
update interface view i18n
This commit is contained in:
@@ -775,6 +775,13 @@
|
|||||||
"LicenseDetail": "许可证详情",
|
"LicenseDetail": "许可证详情",
|
||||||
"ImportLicense": "导入许可证",
|
"ImportLicense": "导入许可证",
|
||||||
"LicenseFile": "许可证文件",
|
"LicenseFile": "许可证文件",
|
||||||
"ImportLicenseTip": "请导入许可证"
|
"ImportLicenseTip": "请导入许可证",
|
||||||
|
"logoLogoutTip": "提示:将会显示在企业版用户退出页面(建议图片大小为:82px*82px)",
|
||||||
|
"logoIndexTip": "提示:将会显示在管理页面左上方(建议图片大小为: 185px*55px)",
|
||||||
|
"faviconTip": "提示:网站图标(建议图片大小为: 16px*16px)",
|
||||||
|
"loginImageTip": "提示:将会显示在企业版用户登录页面(建议图片大小为: 492*472px)",
|
||||||
|
"loginTitleTip": "提示:将会显示在企业版用户登录页面(eg: 欢迎使用JumpServer开源堡垒机)",
|
||||||
|
"restoreDialogTitle": "你确认吗",
|
||||||
|
"restoreDialogMessage": "您确定要恢复默认初始化吗?"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -50,7 +50,7 @@ export default {
|
|||||||
fieldsMeta: {
|
fieldsMeta: {
|
||||||
login_title: {
|
login_title: {
|
||||||
label: this.$t('xpack.loginTitle'),
|
label: this.$t('xpack.loginTitle'),
|
||||||
helpText: '提示:将会显示在企业版用户登录页面(eg: 欢迎使用JumpServer开源堡垒机)'
|
helpText: this.$t('xpack.loginTitleTip')
|
||||||
},
|
},
|
||||||
login_image: {
|
login_image: {
|
||||||
component: UploadField,
|
component: UploadField,
|
||||||
@@ -58,7 +58,7 @@ export default {
|
|||||||
el: {
|
el: {
|
||||||
width: '10%',
|
width: '10%',
|
||||||
height: '10%',
|
height: '10%',
|
||||||
tip: '提示:将会显示在企业版用户登录页面(建议图片大小为: 492*472px)'
|
tip: this.$t('xpack.loginImageTip')
|
||||||
},
|
},
|
||||||
on: {
|
on: {
|
||||||
fileChange: ([value], updateForm) => {
|
fileChange: ([value], updateForm) => {
|
||||||
@@ -73,7 +73,7 @@ export default {
|
|||||||
el: {
|
el: {
|
||||||
width: '5%',
|
width: '5%',
|
||||||
height: '5%',
|
height: '5%',
|
||||||
tip: '提示:网站图标(建议图片大小为: 16px*16px)'
|
tip: this.$t('xpack.faviconTip')
|
||||||
},
|
},
|
||||||
on: {
|
on: {
|
||||||
fileChange: ([value], updateForm) => {
|
fileChange: ([value], updateForm) => {
|
||||||
@@ -87,7 +87,7 @@ export default {
|
|||||||
el: {
|
el: {
|
||||||
width: '10%',
|
width: '10%',
|
||||||
height: '10%',
|
height: '10%',
|
||||||
tip: '提示:将会显示在管理页面左上方(建议图片大小为: 185px*55px)'
|
tip: this.$t('xpack.logoIndexTip')
|
||||||
},
|
},
|
||||||
on: {
|
on: {
|
||||||
fileChange: ([value], updateForm) => {
|
fileChange: ([value], updateForm) => {
|
||||||
@@ -101,7 +101,7 @@ export default {
|
|||||||
el: {
|
el: {
|
||||||
width: '5%',
|
width: '5%',
|
||||||
height: '5%',
|
height: '5%',
|
||||||
tip: '提示:将会显示在企业版用户退出页面(建议图片大小为:82px*82px)'
|
tip: this.$t('xpack.logoLogoutTip')
|
||||||
},
|
},
|
||||||
on: {
|
on: {
|
||||||
fileChange: ([value], updateForm) => {
|
fileChange: ([value], updateForm) => {
|
||||||
@@ -115,11 +115,12 @@ export default {
|
|||||||
{
|
{
|
||||||
title: this.$t('xpack.RestoreButton'),
|
title: this.$t('xpack.RestoreButton'),
|
||||||
callback: function(value, form) {
|
callback: function(value, form) {
|
||||||
this.$confirm('您确定要恢复默认初始化吗?', '你确认吗?', {
|
this.$confirm(this.$t('xpack.restoreDialogMessage'),
|
||||||
confirmButtonText: '确定',
|
this.$t('xpack.restoreDialogTitle'), {
|
||||||
cancelButtonText: '取消',
|
confirmButtonText: this.$t('common.Confirm'),
|
||||||
type: 'warning'
|
cancelButtonText: this.$t('common.Cancel'),
|
||||||
}).then(() => {
|
type: 'warning'
|
||||||
|
}).then(() => {
|
||||||
restoreInterface().then(res => {
|
restoreInterface().then(res => {
|
||||||
this.$message.success(res.success)
|
this.$message.success(res.success)
|
||||||
location.reload()
|
location.reload()
|
||||||
|
Reference in New Issue
Block a user