chore(i18n): make GPU picker labels translatable - replaces hardcoded English (v0.8.36)#11982
chore(i18n): make GPU picker labels translatable - replaces hardcoded English (v0.8.36)#11982LifetimeVip wants to merge 3 commits intoComfy-Org:mainfrom
Conversation
|
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe GPU picker component template now sources user-facing labels and the Apple Metal subtitle from i18n via $t(...) for Apple Metal, NVIDIA, AMD, CPU, and Manual Install; English locale keys were added. Component logic and rendering behavior remain unchanged. ChangesGPU Picker Internationalization
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (1 error)
✅ Passed checks (6 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
🎭 Playwright: ⏳ Running... |
Resolved files: - src/locales/en/main.json - apps/desktop-ui/src/components/install/GpuPicker.vue
551c9b4 to
4a745ec
Compare

Summary
Makes the GPU picker option labels translatable by replacing hardcoded English strings with vue-i18n keys.
Changes
apps/desktop-ui/src/components/install/GpuPicker.vue:
placeholder-textvalues ("Apple Metal","NVIDIA","AMD","CPU","Manual Install") with$t()bindingssubtitlefor Apple Metal was also hardcoded — now uses$t()as wellsrc/locales/en/main.json:
install.gpuPicker:appleMetal: "Apple Metal"nvidia: "NVIDIA"amd: "AMD"cpu: "CPU"manualInstall: "Manual Install"Other locale files will be auto-generated during the next release. These strings are used as image alt text and fallback labels in the GPU option cards during the installation wizard.
┆Issue is synchronized with this Notion page by Unito