Skip to content

Conversation

@JonatanAtila
Copy link
Contributor

@JonatanAtila JonatanAtila commented Nov 26, 2025

Finalmente o idioma em Portugues do Brasil verá a luz do dia (se tudo correr bem).

What has been done:

  • Added pt-BR to .i18nrc.cjs and settings

  • Included loaders in src/i18n.ts and apps/desktop-ui/src/i18n.ts

  • Now Portuguese (BR) is displayed in the language selector

  • Created empty main.json, commands.json, settings.json and nodeDefs.json files to be populated by CI

  • Checklist: the language appears in the dropdown list, selection occurs without errors, the fallback to English, in case technical terms have no translation, is working correctly.

  • I will maintain the pt-br translation and review for as long as necessary.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Nov 26, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 26, 2025

Warning

Rate limit exceeded

@JonatanAtila has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 4 minutes and 0 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 2ba2662 and e9de197.

📒 Files selected for processing (4)
  • src/locales/pt-BR/commands.json (1 hunks)
  • src/locales/pt-BR/main.json (1 hunks)
  • src/locales/pt-BR/nodeDefs.json (1 hunks)
  • src/locales/pt-BR/settings.json (1 hunks)
📝 Walkthrough

Walkthrough

Adds Brazilian Portuguese (pt-BR) locale across build config, UI selector, dynamic locale loaders, core settings, placeholder locale files, and a CODEOWNERS entry.

Changes

Cohort / File(s) Summary
i18n config
\.i18nrc.cjs
Added pt-BR to the outputLocales array.
Locale loader registration
apps/desktop-ui/src/i18n.ts, src/i18n.ts
Registered pt-BR in localeLoaders, nodeDefsLoaders, commandsLoaders, and settingsLoaders, pointing to @frontend-locales/pt-BR/* JSON files.
UI components
apps/desktop-ui/src/components/common/LanguageSelector.vue
Inserted Portuguese (Brazil) option ('pt-BR', 'Português (BR)') into the LOCALES list.
Core settings
src/platform/settings/constants/coreSettings.ts
Added { value: 'pt-BR', text: 'Português (BR)' } to the Comfy.Locale options in CORE_SETTINGS.
Locale files (new)
src/locales/pt-BR/*
Added placeholder translation files: main.json, commands.json, nodeDefs.json, settings.json (each currently empty or {}).
Repository ownership
CODEOWNERS
Added ownership entry for /src/locales/pt-BR/.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  participant UI as Language Selector
  participant Loader as i18n Loader Maps
  participant FS as Locale JSON files

  Note over UI,Loader: User selects "pt-BR"
  UI->>Loader: request loader('pt-BR')
  Loader-->>UI: return loader function(s)
  UI->>FS: invoke loader → import `@frontend-locales/pt-BR/main.json` (and nodeDefs/commands/settings)
  FS-->>UI: return JSON (empty placeholders)
  UI->>UI: apply translations / render
Loading
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Nov 26, 2025

🎨 Storybook Build Status

loading Build is starting...

⏰ Started at: 11/27/2025, 02:50:11 PM UTC

🚀 Building Storybook

  • 📦 Installing dependencies...
  • 🔧 Building Storybook components...
  • 🌐 Preparing deployment to Cloudflare Pages...

⏱️ Please wait while the Storybook build is in progress...

@github-actions
Copy link

github-actions bot commented Nov 26, 2025

🎭 Playwright Test Results

⚠️ Tests passed with flaky tests

⏰ Completed at: 11/27/2025, 08:20:34 PM UTC

📈 Summary

  • Total Tests: 496
  • Passed: 485 ✅
  • Failed: 0
  • Flaky: 2 ⚠️
  • Skipped: 9 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 476 / ❌ 0 / ⚠️ 2 / ⏭️ 9
  • chromium-2x: View Report • ✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • chromium-0.5x: View Report • ✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • mobile-chrome: View Report • ✅ 6 / ❌ 0 / ⚠️ 0 / ⏭️ 0

🎉 Click on the links above to view detailed test results for each browser configuration.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
src/i18n.ts (1)

26-89: pt-BR loader wiring looks consistent; double-check ESLint unresolved-module hints

The new 'pt-BR' (and 'zh-TW') entries are wired consistently across localeLoaders, nodeDefsLoaders, commandsLoaders, and settingsLoaders, and the pt-BR paths match the new files under src/locales/pt-BR, so the runtime side looks good.

ESLint’s import-x/no-unresolved warnings on these lines suggest either:

  • the corresponding zh-TW / pt-BR JSON files aren’t visible to the resolver in your lint environment, or
  • the resolver/plugin doesn’t handle these hyphenated directory names well.

I’d recommend:

  • Re-running the lint task locally to confirm it passes with the new files present, and
  • If warnings persist, either updating the import resolver config or adding a targeted disable comment for these loader maps (similar to the desktop i18n file) so the rule doesn’t block CI on what is effectively a false positive.
apps/desktop-ui/src/i18n.ts (1)

31-93: Desktop i18n loaders correctly extended for pt-BR

The new 'pt-BR' (and 'zh-TW') entries are added consistently across all loader maps and match the @frontend-locales alias pattern used for other languages. With the existing loadLocale logic, pt-BR should load and register correctly when selected.

If you ever revisit default-locale detection, you might consider using the full navigator.language (e.g. recognizing pt-BR / zh-TW directly) instead of truncating to the base language, but that’s pre-existing and non-blocking.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5ff3a0e and 46fbdf1.

📒 Files selected for processing (9)
  • .i18nrc.cjs (1 hunks)
  • apps/desktop-ui/src/components/common/LanguageSelector.vue (1 hunks)
  • apps/desktop-ui/src/i18n.ts (4 hunks)
  • src/i18n.ts (4 hunks)
  • src/locales/pt-BR/commands.json (1 hunks)
  • src/locales/pt-BR/main.json (1 hunks)
  • src/locales/pt-BR/nodeDefs.json (1 hunks)
  • src/locales/pt-BR/settings.json (1 hunks)
  • src/platform/settings/constants/coreSettings.ts (1 hunks)
🧰 Additional context used
📓 Path-based instructions (13)
**/*.{vue,ts,tsx}

