Skip to content

Conversation

@DorotaLuna
Copy link
Contributor

@DorotaLuna DorotaLuna commented Dec 29, 2025

Summary

Reorder keys in json, align with english version (line to line), to make proofreading and supplementary easily.

Supplement untranslated content in nodeDefs.

Changes

zh Locale changes.

┆Issue is synchronized with this Notion page by Unito

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

coderabbitai bot commented Dec 29, 2025

📝 Walkthrough

Walkthrough

Updates Chinese locale files: adds two new translation keys and tooltip/option metadata in settings, and removes duplicate entries in the commands file. No functional code changes.

Changes

Cohort / File(s) Summary
Commands localization
src/locales/zh/commands.json
Adds Comfy_Canvas_ToggleSelected_Pin ("固定/取消固定选中项") and Workspace_ToggleBottomPanel_Shortcuts ("显示快捷键对话框") while removing duplicate/composed instances of those keys.
Settings localization and metadata
src/locales/zh/settings.json
Adds/clarifies tooltips and descriptions for many UI settings (e.g., Comfy_Execution_PreviewMethod, Comfy_Load3D_CameraType, Comfy_Workflow_AutoSave), reorders option mappings across multiple settings, and updates several option labels without altering runtime behavior.

Possibly related PRs

  • [i18n] update zh #7761: Edits the same Chinese locale files (src/locales/zh/*.json) and touches overlapping keys such as Comfy_Execution_PreviewMethod, suggesting a direct localization overlap.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@github-actions
Copy link

github-actions bot commented Dec 29, 2025

🎨 Storybook Build Status

loading Build is starting...

⏰ Started at: 01/04/2026, 03:02:34 AM 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 Dec 29, 2025

🎭 Playwright Test Results

⚠️ Tests passed with flaky tests

⏰ Completed at: 01/04/2026, 03:21:44 AM UTC

📈 Summary

  • Total Tests: 513
  • Passed: 504 ✅
  • Failed: 0
  • Flaky: 1 ⚠️
  • Skipped: 8 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 494 / ❌ 0 / ⚠️ 0 / ⏭️ 8
  • chromium-2x: View Report • ✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • chromium-0.5x: View Report • ✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • mobile-chrome: View Report • ✅ 7 / ❌ 0 / ⚠️ 1 / ⏭️ 0

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

@christian-byrne christian-byrne added the area:i18n Anything related to translation label Dec 30, 2025
@comfyui-wiki
Copy link
Member

This PR changes the ordering of many keys but does not update the translation, which makes the review difficult. I have created a tool here, reviewing now

image

@comfyui-wiki
Copy link
Member

The main changes in this PR are adding many missing nodeDef translations. All LGTM.

More deatils

settings.json

There are no translation updates.

image

main.json

Added 3 new translations, all LGTM

image

nodeDefs.json

Added 649 new keys. All new values seem good.

image

commands.json

There are no translation updates.

image

@comfyui-wiki
Copy link
Member

@DorotaLuna, this branch is outdated. Can you update it and solve the conflict?

@github-actions
Copy link

github-actions bot commented Dec 31, 2025

Bundle Size Report

Summary

  • Raw size: 17.3 MB baseline 17.3 MB — 🔴 +33.1 kB
  • Gzip: 3.55 MB baseline 3.54 MB — 🔴 +5.15 kB
  • Brotli: 2.71 MB baseline 2.7 MB — 🔴 +3.6 kB
  • Bundles: 98 current • 98 baseline • 47 added / 47 removed

Category Glance
Other 🔴 +33.1 kB (3.5 MB) · Vendor & Third-Party ⚪ 0 B (9.12 MB) · App Entry Points ⚪ 0 B (3.21 MB) · Graph Workspace ⚪ 0 B (1000 kB) · Panels & Settings ⚪ 0 B (300 kB) · UI Components ⚪ 0 B (199 kB) · + 3 more

