fix(i18n): 补齐九种语言的翻译并修复国际化检查

补齐页面缺译,统一动态文案的整句插值方式。
This commit is contained in:
zhanjunhao
2026-11-17 14:10:25 +08:00
parent ef3f405190
commit 67969a041d
146 changed files with 16591 additions and 11007 deletions
+1 -1
View File
@@ -267,7 +267,7 @@ export const useMjLogsData = () => {
// Copy text function
const copyText = async (text) => {
if (await copy(text)) {
showSuccess(t('已复制:') + text);
showSuccess(t('已复制:{{text}}', { text: text }));
} else {
Modal.error({ title: t('无法复制到剪贴板,请手动复制'), content: text });
}
@@ -298,7 +298,7 @@ export const useModelPricingData = () => {
const copyText = async (text) => {
if (await copy(text)) {
showSuccess(t('已复制:') + text);
showSuccess(t('已复制:{{text}}', { text: text }));
} else {
Modal.error({ title: t('无法复制到剪贴板,请手动复制'), content: text });
}
+3 -2
View File
@@ -954,8 +954,9 @@ export const useApiRequest = (
setDebugData((prev) => ({
...prev,
response:
t('Stream启动失败:') + '\n' + JSON.stringify(errorInfo, null, 2),
response: t('Stream启动失败:\n{{value}}', {
value: JSON.stringify(errorInfo, null, 2),
}),
}));
setActiveDebugTab(DEBUG_TABS.RESPONSE);
+1 -1
View File
@@ -420,7 +420,7 @@ export const useTaskLogsData = ({
// Copy text function
const copyText = async (text) => {
if (await copy(text)) {
showSuccess(t('已复制:') + text);
showSuccess(t('已复制:{{text}}', { text: text }));
} else {
Modal.error({ title: t('无法复制到剪贴板,请手动复制'), content: text });
}