📄 CodeRabbit inference engine (.cursorrules)

**/*.{vue,ts,tsx}: Leverage VueUse functions for performance-enhancing utilities
Use vue-i18n in Composition API for any string literals and place new translation entries in src/locales/en/main.json

Files:

  • src/i18n.ts
  • apps/desktop-ui/src/i18n.ts
  • apps/desktop-ui/src/components/common/LanguageSelector.vue
  • src/platform/settings/constants/coreSettings.ts
**/*.{ts,tsx,js}

📄 CodeRabbit inference engine (.cursorrules)

Use es-toolkit for utility functions

Files:

  • src/i18n.ts
  • apps/desktop-ui/src/i18n.ts
  • src/platform/settings/constants/coreSettings.ts
**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursorrules)

Use TypeScript for type safety

**/*.{ts,tsx}: Never use any type - use proper TypeScript types
Never use as any type assertions - fix the underlying type issue

Files:

  • src/i18n.ts
  • apps/desktop-ui/src/i18n.ts
  • src/platform/settings/constants/coreSettings.ts
**/*.{ts,tsx,js,vue}

📄 CodeRabbit inference engine (.cursorrules)

Implement proper error handling in components and services

**/*.{ts,tsx,js,vue}: Use 2-space indentation, single quotes, no semicolons, and maintain 80-character line width as configured in .prettierrc
Organize imports by sorting and grouping by plugin, and run pnpm format before committing

Files:

  • src/i18n.ts
  • apps/desktop-ui/src/i18n.ts
  • apps/desktop-ui/src/components/common/LanguageSelector.vue
  • src/platform/settings/constants/coreSettings.ts
src/**/*.{vue,ts}

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

src/**/*.{vue,ts}: Leverage VueUse functions for performance-enhancing styles
Implement proper error handling
Use vue-i18n in composition API for any string literals. Place new translation entries in src/locales/en/main.json

Files:

  • src/i18n.ts
  • src/platform/settings/constants/coreSettings.ts
src/**/*.ts

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

src/**/*.ts: Use es-toolkit for utility functions
Use TypeScript for type safety

Files:

  • src/i18n.ts
  • src/platform/settings/constants/coreSettings.ts
**/*.{ts,tsx,js,jsx,vue}

📄 CodeRabbit inference engine (CLAUDE.md)

Use camelCase for variable and setting names in TypeScript/Vue files

Files:

  • src/i18n.ts
  • apps/desktop-ui/src/i18n.ts
  • apps/desktop-ui/src/components/common/LanguageSelector.vue
  • src/platform/settings/constants/coreSettings.ts
**/*.{ts,tsx,vue}

📄 CodeRabbit inference engine (CLAUDE.md)

**/*.{ts,tsx,vue}: Use const settingStore = useSettingStore() and settingStore.get('Comfy.SomeSetting') to retrieve settings in TypeScript/Vue files
Use await settingStore.set('Comfy.SomeSetting', newValue) to update settings in TypeScript/Vue files
Check server capabilities using api.serverSupportsFeature('feature_name') before using enhanced features
Use api.getServerFeature('config_name', defaultValue) to retrieve server feature configuration

Enforce ESLint rules for Vue + TypeScript including: no floating promises, no unused imports, and i18n raw text restrictions in templates

Files:

  • src/i18n.ts
  • apps/desktop-ui/src/i18n.ts
  • apps/desktop-ui/src/components/common/LanguageSelector.vue
  • src/platform/settings/constants/coreSettings.ts
**/*.ts

📄 CodeRabbit inference engine (CLAUDE.md)

**/*.ts: Define dynamic setting defaults using runtime context with functions in settings configuration
Use defaultsByInstallVersion property for gradual feature rollout based on version in settings configuration

Files:

  • src/i18n.ts
  • apps/desktop-ui/src/i18n.ts
  • src/platform/settings/constants/coreSettings.ts
src/**/*.{ts,tsx,vue}

📄 CodeRabbit inference engine (src/CLAUDE.md)

src/**/*.{ts,tsx,vue}: Sanitize HTML with DOMPurify to prevent XSS attacks
Avoid using @ts-expect-error; use proper TypeScript types instead
Use es-toolkit for utility functions instead of other utility libraries
Implement proper TypeScript types throughout the codebase

Files:

  • src/i18n.ts
  • src/platform/settings/constants/coreSettings.ts
src/**/*.{vue,ts,tsx}

📄 CodeRabbit inference engine (src/CLAUDE.md)

