mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 10:59:53 +00:00
Ignore hidden settings for translation (#2050)
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -65,6 +65,7 @@ test('collect-i18n', async ({ comfyPage }) => {
|
||||
const settings = workspace.setting.settings as Record<string, SettingParams>
|
||||
return Object.values(settings)
|
||||
.sort((a, b) => a.id.localeCompare(b.id))
|
||||
.filter((setting) => setting.type !== 'hidden')
|
||||
.map((setting) => ({
|
||||
id: setting.id,
|
||||
name: setting.name,
|
||||
|
||||
Reference in New Issue
Block a user