Per-category breakdown
App Entry Points — 3.21 MB (baseline 3.21 MB) • ⚪ 0 B

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-BA5eZMZ8.js (removed) 3.02 MB 🟢 -3.02 MB 🟢 -634 kB 🟢 -482 kB
assets/index-yY8G8Qfv.js (new) 3.02 MB 🔴 +3.02 MB 🔴 +634 kB 🔴 +482 kB
assets/index-BbUCUKZs.js (new) 194 kB 🔴 +194 kB 🔴 +42.3 kB 🔴 +35.1 kB
assets/index-CRAS7mlZ.js (removed) 194 kB 🟢 -194 kB 🟢 -42.3 kB 🟢 -35.1 kB
assets/index-BVkfW3L9.js (new) 345 B 🔴 +345 B 🔴 +247 B 🔴 +201 B
assets/index-Dliiq7GE.js (removed) 345 B 🟢 -345 B 🟢 -246 B 🟢 -202 B

Status: 3 added / 3 removed

Graph Workspace — 1000 kB (baseline 1000 kB) • ⚪ 0 B

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-DXNAUqTa.js (new) 1000 kB 🔴 +1000 kB 🔴 +194 kB 🔴 +148 kB
assets/GraphView-RZbHHAs9.js (removed) 1000 kB 🟢 -1000 kB 🟢 -194 kB 🟢 -148 kB

Status: 1 added / 1 removed

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

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/UserSelectView-Bfhyz6CQ.js (removed) 6.63 kB 🟢 -6.63 kB 🟢 -2.15 kB 🟢 -1.9 kB
assets/UserSelectView-C5p57CVE.js (new) 6.63 kB 🔴 +6.63 kB 🔴 +2.15 kB 🔴 +1.9 kB

Status: 1 added / 1 removed

Panels & Settings — 300 kB (baseline 300 kB) • ⚪ 0 B

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/LegacyCreditsPanel-BTj4WiCP.js (removed) 22.7 kB 🟢 -22.7 kB 🟢 -5.26 kB 🟢 -4.6 kB
assets/LegacyCreditsPanel-C6Cda-6O.js (new) 22.7 kB 🔴 +22.7 kB 🔴 +5.26 kB 🔴 +4.6 kB
assets/settings-AN2JfZVQ.js (removed) 21.7 kB 🟢 -21.7 kB 🟢 -6.63 kB 🟢 -5.33 kB
assets/settings-MzsBgiwB.js (new) 21.7 kB 🔴 +21.7 kB 🔴 +6.64 kB 🔴 +5.32 kB
assets/KeybindingPanel-BFndb53Z.js (new) 14.8 kB 🔴 +14.8 kB 🔴 +3.58 kB 🔴 +3.13 kB
assets/KeybindingPanel-DAvzJxkS.js (removed) 14.8 kB 🟢 -14.8 kB 🟢 -3.58 kB 🟢 -3.12 kB
assets/ExtensionPanel-BUqnVMs6.js (new) 11.1 kB 🔴 +11.1 kB 🔴 +2.62 kB 🔴 +2.3 kB
assets/ExtensionPanel-BY0XlxQJ.js (removed) 11.1 kB 🟢 -11.1 kB 🟢 -2.62 kB 🟢 -2.3 kB
assets/AboutPanel-B3i-r3u8.js (removed) 9.16 kB 🟢 -9.16 kB 🟢 -2.46 kB 🟢 -2.21 kB
assets/AboutPanel-D_lGuhEz.js (new) 9.16 kB 🔴 +9.16 kB 🔴 +2.46 kB 🔴 +2.21 kB
assets/ServerConfigPanel-BVNTe585.js (new) 7.51 kB 🔴 +7.51 kB 🔴 +2.05 kB 🔴 +1.81 kB
assets/ServerConfigPanel-Dk6UqSeW.js (removed) 7.51 kB 🟢 -7.51 kB 🟢 -2.05 kB 🟢 -1.81 kB
assets/UserPanel-EpQrjdkr.js (new) 6.88 kB 🔴 +6.88 kB 🔴 +1.79 kB 🔴 +1.57 kB
assets/UserPanel-kN7QRKuQ.js (removed) 6.88 kB 🟢 -6.88 kB 🟢 -1.79 kB 🟢 -1.57 kB
assets/settings-BhbWhsRg.js 101 B 101 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-BIdKi-OT.js 26.2 kB 26.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-Bu3OR-lX.js 24.6 kB 24.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-ByL6gy5c.js 25.4 kB 25.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-CjlRFMdL.js 32.8 kB 32.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DkGwvylK.js 26.9 kB 26.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-Dyd027Dx.js 24.7 kB 24.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-wwBxqLH5.js 21.3 kB 21.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-xx2Yb6R2.js 23.8 kB 23.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 7 added / 7 removed