Follow Vue 3 composition API style guide

Files:

  • src/i18n.ts
  • src/platform/settings/constants/coreSettings.ts
**/*.vue

📄 CodeRabbit inference engine (.cursorrules)

**/*.vue: Use setup() function for component logic in Vue 3 Composition API
Utilize ref and reactive for reactive state in Vue 3
Implement computed properties with computed() function
Use watch and watchEffect for side effects in Vue 3
Implement lifecycle hooks with onMounted, onUpdated, etc.
Utilize provide/inject for dependency injection in Vue 3
Use Vue 3.5 style of default prop declaration with defineProps()
Organize Vue components in <script> <style> order
Use Tailwind CSS for styling Vue components
Implement responsive design with Tailwind CSS
Do not use deprecated PrimeVue components (Dropdown, OverlayPanel, Calendar, InputSwitch, Sidebar, Chips, TabMenu, Steps, InlineMessage). Use replacements: Select, Popover, DatePicker, ToggleSwitch, Drawer, AutoComplete, Tabs, Stepper, Message respectively
Implement proper props and emits definitions in Vue components
Utilize Vue 3's Teleport component when needed
Use Suspense for async components in Vue 3
Follow Vue 3 style guide and naming conventions
Never use deprecated PrimeVue components (Dropdown, OverlayPanel, Calendar, InputSwitch, Sidebar, Chips, TabMenu, Steps, InlineMessage)

Never use :class="[]" to merge class names - always use import { cn } from '@/utils/tailwindUtil' for class merging in Vue templates

**/*.vue: Use TypeScript with Vue 3 Single File Components (.vue files)
Name Vue components in PascalCase (e.g., MenuHamburger.vue)

Files:

  • apps/desktop-ui/src/components/common/LanguageSelector.vue
**/*.{vue,html}

📄 CodeRabbit inference engine (CLAUDE.md)

Never use dark: or dark-theme: Tailwind variants - instead use semantic values from style.css theme, e.g. bg-node-component-surface

Files:

  • apps/desktop-ui/src/components/common/LanguageSelector.vue
🧠 Learnings (6)
📓 Common learnings
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:34.324Z
Learning: Applies to src/**/{components,composables}/**/*.{ts,tsx,vue} : Use vue-i18n for ALL user-facing strings by adding them to `src/locales/en/main.json`
📚 Learning: 2025-11-24T19:47:34.324Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:34.324Z
Learning: Applies to src/**/{components,composables}/**/*.{ts,tsx,vue} : Use vue-i18n for ALL user-facing strings by adding them to `src/locales/en/main.json`

Applied to files:

  • src/i18n.ts
  • .i18nrc.cjs
  • apps/desktop-ui/src/i18n.ts
  • apps/desktop-ui/src/components/common/LanguageSelector.vue
📚 Learning: 2025-11-24T19:46:52.279Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: .cursorrules:0-0
Timestamp: 2025-11-24T19:46:52.279Z
Learning: Applies to **/*.{vue,ts,tsx} : Use vue-i18n in Composition API for any string literals and place new translation entries in src/locales/en/main.json

Applied to files:

  • src/i18n.ts
  • .i18nrc.cjs
  • apps/desktop-ui/src/i18n.ts
  • apps/desktop-ui/src/components/common/LanguageSelector.vue
📚 Learning: 2025-11-24T19:47:02.860Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-11-24T19:47:02.860Z
Learning: Applies to src/**/*.{vue,ts} : Use vue-i18n in composition API for any string literals. Place new translation entries in src/locales/en/main.json

Applied to files:

  • src/i18n.ts
  • .i18nrc.cjs
  • apps/desktop-ui/src/i18n.ts
  • apps/desktop-ui/src/components/common/LanguageSelector.vue
📚 Learning: 2025-11-24T19:47:14.779Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:14.779Z
Learning: Applies to **/*.{ts,tsx,vue} : Use `const settingStore = useSettingStore()` and `settingStore.get('Comfy.SomeSetting')` to retrieve settings in TypeScript/Vue files

Applied to files:

  • src/i18n.ts
  • apps/desktop-ui/src/i18n.ts
📚 Learning: 2025-11-24T19:47:45.616Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/components/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:45.616Z
Learning: Applies to src/components/**/*.{vue,ts,js} : Use vue-i18n for ALL UI strings

Applied to files:

  • .i18nrc.cjs
  • apps/desktop-ui/src/i18n.ts
🪛 ESLint
src/i18n.ts

[error] 39-39: Unable to resolve path to module './locales/zh-TW/main.json'.

(import-x/no-unresolved)


[error] 40-40: Unable to resolve path to module './locales/pt-BR/main.json'.

(import-x/no-unresolved)


[error] 55-55: Unable to resolve path to module './locales/zh-TW/nodeDefs.json'.

(import-x/no-unresolved)


[error] 56-56: Unable to resolve path to module './locales/pt-BR/nodeDefs.json'.

(import-x/no-unresolved)


[error] 71-71: Unable to resolve path to module './locales/zh-TW/commands.json'.

(import-x/no-unresolved)


[error] 72-72: Unable to resolve path to module './locales/pt-BR/commands.json'.

(import-x/no-unresolved)


[error] 87-87: Unable to resolve path to module './locales/zh-TW/settings.json'.

(import-x/no-unresolved)


[error] 88-88: Unable to resolve path to module './locales/pt-BR/settings.json'.

