Skip to content

Commit

Permalink
Don't localize the VS Clang kit name (#1632)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbrow authored Jan 26, 2021
1 parent e8300b6 commit 98582ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/drivers/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ export abstract class CMakeDriver implements vscode.Disposable {
* @param keywordSetting Variant Keywords for identification of a variant option
*/
async setVariant(opts: VariantOption, keywordSetting: Map<string, string>|null) {
log.debug(localize('setting.new.variant', 'Setting new variant {0}', opts.long || '(Unnamed)'));
log.debug(localize('setting.new.variant', 'Setting new variant {0}', opts.short || '(Unnamed)'));
this._variantBuildType = opts.buildType || this._variantBuildType;
this._variantConfigureSettings = opts.settings || this._variantConfigureSettings;
this._variantLinkage = opts.linkage || null;
Expand Down
4 changes: 1 addition & 3 deletions src/kit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -904,9 +904,7 @@ async function scanDirForClangForMSVCKits(dir: string, vsInstalls: VSInstallatio
if (binPath.startsWith(`${vs.installationPath}\\VC\\Tools\\Llvm\\${clangArch}bin`) &&
util.checkFileExists(util.lightNormalizePath(binPath))) {
clangKits.push({
name: localize({key: 'clang.for.vsmsvc',
comment: ["Clang should stay at the beginning of the string as it is used in UI sorting"]},
'Clang {0} {1} with {2} ({3})', version.version, clang_cli, install_name, vs_arch),
name: `Clang ${version.version} ${clang_cli} (${install_name} - ${vs_arch})`,
visualStudio: kitVSName(vs),
visualStudioArchitecture: vs_arch,
compilers: {
Expand Down

0 comments on commit 98582ae

Please sign in to comment.