Skip to content

Commit 2c22547

Browse files
wxg0103zhanweizhang7
authored andcommitted
fix: Locales
1 parent 368c175 commit 2c22547

File tree

6 files changed

+3
-36
lines changed

6 files changed

+3
-36
lines changed

apps/locales/en_US/LC_MESSAGES/django.po

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8455,9 +8455,6 @@ msgstr ""
84558455
msgid "trial listening"
84568456
msgstr ""
84578457

8458-
msgid "Add personal system API_KEY"
8459-
msgstr ""
8460-
84618458
msgid "Add member to user group"
84628459
msgstr ""
84638460

@@ -8494,9 +8491,6 @@ msgstr ""
84948491
msgid "USER"
84958492
msgstr ""
84968493

8497-
msgid "Update personal system API_KEY"
8498-
msgstr ""
8499-
85008494
msgid "Delete personal system API_KEY"
85018495
msgstr ""
85028496

apps/locales/zh_CN/LC_MESSAGES/django.po

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8581,9 +8581,6 @@ msgstr "邮箱设置"
85818581
msgid "trial listening"
85828582
msgstr "试听"
85838583

8584-
msgid "Add personal system API_KEY"
8585-
msgstr "添加个人系统 API KEY"
8586-
85878584
msgid "Add member to user group"
85888585
msgstr "添加成员到用户组"
85898586

@@ -8620,9 +8617,6 @@ msgstr "下载"
86208617
msgid "USER"
86218618
msgstr "用户"
86228619

8623-
msgid "Update personal system API_KEY"
8624-
msgstr "更新个人系统API KEY"
8625-
86268620
msgid "Delete personal system API_KEY"
86278621
msgstr "删除个人系统API KEY"
86288622

apps/locales/zh_Hant/LC_MESSAGES/django.po

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8581,9 +8581,6 @@ msgstr "郵件設置"
85818581
msgid "trial listening"
85828582
msgstr "試聽"
85838583

8584-
msgid "Add personal system API_KEY"
8585-
msgstr "添加個人系統 API KEY"
8586-
85878584
msgid "Add member to user group"
85888585
msgstr "添加成員到用戶組"
85898586

@@ -8620,9 +8617,6 @@ msgstr "下載"
86208617
msgid "USER"
86218618
msgstr "用户"
86228619

8623-
msgid "Update personal system API_KEY"
8624-
msgstr "更新個人系統API KEY"
8625-
86268620
msgid "Delete personal system API_KEY"
86278621
msgstr "删除個人系統API KEY"
86288622

ui/src/views/application/component/CopyApplicationDialog.vue

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<el-button @click.prevent="dialogVisible = false" :loading="loading">
3939
{{ $t('common.cancel') }}
4040
</el-button>
41-
<el-button type="primary" @click="submitValid(applicationFormRef)" :loading="loading">
41+
<el-button type="primary" @click="submitHandle(applicationFormRef)" :loading="loading">
4242
{{ $t('common.copy') }}
4343
</el-button>
4444
</span>
@@ -144,21 +144,6 @@ const open = (data: any, folder: string) => {
144144
dialogVisible.value = true
145145
}
146146
147-
const submitValid = (formEl: FormInstance | undefined) => {
148-
if (user.isEE() || user.isPE()) {
149-
submitHandle(formEl)
150-
} else {
151-
common
152-
.asyncGetValid(ValidType.Application, ValidCount.Application, loading)
153-
.then(async (res: any) => {
154-
if (res?.data) {
155-
submitHandle(formEl)
156-
} else {
157-
MsgAlert(t('common.tip'), t('views.application.tip.professionalMessage'))
158-
}
159-
})
160-
}
161-
}
162147
const submitHandle = async (formEl: FormInstance | undefined) => {
163148
if (!formEl) return
164149
await formEl.validate((valid) => {

ui/src/views/knowledge/component/KnowledgeListContainer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
</div>
118118
</div>
119119
</el-dropdown-item> -->
120-
<el-dropdown-item @click="openCreateFolder" divided>
120+
<el-dropdown-item @click="openCreateFolder" divided v-if="apiType === 'workspace'">
121121
<div class="flex align-center">
122122
<AppIcon iconName="app-folder" style="font-size: 32px"></AppIcon>
123123
<div class="pre-wrap ml-4">

ui/src/views/tool/component/ToolListContainer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ function importTool(file: any) {
565565
})
566566
.then(() => {
567567
getList()
568-
568+
569569
})
570570
.catch((e: any) => {
571571
if (e.code === 400) {

0 commit comments

Comments
 (0)