(import-x/no-unresolved)

🔇 Additional comments (7)
src/locales/pt-BR/nodeDefs.json (1)

1-1: pt-BR nodeDefs placeholder is fine

Empty object is valid here and matches the new pt-BR nodeDefs loader; CI/i18n tooling can safely populate it later.

src/locales/pt-BR/commands.json (1)

1-1: pt-BR commands placeholder is fine

Structure matches other locale command files; good starting point for generated translations.

src/locales/pt-BR/settings.json (1)

1-1: pt-BR settings placeholder is fine

Valid empty JSON; aligns with the new settings loader entry for pt-BR.

src/locales/pt-BR/main.json (1)

1-1: pt-BR main placeholder is fine

Empty main.json is acceptable as a bootstrap; English will remain the fallback until pt-BR strings are generated.

.i18nrc.cjs (1)

6-13: Config change aligns CLI output with new pt-BR locale

Adding 'pt-BR' to outputLocales matches the new runtime loader keys and will let the i18n CLI generate the corresponding directory; looks correct and consistent with the rest of the PR.

apps/desktop-ui/src/components/common/LanguageSelector.vue (1)

52-64: pt-BR added to LOCALES consistently with the rest of the i18n stack

Including ['pt-BR', 'Português (BR)'] here keeps SupportedLocale and the selector UI in sync with the new loaders and Comfy.Locale settings. The use of st('settings.Comfy_Locale.options.pt-BR', 'Português (BR)') fits the existing pattern—once the settings/i18n pipeline defines that key, the fallback won’t be used.

Just make sure settings.Comfy_Locale.options.pt-BR (and the corresponding option in coreSettings.ts) is present so the label is properly translated across locales.

src/platform/settings/constants/coreSettings.ts (1)

406-423: pt-BR option looks good; double-check default locale detection for regional codes

The new { value: 'pt-BR', text: 'Português (BR)' } entry is consistent with the existing locale options. One thing to verify: defaultValue still uses navigator.language.split('-')[0] || 'en', so for a browser locale of pt-BR this will resolve to 'pt', which is not in the options list. If there isn’t a separate mapping from 'pt''pt-BR' elsewhere, users with a pt-BR browser may not get Brazilian Portuguese as the initial default and might end up with a non-matching setting value.

Please confirm how Comfy.Locale is consumed and whether 'pt' is handled specially; otherwise it may be worth adjusting defaultValue to prefer exact matches (like pt-BR) before falling back to the base language code.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
CODEOWNERS (1)

57-57: Consider adding the general translations team for continuity.

The code ownership entry is correct and appropriate. However, for long-term maintainability, consider including the general translations team alongside the locale-specific maintainer to ensure continuity if the primary maintainer becomes unavailable.

Apply this diff to include backup maintainers:

-/src/locales/pt-BR/                               @JonatanAtila
+/src/locales/pt-BR/                               @JonatanAtila @Yorha4D @KarryCharon @shinshin86
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b8cd9de and 5dec1a7.

📒 Files selected for processing (1)
  • CODEOWNERS (1 hunks)
🧰 Additional context used
🧠 Learnings (4)
📓 Common learnings
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:34.324Z
Learning: Applies to src/**/{components,composables}/**/*.{ts,tsx,vue} : Use vue-i18n for ALL user-facing strings by adding them to `src/locales/en/main.json`
📚 Learning: 2025-11-24T19:47:34.324Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:34.324Z
Learning: Applies to src/**/{components,composables}/**/*.{ts,tsx,vue} : Use vue-i18n for ALL user-facing strings by adding them to `src/locales/en/main.json`

Applied to files:

  • CODEOWNERS
📚 Learning: 2025-11-24T19:47:02.860Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-11-24T19:47:02.860Z
Learning: Applies to src/**/*.{vue,ts} : Use vue-i18n in composition API for any string literals. Place new translation entries in src/locales/en/main.json

Applied to files:

  • CODEOWNERS
