【新增】插件git同步模块,用于同步项目内容,加速项目开发

【调整】前端暗色问题
This commit is contained in:
chudong
2025-05-14 16:50:56 +08:00
parent dc43da936b
commit e6947ec5c4
215 changed files with 19918 additions and 9710 deletions

View File

@@ -0,0 +1,24 @@
export default {
projectPath: './src',
outputPath: './src/locales/',
logPath: './logs',
cachePath: './cache/translation_cache.json',
apiKey: {
zhipuAI: 'a160afdbea1644e68de5e5b014bea0f7.zZuSidvDSYOD7oJT',
qianwenAI: 'sk-1b4f64a523814e33a6221bfccc676be6',
api1: '',
},
languages: ['zhCN', 'zhTW', 'enUS', 'jaJP', 'koKR', 'ruRU', 'ptBR', 'frFR', 'esAR', 'arDZ'],
concurrency: 100,
exclude: ['node_modules', 'dist', 'build', 'locales', 'cache', 'logs'],
templateRegex: '\\$t\\([\\\'"](?!t_)([^\\\'"]+)[\\\'"]',
fileExtensions: ['.vue', '.js', '.ts', '.jsx', '.tsx'],
interval: 5000,
requestInterval: 100,
maxRetries: 3,
translateMethod: 'qianwenAI',
cacheLifetime: 7,
logRetention: 30,
createFileExt: '.json',
createEntryFileExt: '.ts',
}