mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-05-31 13:11:20 +08:00
continue replace ui text to Chinese
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
<template>
|
||||
<el-config-provider>
|
||||
<el-config-provider :locale="zhCn">
|
||||
<RouterView />
|
||||
</el-config-provider>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ElConfigProvider } from 'element-plus'
|
||||
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
||||
</script>
|
||||
|
||||
@@ -92,7 +92,7 @@ const handleSubmit = async () => {
|
||||
} catch (err) {
|
||||
if (err instanceof Error && err.message.includes('NEED_TO_CHECK_RUNTIME_DEPENDENCIES')) {
|
||||
ElMessage.error({
|
||||
message: `Some dependencies might be corrupt. I'm trying to check and fix them.`
|
||||
message: `核心组件损坏,正在尝试修复`
|
||||
})
|
||||
const checkDependenciesResult = await electron.ipcRenderer.invoke('check-dependencies')
|
||||
if (Object.values(checkDependenciesResult).includes(false)) {
|
||||
|
||||
Reference in New Issue
Block a user