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

@@ -182,8 +182,8 @@ export class IntellisenseStatus extends Disposable {
statusItem.command = {
command: this.createOrOpenConfigCommandId,
title: this._state.projectType === ProjectType.TypeScript
? vscode.l10n.t("Configure tsconfig")
: vscode.l10n.t("Configure jsconfig"),
? vscode.l10n.t("Configure TSConfig")
: vscode.l10n.t("Configure JSConfig"),
arguments: [rootPath, this._state.projectType] satisfies CreateOrOpenConfigCommandArgs,
};
} else {
@@ -191,7 +191,7 @@ export class IntellisenseStatus extends Disposable {
statusItem.detail = undefined;
statusItem.command = {
command: this.openOpenConfigCommandId,
title: vscode.l10n.t("Open config file"),
title: vscode.l10n.t("Open Config File"),
arguments: [rootPath, this._state.projectType] satisfies CreateOrOpenConfigCommandArgs,
};
}
@@ -200,8 +200,8 @@ export class IntellisenseStatus extends Disposable {
case IntellisenseState.Type.SyntaxOnly: {
const statusItem = this.ensureStatusItem();
statusItem.severity = vscode.LanguageStatusSeverity.Warning;
statusItem.text = vscode.l10n.t("Partial Mode");
statusItem.detail = vscode.l10n.t("Project Wide IntelliSense not available");
statusItem.text = vscode.l10n.t("Partial mode");
statusItem.detail = vscode.l10n.t("Project wide IntelliSense not available");
statusItem.busy = false;
statusItem.command = {
title: vscode.l10n.t("Learn More"),

View File

@@ -23,7 +23,7 @@ export class VersionStatus extends Disposable {
this._statusItem = this._register(vscode.languages.createLanguageStatusItem('typescript.version', jsTsLanguageModes));
this._statusItem.name = vscode.l10n.t("TypeScript Version");
this._statusItem.detail = vscode.l10n.t("TypeScript Version");
this._statusItem.detail = vscode.l10n.t("TypeScript version");
this._register(this._client.onTsServerStarted(({ version }) => this.onDidChangeTypeScriptVersion(version)));
}