mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-07 00:20:07 +00:00
feat: use friendly language names for Comfy.Locale setting options (#1828)
This commit is contained in:
@@ -262,7 +262,12 @@ export const CORE_SETTINGS: SettingParams[] = [
|
||||
id: 'Comfy.Locale',
|
||||
name: 'Language',
|
||||
type: 'combo',
|
||||
options: ['en', 'zh', 'ru', 'ja'],
|
||||
options: [
|
||||
{ value: 'en', text: 'English' },
|
||||
{ value: 'zh', text: '中文' },
|
||||
{ value: 'ru', text: 'Русский' },
|
||||
{ value: 'ja', text: '日本語' }
|
||||
],
|
||||
defaultValue: () => navigator.language.split('-')[0] || 'en'
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user