mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-26 21:28:04 +00:00
status - consistent casing for language entries (#242466)
* status - consistent casing for language entries * more
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user