diff --git a/kyuubi-server/web-ui/src/locales/en_US/index.ts b/kyuubi-server/web-ui/src/locales/en_US/index.ts index 326433f9fb2..6fadca7abe8 100644 --- a/kyuubi-server/web-ui/src/locales/en_US/index.ts +++ b/kyuubi-server/web-ui/src/locales/en_US/index.ts @@ -56,9 +56,9 @@ export default { close_failed: 'Close {name} Failed', cancel_succeeded: 'Cancel {name} Succeeded', cancel_failed: 'Cancel {name} Failed', - run_failed: 'Run Sql Failed', - get_sql_log_failed: 'Get Sql Log Failed', - get_sql_result_failed: 'Get Sql Result Failed', - get_sql_metadata_failed: 'Get Sql Metadata Failed' + run_sql_failed: 'Run SQL Failed', + get_sql_log_failed: 'Get SQL Log Failed', + get_sql_result_failed: 'Get SQL Result Failed', + get_sql_metadata_failed: 'Get SQL Metadata Failed' } } diff --git a/kyuubi-server/web-ui/src/locales/zh_CN/index.ts b/kyuubi-server/web-ui/src/locales/zh_CN/index.ts index 76eca134978..093cd37f9a8 100644 --- a/kyuubi-server/web-ui/src/locales/zh_CN/index.ts +++ b/kyuubi-server/web-ui/src/locales/zh_CN/index.ts @@ -56,9 +56,9 @@ export default { close_failed: '关闭 {name} 失败', cancel_succeeded: '取消 {name} 成功', cancel_failed: '取消 {name} 失败', - run_failed: '运行失败', - get_sql_log_failed: '获取sql日志失败', - get_sql_result_failed: '获取sql结果失败', - get_sql_metadata_failed: '获取sql元数据失败' + run_sql_failed: '运行SQL失败', + get_sql_log_failed: '获取SQL日志失败', + get_sql_result_failed: '获取SQL结果失败', + get_sql_metadata_failed: '获取SQL元数据失败' } } diff --git a/kyuubi-server/web-ui/src/views/editor/components/Editor.vue b/kyuubi-server/web-ui/src/views/editor/components/Editor.vue index 5f60f80be22..6ed89048384 100644 --- a/kyuubi-server/web-ui/src/views/editor/components/Editor.vue +++ b/kyuubi-server/web-ui/src/views/editor/components/Editor.vue @@ -19,20 +19,10 @@ + + +
{ + const postError = (err: any, title = t('message.run_sql_failed')) => { errorMessages.value.push({ title, description: err?.response?.data?.message || err?.message || '' @@ -266,6 +266,7 @@ } .el-dropdown { margin-left: 4px; + margin-right: 8px; } }