tianji/src/client/i18next-toolkit.config.cjs

50 lines
998 B
JavaScript
Raw Normal View History

2024-02-11 16:39:22 +00:00
/** @type {import('@i18next-toolkit/cli').I18nextToolkitConfig} */
const config = {
locales: ['en', 'zh', 'jp', 'fr', 'de', 'pt', 'ru'],
2024-02-28 14:28:12 +00:00
verbose: true,
2024-04-14 09:18:22 +00:00
translator: {
type: 'openai',
model: 'gpt-4'
},
2024-02-11 16:10:38 +00:00
scanner: {
autoImport: false,
ignoreText: [
'Tianji',
'(25, 587)',
'TLS (465)',
'https://github.com/caronc/apprise/wiki#notification-services',
'Slug',
'--',
'a-z',
'0-9',
'80',
'example.com or 1.2.3.4',
'TCP Port',
'OpenAI',
'sess-************',
'Ping',
'For example:
{ "key": "value" }',
'Body',
'Headers',
'Content-Type',
'Method',
'https://example.com',
'HTTP',
'text/xml',
'application/x-www-form-urlencoded',
'application/json',
'OPTIONS',
'HEAD',
'DELETE',
'PATCH',
'PUT',
'POST',
'GET',
'HH:mm',
'YYYY-MM-DD HH:mm',
],
},
2024-02-11 16:39:22 +00:00
};
module.exports = config;