📚 Learning: 2025-11-24T19:46:52.279Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: .cursorrules:0-0
Timestamp: 2025-11-24T19:46:52.279Z
Learning: Applies to **/*.{vue,ts,tsx} : Use vue-i18n in Composition API for any string literals and place new translation entries in src/locales/en/main.json

Applied to files:

  • CODEOWNERS

@github-actions
Copy link

github-actions bot commented Nov 27, 2025

Bundle Size Report

Summary

  • Raw size: 17 MB baseline 17 MB — 🔴 +784 B
  • Gzip: 3.37 MB baseline 3.37 MB — 🔴 +507 B
  • Brotli: 2.58 MB baseline 2.58 MB — 🔴 +681 B
  • Bundles: 97 current • 93 baseline • 40 added / 36 removed

Category Glance
App Entry Points 🔴 +564 B (3.18 MB) · Other 🔴 +291 B (3.84 MB) · Graph Workspace 🟢 -110 B (949 kB) · Panels & Settings 🔴 +101 B (298 kB) · UI Components 🟢 -62 B (139 kB) · Vendor & Third-Party ⚪ 0 B (8.56 MB) · + 3 more

Per-category breakdown
App Entry Points — 3.18 MB (baseline 3.18 MB) • 🔴 +564 B

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-CYaVYl_n.js (new) 2.95 MB 🔴 +2.95 MB 🔴 +615 kB 🔴 +467 kB
assets/index-LaXafhbT.js (removed) 2.95 MB 🟢 -2.95 MB 🟢 -615 kB 🟢 -467 kB
assets/index-BebkTqyQ.js (new) 227 kB 🔴 +227 kB 🔴 +48.6 kB 🔴 +40 kB
assets/index-DuBNknjo.js (removed) 227 kB 🟢 -227 kB 🟢 -48.6 kB 🟢 -40 kB
assets/index-CjMVoCOU.js (removed) 345 B 🟢 -345 B 🟢 -243 B 🟢 -208 B
assets/index-D_PIE-_W.js (new) 345 B 🔴 +345 B 🔴 +244 B 🔴 +230 B

Status: 3 added / 3 removed

Graph Workspace — 949 kB (baseline 949 kB) • 🟢 -110 B

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-BgDea4Ci.js (removed) 949 kB 🟢 -949 kB 🟢 -184 kB 🟢 -140 kB
assets/GraphView-DzRkVC_H.js (new) 949 kB 🔴 +949 kB 🔴 +184 kB 🔴 +141 kB

Status: 1 added / 1 removed

Views & Navigation — 6.54 kB (baseline 6.54 kB) • ⚪ 0 B

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/UserSelectView-CHehzdku.js (removed) 6.54 kB 🟢 -6.54 kB 🟢 -2.14 kB 🟢 -1.89 kB
assets/UserSelectView-Dpx2ulV2.js (new) 6.54 kB 🔴 +6.54 kB 🔴 +2.14 kB 🔴 +1.9 kB

Status: 1 added / 1 removed

Panels & Settings — 298 kB (baseline 298 kB) • 🔴 +101 B

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CreditsPanel-BrXcbYh8.js (removed) 21.4 kB 🟢 -21.4 kB 🟢 -5.15 kB 🟢 -4.5 kB
assets/CreditsPanel-CG6iA7xg.js (new) 21.4 kB 🔴 +21.4 kB 🔴 +5.15 kB 🔴 +4.5 kB
assets/KeybindingPanel-DHJfixaF.js (new) 13.6 kB 🔴 +13.6 kB 🔴 +3.42 kB 🔴 +3.02 kB
assets/KeybindingPanel-DvwzO4ek.js (removed) 13.6 kB 🟢 -13.6 kB 🟢 -3.42 kB 🟢 -3.01 kB
assets/ExtensionPanel-Cn_vtCjN.js (removed) 10.8 kB 🟢 -10.8 kB 🟢 -2.57 kB 🟢 -2.25 kB
assets/ExtensionPanel-DVgdZwcR.js (new) 10.8 kB 🔴 +10.8 kB 🔴 +2.57 kB 🔴 +2.25 kB
assets/AboutPanel-ClFqNanO.js (removed) 9.16 kB 🟢 -9.16 kB 🟢 -2.46 kB 🟢 -2.21 kB
assets/AboutPanel-CWc5TnI4.js (new) 9.16 kB 🔴 +9.16 kB 🔴 +2.46 kB 🔴 +2.21 kB
assets/ServerConfigPanel-CtvojWf1.js (removed) 6.56 kB 🟢 -6.56 kB 🟢 -1.83 kB 🟢 -1.63 kB
assets/ServerConfigPanel-sMs1CTWD.js (new) 6.56 kB 🔴 +6.56 kB 🔴 +1.83 kB 🔴 +1.62 kB
assets/UserPanel-Byd3NJL9.js (new) 6.23 kB 🔴 +6.23 kB 🔴 +1.72 kB 🔴 +1.51 kB
assets/UserPanel-DC1TxXE1.js (removed) 6.23 kB 🟢 -6.23 kB 🟢 -1.72 kB 🟢 -1.51 kB
assets/settings-BhbWhsRg.js (new) 101 B 🔴 +101 B 🔴 +107 B 🔴 +84 B
assets/settings-BXTtSH4O.js 33.3 kB 33.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-C9Pzn-NG.js 25.2 kB 25.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-CCy2fA_h.js 27.3 kB 27.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-CQpqEFfl.js 26.6 kB 26.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DHcnxypw.js 21.7 kB 21.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DhFTK9fY.js 25.1 kB 25.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DlT4t_ui.js 25.9 kB 25.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DRgSrIdD.js 24.2 kB 24.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-tjkeqiZq.js 21.1 kB 21.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 7 added / 6 removed

UI Components — 139 kB (baseline 139 kB) • 🟢 -62 B

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/Load3D.vue_vue_type_script_setup_true_lang-D3pU8HAn.js (removed) 53.9 kB 🟢 -53.9 kB 🟢 -8.52 kB 🟢 -7.32 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-fpL-uvLv.js (new) 53.9 kB 🔴 +53.9 kB 🔴 +8.52 kB 🔴 +7.31 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-Byt8iIUV.js (removed) 47 kB 🟢 -47 kB 🟢 -10.1 kB 🟢 -8.78 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-CnLdkvjy.js (new) 46.9 kB 🔴 +46.9 kB 🔴 +10.1 kB 🔴 +8.77 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-CNX-ukwS.js (new) 12.8 kB 🔴 +12.8 kB 🔴 +3.35 kB 🔴 +2.96 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-FaYJhZF2.js (removed) 12.8 kB 🟢 -12.8 kB 🟢 -3.35 kB 🟢 -2.96 kB
assets/ComfyQueueButton-B9f5DUY6.js (new) 8.44 kB 🔴 +8.44 kB 🔴 +2.48 kB 🔴 +2.21 kB
assets/ComfyQueueButton-JCrZPvcE.js (removed) 8.44 kB 🟢 -8.44 kB 🟢 -2.47 kB 🟢 -2.21 kB
assets/MediaTitle.vue_vue_type_script_setup_true_lang-D5J2OVmJ.js (removed) 897 B 🟢 -897 B 🟢 -503 B 🟢 -461 B
assets/MediaTitle.vue_vue_type_script_setup_true_lang-DwJymH9v.js (new) 897 B 🔴 +897 B 🔴 +501 B 🔴 +438 B
assets/LazyImage.vue_vue_type_script_setup_true_lang-Pm3jgX4e.js 10.8 kB 10.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/UserAvatar.vue_vue_type_script_setup_true_lang-Bs-EIQeq.js 1.34 kB 1.34 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetButton-CsMa_P26.js 2.04 kB 2.04 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-Cf8dNyi2.js 2 kB 2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 5 added / 5 removed

Data & Services — 12.5 kB (baseline 12.5 kB) • ⚪ 0 B

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/keybindingService-CAzUHJYK.js (new) 7.51 kB 🔴 +7.51 kB 🔴 +1.83 kB 🔴 +1.58 kB
assets/keybindingService-DMlD5kpz.js (removed) 7.51 kB 🟢 -7.51 kB 🟢 -1.83 kB 🟢 -1.59 kB
assets/audioService-CDCP02Ha.js (removed) 2.2 kB 🟢 -2.2 kB 🟢 -958 B 🟢 -825 B
assets/audioService-ClPJCuAJ.js (new) 2.2 kB 🔴 +2.2 kB 🔴 +958 B 🔴 +818 B
assets/serverConfigStore-B5NW8oSr.js 2.83 kB 2.83 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 2 added / 2 removed

Utilities & Hooks — 2.94 kB (baseline 2.94 kB) • ⚪ 0 B

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/audioUtils-BWkYNACO.js (new) 1.41 kB 🔴 +1.41 kB 🔴 +651 B 🔴 +547 B
assets/audioUtils-gchHXUSR.js (removed) 1.41 kB 🟢 -1.41 kB 🟢 -649 B 🟢 -547 B
assets/mathUtil-CTARWQ-l.js 1.07 kB 1.07 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeFilterUtil-CXKCRJ-m.js 460 B 460 B ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 1 added / 1 removed

Vendor & Third-Party — 8.56 MB (baseline 8.56 MB) • ⚪ 0 B

External libraries and shared vendor chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/vendor-chart-uhYFfslB.js 452 kB 452 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-other-DisjWJFj.js 3.98 MB 3.98 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-primevue-LncEKxae.js 1.96 MB 1.96 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-three-aR6ntw5X.js 1.37 MB 1.37 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-tiptap-C4yk8cCR.js 232 kB 232 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-vue-tw3tq7KH.js 160 kB 160 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-xterm-BZLod3g9.js 407 kB 407 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
Other — 3.84 MB (baseline 3.84 MB) • 🔴 +291 B

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/WidgetRecordAudio-CqBXyitJ.js (removed) 20.4 kB 🟢 -20.4 kB 🟢 -5.23 kB 🟢 -4.63 kB
assets/WidgetRecordAudio-DDdLC-Gr.js (new) 20.4 kB 🔴 +20.4 kB 🔴 +5.24 kB 🔴 +4.63 kB
assets/AudioPreviewPlayer-CyfjY-Lo.js (removed) 13.5 kB 🟢 -13.5 kB 🟢 -3.4 kB 🟢 -3.04 kB
assets/AudioPreviewPlayer-CyLdi9s-.js (new) 13.5 kB 🔴 +13.5 kB 🔴 +3.4 kB 🔴 +3.04 kB
assets/WidgetGalleria-DgWFcMoA.js (removed) 4.1 kB 🟢 -4.1 kB 🟢 -1.45 kB 🟢 -1.3 kB
assets/WidgetGalleria-Dk-vvn_g.js (new) 4.1 kB 🔴 +4.1 kB 🔴 +1.45 kB 🔴 +1.3 kB
assets/WidgetColorPicker-RIBAozo3.js (removed) 3.41 kB 🟢 -3.41 kB 🟢 -1.38 kB 🟢 -1.23 kB
assets/WidgetColorPicker-uj4mycOh.js (new) 3.41 kB 🔴 +3.41 kB 🔴 +1.38 kB 🔴 +1.23 kB
assets/WidgetMarkdown-Dd2OPV4p.js (removed) 3.1 kB 🟢 -3.1 kB 🟢 -1.29 kB 🟢 -1.13 kB
assets/WidgetMarkdown-Drkhykr3.js (new) 3.1 kB 🔴 +3.1 kB 🔴 +1.29 kB 🔴 +1.12 kB
assets/WidgetAudioUI-BTkxHv5C.js (removed) 2.82 kB 🟢 -2.82 kB 🟢 -1.12 kB 🟢 -1.02 kB
assets/WidgetAudioUI-CXPHEwAp.js (new) 2.82 kB 🔴 +2.82 kB 🔴 +1.12 kB 🔴 +1.01 kB
assets/WidgetTextarea-CVH44kUt.js (removed) 2.48 kB 🟢 -2.48 kB 🟢 -1.01 kB 🟢 -894 B
assets/WidgetTextarea-Z0kp9g4u.js (new) 2.48 kB 🔴 +2.48 kB 🔴 +1.01 kB 🔴 +899 B
assets/WidgetInputText-B58zGMRD.js (removed) 1.99 kB 🟢 -1.99 kB 🟢 -919 B 🟢 -848 B
assets/WidgetInputText-CXqqZKXZ.js (new) 1.99 kB 🔴 +1.99 kB 🔴 +918 B 🔴 +852 B
assets/MediaImageBottom-3MRm5rut.js (removed) 1.57 kB 🟢 -1.57 kB 🟢 -743 B 🟢 -643 B
assets/MediaImageBottom-DKtHH15v.js (new) 1.57 kB 🔴 +1.57 kB 🔴 +740 B 🔴 +643 B
assets/MediaAudioBottom-CoUhuwcd.js (removed) 1.52 kB 🟢 -1.52 kB 🟢 -741 B 🟢 -656 B
assets/MediaAudioBottom-COUkv5Pg.js (new) 1.52 kB 🔴 +1.52 kB 🔴 +741 B 🔴 +656 B
assets/MediaVideoBottom-BC7W8S-a.js (removed) 1.52 kB 🟢 -1.52 kB 🟢 -740 B 🟢 -654 B
assets/MediaVideoBottom-BtAQRF0g.js (new) 1.52 kB 🔴 +1.52 kB 🔴 +739 B 🔴 +654 B
assets/Media3DBottom-DJck3RUy.js (removed) 1.5 kB 🟢 -1.5 kB 🟢 -733 B 🟢 -646 B
assets/Media3DBottom-r-hep5NT.js (new) 1.5 kB 🔴 +1.5 kB 🔴 +731 B 🔴 +650 B
assets/Media3DTop-CtMIOhPh.js (new) 1.49 kB 🔴 +1.49 kB 🔴 +766 B 🔴 +650 B
assets/Media3DTop-DLyK3V-C.js (removed) 1.49 kB 🟢 -1.49 kB 🟢 -765 B 🟢 -649 B
assets/WidgetSelect-BcLIzZVN.js (removed) 655 B 🟢 -655 B 🟢 -344 B 🟢 -289 B
assets/WidgetSelect-DhkuxA77.js (new) 655 B 🔴 +655 B 🔴 +342 B 🔴 +285 B
assets/WidgetInputNumber-DclwHEMb.js (new) 595 B 🔴 +595 B 🔴 +329 B 🔴 +274 B
assets/WidgetInputNumber-DtT4CDCm.js (removed) 595 B 🟢 -595 B 🟢 -329 B 🟢 -277 B
assets/Load3D-DEp9WCe8.js (new) 424 B 🔴 +424 B 🔴 +265 B 🔴 +222 B
assets/Load3D-DQO6CLgQ.js (removed) 424 B 🟢 -424 B 🟢 -268 B 🟢 -223 B
assets/WidgetLegacy-BhXdlmdZ.js (new) 364 B 🔴 +364 B 🔴 +235 B 🔴 +193 B
assets/WidgetLegacy-CKrBusZs.js (removed) 364 B 🟢 -364 B 🟢 -234 B 🟢 -196 B
assets/commands-BWp4HdfU.js (new) 101 B 🔴 +101 B 🔴 +107 B 🔴 +82 B
assets/nodeDefs-Bw_Jitw_.js (new) 101 B 🔴 +101 B 🔴 +107 B 🔴 +92 B
assets/main-Cw9RZWRY.js (new) 89 B 🔴 +89 B 🔴 +103 B 🔴 +81 B
assets/commands-_s-RvhJR.js 13.6 kB 13.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-BuUILW6P.js 13 kB 13 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-BV4R6fLx.js 14.9 kB 14.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CLwPdnT6.js 14.2 kB 14.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CWMchBmd.js 15.9 kB 15.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DazTQhtc.js 12.9 kB 12.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DmWrOe93.js 13.7 kB 13.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DwiH7Kr6.js 13.8 kB 13.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-mS3LCNPn.js 14.5 kB 14.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-5lOBdqcC.js 84.5 kB 84.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-BOCuaVpE.js 73.4 kB 73.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-ClrEFGUz.js 72.4 kB 72.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CyNU0iQX.js 99.3 kB 99.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-D7gwLxft.js 114 kB 114 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DC8o4BCt.js 86.8 kB 86.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DKiesCV4.js 94.3 kB 94.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-Hq2q-OtB.js 83.6 kB 83.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-USAlAlnj.js 82 kB 82 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaAudioTop-Bqc4HR5L.js 1.46 kB 1.46 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaImageTop-DbyT2UjV.js 1.75 kB 1.75 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaVideoTop-6PQqfKb3.js 2.76 kB 2.76 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-_Px5dSNW.js 306 kB 306 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-7z21KPoS.js 285 kB 285 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-BWKZzBPK.js 346 kB 346 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CGbgH4Yl.js 320 kB 320 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CjjjdWkV.js 313 kB 313 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CVrNtxvj.js 288 kB 288 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-DLRSA0IK.js 309 kB 309 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-DQV2gnwA.js 372 kB 372 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-ofqLG5vz.js 310 kB 310 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetChart-C9sMH5oS.js 2.48 kB 2.48 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetImageCompare-D4gTOuOo.js 2.21 kB 2.21 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/widgetPropFilter-BIbGSUAt.js 1.28 kB 1.28 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetToggleSwitch-CBRsIck7.js 1.58 kB 1.58 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 20 added / 17 removed

@Myestery Myestery added the claude-review Add to trigger a PR code review from Claude Code label Nov 27, 2025
Initialize settings.json for Brazilian Portuguese locale
Initialize main.json for Brazilian Portuguese locale
Initialize commands.json for Brazilian Portuguese locale
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 906fa5e and b52e33b.

📒 Files selected for processing (4)
  • src/locales/pt-BR/commands.json (1 hunks)
  • src/locales/pt-BR/main.json (1 hunks)
  • src/locales/pt-BR/nodeDefs.json (1 hunks)
  • src/locales/pt-BR/settings.json (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:34.324Z
Learning: Applies to src/**/{components,composables}/**/*.{ts,tsx,vue} : Use vue-i18n for ALL user-facing strings by adding them to `src/locales/en/main.json`
🪛 Biome (2.1.2)
src/locales/pt-BR/commands.json

