Ignore hidden settings for translation (#2050)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Chenlei Hu
2024-12-25 21:26:52 -05:00
committed by GitHub
parent d11fad8a06
commit f1eee96ebc
6 changed files with 1 additions and 145 deletions

View File

@@ -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,