fix(i18n): 补齐九语翻译并修复国际化检查
补齐历史缺译并统一整句插值。九语覆盖 100%,静态检查及 713 项单测通过。
This commit is contained in:
@@ -184,7 +184,11 @@ export default function GeneralSettings(props) {
|
||||
showError(res.data.message || t('COS连接测试失败'));
|
||||
}
|
||||
} catch (error) {
|
||||
showError(t('COS连接测试失败') + ': ' + (error.message || t('未知错误')));
|
||||
showError(
|
||||
t('COS连接测试失败: {{value}}', {
|
||||
value: error.message || t('未知错误'),
|
||||
}),
|
||||
);
|
||||
} finally {
|
||||
setTestingCos(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user