status - consistent casing for language entries (#242466)

* status - consistent casing for language entries

* more
This commit is contained in:
Benjamin Pasero
2025-03-03 15:36:07 +01:00
committed by GitHub
parent bd478b7875
commit f909b15f53
5 changed files with 12 additions and 12 deletions

View File

@@ -185,13 +185,13 @@ export function createLanguageStatusItem(documentSelector: DocumentSelector, sta
const schemas = (await statusRequest(document.uri.toString())).schemas;
statusItem.detail = undefined;
if (schemas.length === 0) {
statusItem.text = l10n.t('No Schema Validation');
statusItem.text = l10n.t('No schema validation');
statusItem.detail = l10n.t('no JSON schema configured');
} else if (schemas.length === 1) {
statusItem.text = l10n.t('Schema Validated');
statusItem.text = l10n.t('Schema validated');
statusItem.detail = l10n.t('JSON schema configured');
} else {
statusItem.text = l10n.t('Schema Validated');
statusItem.text = l10n.t('Schema validated');
statusItem.detail = l10n.t('multiple JSON schemas configured');
}
statusItem.command = {