[error] 1-1: Expected an array, an object, or a literal but instead found the end of the file.

Expected an array, an object, or a literal here.

(parse)

src/locales/pt-BR/main.json

[error] 1-1: Expected an array, an object, or a literal but instead found the end of the file.

Expected an array, an object, or a literal here.

(parse)

src/locales/pt-BR/nodeDefs.json

[error] 1-1: Expected an array, an object, or a literal but instead found the end of the file.

Expected an array, an object, or a literal here.

(parse)

src/locales/pt-BR/settings.json

[error] 1-1: Expected an array, an object, or a literal but instead found the end of the file.

Expected an array, an object, or a literal here.

(parse)

🔇 Additional comments (1)
src/locales/pt-BR/settings.json (1)

1-1: I'll verify the current state of the file and the project's locale handling to validate the review comment's concerns.
<function_calls>


#!/bin/bash

1. Check exact content of the settings.json file

echo "=== Content of src/locales/pt-BR/settings.json ==="
cat -A src/locales/pt-BR/settings.json 2>&1 | head -20

2. Check file size

echo -e "\n=== File size ==="
wc -l src/locales/pt-BR/settings.json 2>&1

3. Verify with jq if it's valid JSON

echo -e "\n=== JSON validation with jq ==="
jq empty src/locales/pt-BR/settings.json 2>&1

