Skip to content

Commit 2f185f7

Browse files
committed
Localize the 'Select project' string
1 parent 23105d1 commit 2f185f7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

l10n/bundle.l10n.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
"project.json is no longer a supported project format for .NET Core applications.": "project.json is no longer a supported project format for .NET Core applications.",
149149
"More Detail": "More Detail",
150150
"Some projects have trouble loading. Please review the output for more details.": "Some projects have trouble loading. Please review the output for more details.",
151+
"Select project": "Select project",
151152
"There are unresolved dependencies. Please execute the restore command to continue.": "There are unresolved dependencies. Please execute the restore command to continue.",
152153
"Restore": "Restore",
153154
"Package {0} download from {1} failed integrity check. Some features may not work as expected. Please restart Visual Studio Code to retrigger the download": "Package {0} download from {1} failed integrity check. Some features may not work as expected. Please restart Visual Studio Code to retrigger the download",

src/omnisharp/observers/projectStatusBarObserver.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6+
import * as vscode from 'vscode';
67
import { basename } from 'path';
78
import { BaseEvent } from '../../shared/loggingEvents';
89
import { WorkspaceInformationUpdated } from '../omnisharpLoggingEvents';
@@ -14,7 +15,7 @@ export class ProjectStatusBarObserver extends BaseStatusBarItemObserver {
1415
switch (event.type) {
1516
case EventType.OmnisharpOnMultipleLaunchTargets:
1617
this.SetAndShowStatusBar(
17-
'$(file-submodule) Select project',
18+
'$(file-submodule) ' + vscode.l10n.t('Select project'),
1819
'o.pickProjectAndStart',
1920
'rgb(90, 218, 90)'
2021
);

0 commit comments

Comments
 (0)