Skip to content

Commit

Permalink
Ignore hidden settings for translation
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei committed Dec 26, 2024
1 parent d11fad8 commit fc6124d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/collect-i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fc6124d

Please sign in to comment.