4. Check other pt-BR locale files

echo -e "\n=== Other pt-BR locale files ==="
find src/locales/pt-BR -type f -name "*.json" 2>/dev/null | sort
</function_calls>

<function_calls>


#!/bin/bash

Verify each pt-BR locale file's validity

echo "=== Validating all pt-BR locale files ==="
for file in $(find src/locales/pt-BR -type f -name "*.json" 2>/dev/null | sort); do
echo "File: $file"
echo -n " Content: "
cat "$file" | head -1
echo -n " JQ validation: "
if jq empty "$file" 2>&1; then
echo "✓ VALID"
else
echo "✗ INVALID"
fi
echo ""
done


</function_calls>

<function_calls>


#!/bin/bash

Search for CI/build configuration that might handle locale files

echo "=== Searching for CI configuration ==="
find . -type f ( -name ".github" -o -name ".yml" -o -name ".yaml" -o -name ".gitignore" -o -name "package.json" -o -name "tsconfig.json" ) 2>/dev/null | head -20

echo -e "\n=== Checking for locale-related build scripts ==="
rg -l "locale|i18n|pt-BR" --type=json --type=yaml --type=ts --max-count=20 2>/dev/null | head -20


</function_calls>

<function_calls>


#!/bin/bash

Check for locale loading/parsing logic