UI Components — 199 kB (baseline 199 kB) • ⚪ 0 B

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/LazyImage.vue_vue_type_script_setup_true_lang-CqYq0Nd5.js (new) 60.1 kB 🔴 +60.1 kB 🔴 +12.4 kB 🔴 +10.8 kB
assets/LazyImage.vue_vue_type_script_setup_true_lang-HPBE6lG2.js (removed) 60.1 kB 🟢 -60.1 kB 🟢 -12.4 kB 🟢 -10.8 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-Cwg7SFfQ.js (new) 56.4 kB 🔴 +56.4 kB 🔴 +8.91 kB 🔴 +7.61 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-D1Qtit1E.js (removed) 56.4 kB 🟢 -56.4 kB 🟢 -8.91 kB 🟢 -7.61 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-BceDdUAp.js (new) 49 kB 🔴 +49 kB 🔴 +10.5 kB 🔴 +9.14 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-E_T68qC-.js (removed) 49 kB 🟢 -49 kB 🟢 -10.5 kB 🟢 -9.14 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-DwCrWJcs.js (removed) 14.6 kB 🟢 -14.6 kB 🟢 -3.79 kB 🟢 -3.34 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-jAhl2X5a.js (new) 14.6 kB 🔴 +14.6 kB 🔴 +3.79 kB 🔴 +3.34 kB
assets/ComfyQueueButton-BBmbkg14.js (removed) 8.83 kB 🟢 -8.83 kB 🟢 -2.58 kB 🟢 -2.3 kB
assets/ComfyQueueButton-COJSt81A.js (new) 8.83 kB 🔴 +8.83 kB 🔴 +2.58 kB 🔴 +2.3 kB
assets/WidgetWithControl.vue_vue_type_script_setup_true_lang-DxInvHHt.js (new) 3.72 kB 🔴 +3.72 kB 🔴 +1.46 kB 🔴 +1.32 kB
assets/WidgetWithControl.vue_vue_type_script_setup_true_lang-vn4lpTWx.js (removed) 3.72 kB 🟢 -3.72 kB 🟢 -1.46 kB 🟢 -1.32 kB
assets/WidgetButton-CqbczIp5.js (new) 2.21 kB 🔴 +2.21 kB 🔴 +999 B 🔴 +889 B
assets/WidgetButton-vx-B0FJ7.js (removed) 2.21 kB 🟢 -2.21 kB 🟢 -998 B 🟢 -898 B
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-CXojM-z6.js (new) 2.14 kB 🔴 +2.14 kB 🔴 +892 B 🔴 +769 B
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-Dsd391Lz.js (removed) 2.14 kB 🟢 -2.14 kB 🟢 -892 B 🟢 -771 B
assets/MediaTitle.vue_vue_type_script_setup_true_lang-B_qiLXfJ.js (new) 897 B 🔴 +897 B 🔴 +504 B 🔴 +437 B
assets/MediaTitle.vue_vue_type_script_setup_true_lang-CIXHQiQ6.js (removed) 897 B 🟢 -897 B 🟢 -505 B 🟢 -446 B
assets/UserAvatar.vue_vue_type_script_setup_true_lang-DV-9JnFV.js 1.34 kB 1.34 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 9 added / 9 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-BwHqNgLM.js (new) 7.51 kB 🔴 +7.51 kB 🔴 +1.83 kB 🔴 +1.58 kB
assets/keybindingService-CeBqhuI0.js (removed) 7.51 kB 🟢 -7.51 kB 🟢 -1.83 kB 🟢 -1.58 kB
assets/audioService-BlUatW80.js (removed) 2.2 kB 🟢 -2.2 kB 🟢 -961 B 🟢 -826 B
assets/audioService-C90UD8fA.js (new) 2.2 kB 🔴 +2.2 kB 🔴 +962 B 🔴 +828 B
assets/serverConfigStore-CulKZi3K.js 2.83 kB 2.83 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 2 added / 2 removed

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

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/audioUtils-6lEzZnsy.js (removed) 1.41 kB 🟢 -1.41 kB 🟢 -652 B 🟢 -548 B
assets/audioUtils-SCwgqSIX.js (new) 1.41 kB 🔴 +1.41 kB 🔴 +652 B 🔴 +547 B

