mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 19:21:54 +00:00
* [i18n] Translate widget label * Update locales [skip ci] --------- Co-authored-by: github-actions <github-actions@github.com>
15 lines
554 B
JavaScript
15 lines
554 B
JavaScript
// This file is intentionally kept in CommonJS format (.cjs)
|
|
// to resolve compatibility issues with dependencies that require CommonJS.
|
|
// Do not convert this file to ESModule format unless all dependencies support it.
|
|
const { defineConfig } = require('@lobehub/i18n-cli');
|
|
|
|
module.exports = defineConfig({
|
|
modelName: 'gpt-4',
|
|
splitToken: 1024,
|
|
entry: 'src/locales/en',
|
|
entryLocale: 'en',
|
|
output: 'src/locales',
|
|
outputLocales: ['zh', 'ru', 'ja', 'ko'],
|
|
reference: `Special names to keep untranslated: flux, photomaker, clip, vae, cfg`
|
|
});
|