Skip to content

Commit 8e396b9

Browse files
committed
fix: add visual indicators for custom mode sources (#6502)
- Add (G)/(P) indicators in mode dropdown for custom modes - Add (Global)/(Project) text in selected mode button - Built-in modes show no indicators - Add helper functions getModeSource() and getSourceDisplayText() - Use text-vscode-descriptionForeground for subtle styling - Add comprehensive tests for source indicator functionality - Add translation keys to all 18 supported languages
1 parent 3803c29 commit 8e396b9

File tree

20 files changed

+273
-40
lines changed

20 files changed

+273
-40
lines changed

src/i18n/locales/ca/common.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/de/common.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/en/common.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,9 @@
154154
},
155155
"scope": {
156156
"project": "project",
157-
"global": "global"
157+
"global": "global",
158+
"projectShort": "P",
159+
"globalShort": "G"
158160
}
159161
},
160162
"marketplace": {

src/i18n/locales/es/common.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/fr/common.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/hi/common.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/id/common.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/it/common.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/ja/common.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/ko/common.json

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)