Status: 1 added / 1 removed

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

External libraries and shared vendor chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/vendor-chart-KBsqeQPQ.js 452 kB 452 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-other-CzYzbUcM.js 3.89 MB 3.89 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-primevue-Ch6rhmJJ.js 1.95 MB 1.95 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-three-DYL0ZbEr.js 2.02 MB 2.02 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-tiptap-XfQ74oRB.js 232 kB 232 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-vue-DLbRHZS7.js 160 kB 160 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-xterm-BF8peZ5_.js 420 kB 420 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
Other — 3.5 MB (baseline 3.47 MB) • 🔴 +33.1 kB

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/nodeDefs-Zy145v5w.js (new) 279 kB 🔴 +279 kB 🔴 +47 kB 🔴 +33.5 kB
assets/nodeDefs-DIAYlJwM.js (removed) 246 kB 🟢 -246 kB 🟢 -41.8 kB 🟢 -30 kB
assets/main-Ba_fO77I.js (new) 91.3 kB 🔴 +91.3 kB 🔴 +32.1 kB 🔴 +26 kB
assets/main-BRKE6VDs.js (removed) 91 kB 🟢 -91 kB 🟢 -32.2 kB 🟢 -25.9 kB
assets/SubscriptionRequiredDialogContent-BqEj5uu9.js (removed) 29 kB 🟢 -29 kB 🟢 -6.43 kB 🟢 -5.59 kB
assets/SubscriptionRequiredDialogContent-DFL-saiT.js (new) 29 kB 🔴 +29 kB 🔴 +6.43 kB 🔴 +5.58 kB
assets/WidgetRecordAudio-Bfyuif5l.js (new) 20.4 kB 🔴 +20.4 kB 🔴 +5.24 kB 🔴 +4.64 kB
assets/WidgetRecordAudio-BPj0TU6y.js (removed) 20.4 kB 🟢 -20.4 kB 🟢 -5.24 kB 🟢 -4.63 kB
assets/commands-09qoDJrw.js (new) 13.8 kB 🔴 +13.8 kB 🔴 +2.92 kB 🔴 +2.28 kB
assets/commands-bTEY9Mp6.js (removed) 13.8 kB 🟢 -13.8 kB 🟢 -2.91 kB 🟢 -2.28 kB
assets/AudioPreviewPlayer-41eBK6CX.js (removed) 13.3 kB 🟢 -13.3 kB 🟢 -3.35 kB 🟢 -2.99 kB
assets/AudioPreviewPlayer-DAqw-Fum.js (new) 13.3 kB 🔴 +13.3 kB 🔴 +3.35 kB 🔴 +2.99 kB
assets/ValueControlPopover-IgKOrY3a.js (removed) 5.49 kB 🟢 -5.49 kB 🟢 -1.71 kB 🟢 -1.51 kB
assets/ValueControlPopover-JjF2zau9.js (new) 5.49 kB 🔴 +5.49 kB 🔴 +1.71 kB 🔴 +1.51 kB
assets/WidgetGalleria--WUYMLSg.js (new) 4.1 kB 🔴 +4.1 kB 🔴 +1.45 kB 🔴 +1.31 kB
assets/WidgetGalleria-D3nhqTr8.js (removed) 4.1 kB 🟢 -4.1 kB 🟢 -1.45 kB 🟢 -1.31 kB
assets/WidgetColorPicker-B7pr75__.js (removed) 3.41 kB 🟢 -3.41 kB 🟢 -1.38 kB 🟢 -1.23 kB
assets/WidgetColorPicker-DLC7Ea2p.js (new) 3.41 kB 🔴 +3.41 kB 🔴 +1.39 kB 🔴 +1.23 kB
assets/WidgetTextarea-Be6quwHI.js (new) 3.08 kB 🔴 +3.08 kB 🔴 +1.22 kB 🔴 +1.08 kB
assets/WidgetTextarea-m31xbQOD.js (removed) 3.08 kB 🟢 -3.08 kB 🟢 -1.22 kB 🟢 -1.08 kB
assets/WidgetMarkdown-CezcGSYR.js (removed) 3.08 kB 🟢 -3.08 kB 🟢 -1.28 kB 🟢 -1.13 kB
assets/WidgetMarkdown-g0jQNc7E.js (new) 3.08 kB 🔴 +3.08 kB 🔴 +1.28 kB 🔴 +1.13 kB
assets/WidgetAudioUI-CAclVmP7.js (removed) 2.89 kB 🟢 -2.89 kB 🟢 -1.17 kB 🟢 -1.06 kB
assets/WidgetAudioUI-CGpcdIqA.js (new) 2.89 kB 🔴 +2.89 kB 🔴 +1.17 kB 🔴 +1.06 kB
assets/WidgetInputText-7-JzKrkV.js (removed) 1.99 kB 🟢 -1.99 kB 🟢 -925 B 🟢 -863 B
assets/WidgetInputText-DiEj3LRc.js (new) 1.99 kB 🔴 +1.99 kB 🔴 +924 B 🔴 +855 B
assets/WidgetToggleSwitch-BdOZA7ms.js (new) 1.76 kB 🔴 +1.76 kB 🔴 +837 B 🔴 +733 B
assets/WidgetToggleSwitch-lmxGyu16.js (removed) 1.76 kB 🟢 -1.76 kB 🟢 -838 B 🟢 -733 B
assets/MediaImageBottom-CXW3-LJ9.js (removed) 1.55 kB 🟢 -1.55 kB 🟢 -736 B 🟢 -640 B
assets/MediaImageBottom-D5gzb-K-.js (new) 1.55 kB 🔴 +1.55 kB 🔴 +738 B 🔴 +639 B
assets/MediaAudioBottom-C1HOqtxz.js (removed) 1.51 kB 🟢 -1.51 kB 🟢 -734 B 🟢 -644 B
assets/MediaAudioBottom-hfwS67KD.js (new) 1.51 kB 🔴 +1.51 kB 🔴 +735 B 🔴 +643 B
assets/Media3DBottom-CLJayyBB.js (new) 1.5 kB 🔴 +1.5 kB 🔴 +731 B 🔴 +645 B
assets/Media3DBottom-D9R9pXYm.js (removed) 1.5 kB 🟢 -1.5 kB 🟢 -734 B 🟢 -645 B
assets/MediaVideoBottom-BDtAhAap.js (new) 1.5 kB 🔴 +1.5 kB 🔴 +732 B 🔴 +647 B
assets/MediaVideoBottom-BN7KlIk4.js (removed) 1.5 kB 🟢 -1.5 kB 🟢 -733 B 🟢 -646 B
assets/Media3DTop-DAWBFLAT.js (removed) 1.49 kB 🟢 -1.49 kB 🟢 -771 B 🟢 -650 B
assets/Media3DTop-pJxk_3SU.js (new) 1.49 kB 🔴 +1.49 kB 🔴 +770 B 🔴 +651 B
assets/WidgetSelect-8scxxL2B.js (new) 733 B 🔴 +733 B 🔴 +364 B 🔴 +324 B
assets/WidgetSelect-BKDgvucH.js (removed) 733 B 🟢 -733 B 🟢 -365 B 🟢 -331 B
assets/WidgetInputNumber-98VjYao_.js (removed) 673 B 🟢 -673 B 🟢 -349 B 🟢 -289 B
assets/WidgetInputNumber-C6WXw537.js (new) 673 B 🔴 +673 B 🔴 +351 B 🔴 +290 B
assets/Load3D-DZ0uPvOt.js (new) 424 B 🔴 +424 B 🔴 +269 B 🔴 +224 B
assets/Load3D-tmf1t7_0.js (removed) 424 B 🟢 -424 B 🟢 -267 B 🟢 -222 B
assets/WidgetLegacy-B_3W6-x4.js (removed) 364 B 🟢 -364 B 🟢 -238 B 🟢 -195 B
assets/WidgetLegacy-D_pu1mhO.js (new) 364 B 🔴 +364 B 🔴 +238 B 🔴 +196 B
assets/commands-BWp4HdfU.js 101 B 101 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CcfGaui5.js 14.4 kB 14.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CisfgZf5.js 13.7 kB 13.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CkU12Foh.js 13 kB 13 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CoH2DJa6.js 14.2 kB 14.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-COSt-Bjx.js 14.9 kB 14.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DalfIW5f.js 15.9 kB 15.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DfTl0eCm.js 13.5 kB 13.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DwSJL865.js 13.7 kB 13.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-Bdc58rJq.js 97.1 kB 97.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-C9ZJBRdI.js 81.5 kB 81.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CAL83XT3.js 84.6 kB 84.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CHLLfvpG.js 82.4 kB 82.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-Cw9RZWRY.js 89 B 89 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DDqR5EuX.js 71.3 kB 71.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DLHyaEcz.js 92.1 kB 92.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-O7KfJeMO.js 79.9 kB 79.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-OzGsrlqJ.js 112 kB 112 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaAudioTop-DnMHwvAw.js 1.46 kB 1.46 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaImageTop-BenufCTB.js 1.75 kB 1.75 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaVideoTop-uhl1tYxE.js 2.65 kB 2.65 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-aW9En70v.js 260 kB 260 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-BIckSVgU.js 273 kB 273 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-BiYpVi7D.js 263 kB 263 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-Bw_Jitw_.js 101 B 101 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CCEXtYfM.js 243 kB 243 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CvmVDWYd.js 323 kB 323 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-D_wreoPJ.js 267 kB 267 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-Dz-0ZIBN.js 297 kB 297 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-VZsNmhG7.js 264 kB 264 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetChart-CXIOBBuD.js 2.48 kB 2.48 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetImageCompare-DOO74J4Y.js 3.18 kB 3.18 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/widgetPropFilter-BIbGSUAt.js 1.28 kB 1.28 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 23 added / 23 removed

