mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2026-01-01 02:52:48 +00:00
fix: Locales
This commit is contained in:
parent
368c175f62
commit
2c22547f3e
|
|
@ -8455,9 +8455,6 @@ msgstr ""
|
|||
msgid "trial listening"
|
||||
msgstr ""
|
||||
|
||||
msgid "Add personal system API_KEY"
|
||||
msgstr ""
|
||||
|
||||
msgid "Add member to user group"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -8494,9 +8491,6 @@ msgstr ""
|
|||
msgid "USER"
|
||||
msgstr ""
|
||||
|
||||
msgid "Update personal system API_KEY"
|
||||
msgstr ""
|
||||
|
||||
msgid "Delete personal system API_KEY"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
|
|
@ -8581,9 +8581,6 @@ msgstr "邮箱设置"
|
|||
msgid "trial listening"
|
||||
msgstr "试听"
|
||||
|
||||
msgid "Add personal system API_KEY"
|
||||
msgstr "添加个人系统 API KEY"
|
||||
|
||||
msgid "Add member to user group"
|
||||
msgstr "添加成员到用户组"
|
||||
|
||||
|
|
@ -8620,9 +8617,6 @@ msgstr "下载"
|
|||
msgid "USER"
|
||||
msgstr "用户"
|
||||
|
||||
msgid "Update personal system API_KEY"
|
||||
msgstr "更新个人系统API KEY"
|
||||
|
||||
msgid "Delete personal system API_KEY"
|
||||
msgstr "删除个人系统API KEY"
|
||||
|
||||
|
|
|
|||
|
|
@ -8581,9 +8581,6 @@ msgstr "郵件設置"
|
|||
msgid "trial listening"
|
||||
msgstr "試聽"
|
||||
|
||||
msgid "Add personal system API_KEY"
|
||||
msgstr "添加個人系統 API KEY"
|
||||
|
||||
msgid "Add member to user group"
|
||||
msgstr "添加成員到用戶組"
|
||||
|
||||
|
|
@ -8620,9 +8617,6 @@ msgstr "下載"
|
|||
msgid "USER"
|
||||
msgstr "用户"
|
||||
|
||||
msgid "Update personal system API_KEY"
|
||||
msgstr "更新個人系統API KEY"
|
||||
|
||||
msgid "Delete personal system API_KEY"
|
||||
msgstr "删除個人系統API KEY"
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
<el-button @click.prevent="dialogVisible = false" :loading="loading">
|
||||
{{ $t('common.cancel') }}
|
||||
</el-button>
|
||||
<el-button type="primary" @click="submitValid(applicationFormRef)" :loading="loading">
|
||||
<el-button type="primary" @click="submitHandle(applicationFormRef)" :loading="loading">
|
||||
{{ $t('common.copy') }}
|
||||
</el-button>
|
||||
</span>
|
||||
|
|
@ -144,21 +144,6 @@ const open = (data: any, folder: string) => {
|
|||
dialogVisible.value = true
|
||||
}
|
||||
|
||||
const submitValid = (formEl: FormInstance | undefined) => {
|
||||
if (user.isEE() || user.isPE()) {
|
||||
submitHandle(formEl)
|
||||
} else {
|
||||
common
|
||||
.asyncGetValid(ValidType.Application, ValidCount.Application, loading)
|
||||
.then(async (res: any) => {
|
||||
if (res?.data) {
|
||||
submitHandle(formEl)
|
||||
} else {
|
||||
MsgAlert(t('common.tip'), t('views.application.tip.professionalMessage'))
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
const submitHandle = async (formEl: FormInstance | undefined) => {
|
||||
if (!formEl) return
|
||||
await formEl.validate((valid) => {
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</el-dropdown-item> -->
|
||||
<el-dropdown-item @click="openCreateFolder" divided>
|
||||
<el-dropdown-item @click="openCreateFolder" divided v-if="apiType === 'workspace'">
|
||||
<div class="flex align-center">
|
||||
<AppIcon iconName="app-folder" style="font-size: 32px"></AppIcon>
|
||||
<div class="pre-wrap ml-4">
|
||||
|
|
|
|||
|
|
@ -565,7 +565,7 @@ function importTool(file: any) {
|
|||
})
|
||||
.then(() => {
|
||||
getList()
|
||||
|
||||
|
||||
})
|
||||
.catch((e: any) => {
|
||||
if (e.code === 400) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue