Skip to content

Commit

Permalink
[i18n] Fix untranslated dataTypes in ru (#1879)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei authored Dec 11, 2024
1 parent a39c04d commit ebbff35
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 30 deletions.
8 changes: 2 additions & 6 deletions .i18nrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@
const { defineConfig } = require('@lobehub/i18n-cli');

module.exports = defineConfig({
modelName: 'gpt-4',
entry: 'src/locales/en',
entryLocale: 'en',
output: 'src/locales',
outputLocales: ['zh', 'ru', 'ja', 'ko'],
reference: `Keep following model names untranslated:
- flux
- photomaker
- clip
- vae
`
reference: `Special names to keep untranslated: flux, photomaker, clip, vae`
});
48 changes: 24 additions & 24 deletions src/locales/ru/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,36 @@
"yellow": "Желтый"
},
"dataTypes": {
"AUDIO": "AUDIO",
"BOOLEAN": "BOOLEAN",
"AUDIO": "АУДИО",
"BOOLEAN": "БУЛЕВО",
"CLIP": "CLIP",
"CLIP_VISION": "CLIP_VISION",
"CLIP_VISION_OUTPUT": "CLIP_VISION_OUTPUT",
"COMBO": "COMBO",
"CONDITIONING": "CONDITIONING",
"CONTROL_NET": "CONTROL_NET",
"FLOAT": "FLOAT",
"FLOATS": "FLOATS",
"COMBO": "КОМБО",
"CONDITIONING": "КОНДИЦИОНИРОВАНИЕ",
"CONTROL_NET": "СЕТЬ УПРАВЛЕНИЯ",
"FLOAT": "ПЛАВАЮЩИЙ",
"FLOATS": "ПЛАВАЮЩИЕ",
"GLIGEN": "GLIGEN",
"GUIDER": "GUIDER",
"HOOKS": "HOOKS",
"HOOK_KEYFRAMES": "HOOK_KEYFRAMES",
"IMAGE": "IMAGE",
"INT": "INT",
"LATENT": "LATENT",
"LATENT_OPERATION": "LATENT_OPERATION",
"MASK": "MASK",
"MODEL": "MODEL",
"NOISE": "NOISE",
"GUIDER": "РУКОВОДИТЕЛЬ",
"HOOKS": "КРЮКИ",
"HOOK_KEYFRAMES": "КЛЮЧЕВЫЕ КАДРЫ КРЮКА",
"IMAGE": "ИЗОБРАЖЕНИЕ",
"INT": "ЦЕЛОЕ",
"LATENT": "ЛАТЕНТНЫЙ",
"LATENT_OPERATION": "ЛАТЕНТНАЯ ОПЕРАЦИЯ",
"MASK": "МАСКА",
"MODEL": "МОДЕЛЬ",
"NOISE": "ШУМ",
"PHOTOMAKER": "PHOTOMAKER",
"SAMPLER": "SAMPLER",
"SIGMAS": "SIGMAS",
"STRING": "STRING",
"STYLE_MODEL": "STYLE_MODEL",
"TIMESTEPS_RANGE": "TIMESTEPS_RANGE",
"UPSCALE_MODEL": "UPSCALE_MODEL",
"SAMPLER": "СЭМПЛЕР",
"SIGMAS": "СИГМЫ",
"STRING": "СТРОКА",
"STYLE_MODEL": "МОДЕЛЬ СТИЛЯ",
"TIMESTEPS_RANGE": "ДИАПАЗОН ВРЕМЕННЫХ ШАГОВ",
"UPSCALE_MODEL": "МОДЕЛЬ УВЕЛИЧЕНИЯ",
"VAE": "VAE",
"WEBCAM": "WEBCAM"
"WEBCAM": "ВЕБ-КАМЕРА"
},
"desktopMenu": {
"confirmReinstall": "Это очистит ваш файл extra_models_config.yaml и начнет установку заново. Вы уверены?",
Expand Down

0 comments on commit ebbff35

Please sign in to comment.