jtydhr88
jtydhr88 previously approved these changes Jan 4, 2026
Copy link
Collaborator

@jtydhr88 jtydhr88 left a comment

Choose a reason for hiding this comment

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

LGTM

重排序,方便对齐翻译
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: 1

📜 Review details

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8360b08 and 7881e23.

📒 Files selected for processing (4)
  • src/locales/zh/commands.json
  • src/locales/zh/main.json
  • src/locales/zh/nodeDefs.json
  • src/locales/zh/settings.json
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{ts,tsx,vue,js,jsx,json,css}

📄 CodeRabbit inference engine (AGENTS.md)

Apply Prettier formatting with 2-space indentation, single quotes, no trailing semicolons, and 80-character line width

Files:

  • src/locales/zh/commands.json
  • src/locales/zh/settings.json
🧠 Learnings (2)
📓 Common learnings
Learnt from: christian-byrne
Repo: Comfy-Org/ComfyUI_frontend PR: 6300
File: src/locales/en/main.json:774-780
Timestamp: 2025-12-09T04:35:43.971Z
Learning: In the Comfy-Org/ComfyUI_frontend repository, locale files other than `src/locales/en/main.json` are generated automatically on every release. Developers only need to add English (en) key/values in `src/locales/en/main.json` when making PRs; manual updates to other locale files (fr, ja, ko, ru, zh, zh-TW, es, ar, tr, etc.) are not required and should not be suggested in reviews.
📚 Learning: 2025-12-09T04:35:43.971Z
Learnt from: christian-byrne
Repo: Comfy-Org/ComfyUI_frontend PR: 6300
File: src/locales/en/main.json:774-780
Timestamp: 2025-12-09T04:35:43.971Z
Learning: In the Comfy-Org/ComfyUI_frontend repository, locale files other than `src/locales/en/main.json` are generated automatically on every release. Developers only need to add English (en) key/values in `src/locales/en/main.json` when making PRs; manual updates to other locale files (fr, ja, ko, ru, zh, zh-TW, es, ar, tr, etc.) are not required and should not be suggested in reviews.

