Skip to content

Commit b088e4a

Browse files
hannesrudolphdaniel-lxs
authored andcommitted
fix: resolve localization issues in ContextManagementSettings
- Replace hardcoded 'Unlimited' text with proper translation key - Remove unused 'unlimitedDescription' translation keys from all 18 language files - Ensures consistent localization across all supported languages
1 parent fd722d2 commit b088e4a

File tree

19 files changed

+19
-37
lines changed

19 files changed

+19
-37
lines changed

webview-ui/src/components/settings/ContextManagementSettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ export const ContextManagementSettings = ({
240240
<span className="w-20 text-sm font-medium">
241241
{(maxDiagnosticMessages !== undefined && maxDiagnosticMessages <= 0) ||
242242
maxDiagnosticMessages === 100
243-
? t("settings:contextManagement.diagnostics.maxMessages.unlimitedLabel") || "Unlimited"
243+
? t("settings:contextManagement.diagnostics.maxMessages.unlimitedLabel")
244244
: (maxDiagnosticMessages ?? 50)}
245245
</span>
246246
<Button

webview-ui/src/i18n/locales/ca/settings.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/de/settings.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/en/settings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,7 @@
497497
"label": "Maximum diagnostic messages",
498498
"description": "Maximum number of diagnostic messages to include per file. This limit applies to both automatic inclusion (when checkbox is enabled) and manual @problems mentions. Higher values provide more context but increase token usage.",
499499
"resetTooltip": "Reset to default value (50)",
500-
"unlimitedLabel": "Unlimited",
501-
"unlimitedDescription": "All diagnostic messages will be included. Use with caution as this may significantly increase token usage."
500+
"unlimitedLabel": "Unlimited"
502501
}
503502
},
504503
"condensingThreshold": {

webview-ui/src/i18n/locales/es/settings.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/fr/settings.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/hi/settings.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/id/settings.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/it/settings.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/ja/settings.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)