change lang to zh

This commit is contained in:
Julian Freeman
2025-12-07 21:57:42 -04:00
parent 268d7eed07
commit b6b87e5800
4 changed files with 13 additions and 13 deletions

View File

@@ -108,7 +108,7 @@ const loadConfig = async () => {
if (config.working_dir) workingDir.value = config.working_dir;
if (config.template_dir) templateDir.value = config.template_dir;
} catch (e) {
console.error("Failed to load config:", e);
console.error("加载配置失败:", e);
}
}
@@ -121,7 +121,7 @@ const saveConfig = async () => {
}
});
} catch (e) {
console.error("Failed to save config:", e);
console.error("保存配置失败:", e);
}
}
@@ -147,7 +147,7 @@ const loadHistory = async () => {
const history = await invoke<Record<string, string[]>>('load_history');
historyMap.value = history || {};
} catch (e) {
console.error("Failed to load history", e);
console.error("加载历史记录失败", e);
}
}
@@ -214,7 +214,7 @@ const handleRename = async () => {
historyMap.value = newMap;
updateHistoryList();
} catch (e) {
console.error("History save failed", e);
console.error("保存历史记录失败", e);
}
}
@@ -602,7 +602,7 @@ watch(currentDir, (newPath) => {
<!-- Action Area -->
<div class="action-area">
<el-input v-model="videoNameInput" placeholder="输入视频名称 (例如: 文本)" class="name-input">
<el-input v-model="videoNameInput" placeholder="视频名称" class="name-input">
<template #prepend>{{ videoNamePrefix }}</template>
</el-input>
<el-button type="primary" @click="handleRename" :disabled="isReviewDisabled || importedFiles.length === 0">命名</el-button>