echo "=== Searching for locale loading code ==="
rg -nC3 "locales|pt-BR|i18n.*load|import.*locale" --type=ts --type=js --max-count=50 2>/dev/null | head -100


</function_calls>

<function_calls>


#!/bin/bash

Find how locales are structured - check other locale directories

echo "=== Directory structure of locales ==="
find src/locales -type d 2>/dev/null | sort

echo -e "\n=== Comparing locale file structure across languages ==="
for lang_dir in $(find src/locales -maxdepth 1 -type d ! -name "locales" 2>/dev/null | head -5); do
echo "Language dir: $lang_dir"
ls -la "$lang_dir"/*.json 2>/dev/null | awk '{print $NF}' | head -5
echo ""
done


</function_calls>

@Myestery Myestery self-assigned this Nov 27, 2025
Copy link
Contributor

@christian-byrne christian-byrne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JonatanAtila Thanks for contributing and volunteering to help maintain the pt-BR locales. Really appreciated!

@christian-byrne christian-byrne merged commit e248ecf into Comfy-Org:main Nov 27, 2025
28 checks passed
@christian-byrne
Copy link
Contributor

christian-byrne commented Nov 27, 2025

@JonatanAtila Just one thing to note: currently, we have a bug in the scripts that generate locales (for all languages). This is not related to your PR, it was a pre-existing bug. So until that is fixed (<1 week), the pt-BR locales won't be generated. Thanks for your patience.

cc: @snomiao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-review Add to trigger a PR code review from Claude Code size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants