Skip to content

Commit

Permalink
localize override settings applied (#3896)
Browse files Browse the repository at this point in the history
  • Loading branch information
qarni authored Jul 11, 2024
1 parent c892b18 commit 7752a4b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/projectStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ class ConfigPreset extends Node {
}
const config = (await treeDataProvider.cmakeProject.getCMakeDriverInstance())?.config;
if (config && checkConfigureOverridesPresent(config)) {
this.description = "Override settings applied";
this.description = localize("override.settings.applied", "Override settings applied");
this.contextValue = 'configPreset - overrides present';
} else {
this.description = "";
Expand Down Expand Up @@ -886,7 +886,7 @@ class BuildPreset extends Node {

const config = (await treeDataProvider.cmakeProject.getCMakeDriverInstance())?.config;
if (config && checkBuildOverridesPresent(config)) {
this.description = "Override settings applied";
this.description = localize("override.settings.applied", "Override settings applied");
this.contextValue = 'buildPreset - overrides present';
} else {
this.description = "";
Expand Down Expand Up @@ -926,7 +926,7 @@ class TestPreset extends Node {

const config = (await treeDataProvider.cmakeProject.getCMakeDriverInstance())?.config;
if (config && checkTestOverridesPresent(config)) {
this.description = "Override settings applied";
this.description = localize("override.settings.applied", "Override settings applied");
this.contextValue = 'testPreset - overrides present';
} else {
this.description = "";
Expand Down Expand Up @@ -967,7 +967,7 @@ class PackagePreset extends Node {

const config = (await treeDataProvider.cmakeProject.getCMakeDriverInstance())?.config;
if (config && checkPackageOverridesPresent(config)) {
this.description = "Override settings applied";
this.description = localize("override.settings.applied", "Override settings applied");
this.contextValue = 'packagePreset - overrides present';
} else {
this.description = "";
Expand Down

0 comments on commit 7752a4b

Please sign in to comment.