Repository navigation
Commit 301b6ac
committed
fix(terminal): add isProfilesLoaded guard, harden sentinel, sync i18n (Zoo-Code-Org#119) (Zoo-Code-Org#321)
TerminalSettings.tsx:
- Guard no-profiles hint render with isProfilesLoaded to prevent the hint
from flashing before async profiles load.
- Harden DEFAULT_PROFILE_VALUE sentinel from "__default__" to
"__zoo_code_follow_vscode_sentinel__" to eliminate theoretical collision
with a user-named VS Code profile.
TerminalSettings.profile.spec.tsx:
- Extend the empty-profiles test to assert the hint is absent before
profiles load and present only after the empty list arrives.
- Update sentinel references to match the new constant.
i18n (ca/de/es/fr/hi/id/it/ja/ko/nl/pl/pt-BR/ru/tr/vi/zh-TW):
- Replace outdated "override toggle" wording in label and description
with unified single-dropdown profile selection language, aligning
with the en/zh-CN baseline.1 parent 956ba95 commit 301b6ac
18 files changed
Lines changed: 37 additions & 34 deletions
File tree
- webview-ui/src
- components/settings
- __tests__
- i18n/locales
- ca
- de
- es
- fr
- hi
- id
- it
- ja
- ko
- nl
- pl
- pt-BR
- ru
- tr
- vi
- zh-TW
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
| 194 | + | |
193 | 195 | | |
194 | 196 | | |
195 | 197 | | |
196 | 198 | | |
197 | 199 | | |
198 | 200 | | |
199 | 201 | | |
| 202 | + | |
200 | 203 | | |
201 | 204 | | |
202 | 205 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments