【调整】增加部署雨云

This commit is contained in:
cai
2026-01-13 17:47:39 +08:00
parent 4e49ca075a
commit 367c1a1096
1094 changed files with 179074 additions and 45 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',
}