Applied to files:

  • src/locales/zh/commands.json
  • src/locales/zh/settings.json
🔇 Additional comments (7)
src/locales/zh/commands.json (2)

83-85: LGTM!

The new translation for Comfy_Canvas_ToggleSelected_Pin is appropriate. The distinction between this ("选中项" - selected items) and the existing Comfy_Canvas_ToggleSelectedNodes_Pin ("选中节点" - selected nodes) at lines 95-97 is correctly maintained.


293-295: LGTM!

The translation "显示快捷键对话框" (Show shortcuts dialog) is accurate and consistent with the naming convention.

src/locales/zh/settings.json (5)

20-26: LGTM!

The WindowStyle tooltip and options are properly translated and well-formatted.


82-91: LGTM!

The PreviewMethod tooltip enhancement and option translations are clear and accurate.


160-166: LGTM!

The CameraType tooltip provides helpful context about the default camera behavior for 3D widgets.


184-191: LGTM!

The PLYEngine tooltip clearly explains the different engine options and their use cases.


391-397: LGTM!

The WidgetControlMode tooltip and options are appropriately translated.

Comment on lines +374 to +378
"tooltip": "选单列位置。在行动装置上,选单始终显示于顶端。",
"options": {
"Disabled": "禁用",
"Top": "顶部"
},
"tooltip": "选单列位置。在行动装置上,选单始终显示于顶端。"
}
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Inconsistent use of Traditional Chinese terms in Simplified Chinese locale.

