Skip to content

Commit

Permalink
Merge pull request #7718 from dotnet/dev/jorobich/localize-select-pto…
Browse files Browse the repository at this point in the history
…ject

Localize the 'Select project' string
  • Loading branch information
JoeRobich authored Nov 1, 2024
2 parents af225e2 + 2f185f7 commit 1a7338e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions l10n/bundle.l10n.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
"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.",
"More Detail": "More Detail",
"Some projects have trouble loading. Please review the output for more details.": "Some projects have trouble loading. Please review the output for more details.",
"Select project": "Select project",
"There are unresolved dependencies. Please execute the restore command to continue.": "There are unresolved dependencies. Please execute the restore command to continue.",
"Restore": "Restore",
"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",
Expand Down
3 changes: 2 additions & 1 deletion src/omnisharp/observers/projectStatusBarObserver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/

import * as vscode from 'vscode';
import { basename } from 'path';
import { BaseEvent } from '../../shared/loggingEvents';
import { WorkspaceInformationUpdated } from '../omnisharpLoggingEvents';
Expand All @@ -14,7 +15,7 @@ export class ProjectStatusBarObserver extends BaseStatusBarItemObserver {
switch (event.type) {
case EventType.OmnisharpOnMultipleLaunchTargets:
this.SetAndShowStatusBar(
'$(file-submodule) Select project',
'$(file-submodule) ' + vscode.l10n.t('Select project'),
'o.pickProjectAndStart',
'rgb(90, 218, 90)'
);
Expand Down

0 comments on commit 1a7338e

Please sign in to comment.