This tooltip uses Traditional Chinese terminology ("选单", "行动装置") which is inconsistent with the rest of the file that uses Simplified Chinese (e.g., "菜单" on line 373).

🔎 Suggested fix
-    "tooltip": "选单列位置。在行动装置上,选单始终显示于顶端。",
+    "tooltip": "菜单栏位置。在移动设备上,菜单始终显示在顶部。",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"tooltip": "选单列位置。在行动装置上,选单始终显示于顶端。",
"options": {
"Disabled": "禁用",
"Top": "顶部"
},
"tooltip": "选单列位置。在行动装置上,选单始终显示于顶端。"
}
"tooltip": "菜单栏位置。在移动设备上,菜单始终显示在顶部。",
"options": {
"Disabled": "禁用",
"Top": "顶部"
}
🤖 Prompt for AI Agents
In src/locales/zh/settings.json around lines 374-378, the tooltip uses
Traditional Chinese terms ("选单", "行动装置") inconsistent with the file's Simplified
Chinese; update the tooltip to use Simplified equivalents by replacing "选单" with
"菜单" and "行动装置" with "移动设备" so the tooltip reads consistently (e.g.,
"菜单列位置。在移动设备上,菜单始终显示于顶部。").

@DorotaLuna
Copy link
Contributor Author

Should solved now, sorry for not familiar with git commnads. @comfyui-wiki

@comfyui-wiki
Copy link
Member

@DorotaLuna Thanks for the contribution.

@christian-byrne christian-byrne merged commit 87f560c into Comfy-Org:main Jan 5, 2026
28 checks passed
@DorotaLuna DorotaLuna deleted the update-zh branch January 6, 2026 03:19
@coderabbitai coderabbitai bot mentioned this pull request Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:i18n Anything related to translation size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants