Skip to content

Commit

Permalink
Merge pull request #80801 from orta/capital_S
Browse files Browse the repository at this point in the history
Fixes some capital S typoes with JS/TS
  • Loading branch information
roblourens committed Sep 15, 2019
2 parents 57f4855 + a89b72b commit 0994854
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions extensions/json/syntaxes/JSON.tmLanguage.json
Expand Up @@ -5,7 +5,7 @@
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/Microsoft/vscode-JSON.tmLanguage/commit/9bd83f1c252b375e957203f21793316203f61f70",
"name": "JSON (Javascript Next)",
"name": "JSON (JavaScript Next)",
"scopeName": "source.json",
"patterns": [
{
Expand Down Expand Up @@ -210,4 +210,4 @@
]
}
}
}
}
2 changes: 1 addition & 1 deletion extensions/typescript-language-features/package.nls.json
Expand Up @@ -7,7 +7,7 @@
"typescript.tsdk.desc": "Specifies the folder path containing the tsserver and lib*.d.ts files to use.",
"typescript.disableAutomaticTypeAcquisition": "Disables automatic type acquisition. Automatic type acquisition fetches `@types` packages from npm to improve IntelliSense for external libraries.",
"typescript.tsserver.log": "Enables logging of the TS server to a file. This log can be used to diagnose TS Server issues. The log may contain file paths, source code, and other potentially sensitive information from your project.",
"typescript.tsserver.pluginPaths": "Additional paths to discover Typescript Language Service plugins. Requires using TypeScript 2.3.0 or newer in the workspace.",
"typescript.tsserver.pluginPaths": "Additional paths to discover TypeScript Language Service plugins. Requires using TypeScript 2.3.0 or newer in the workspace.",
"typescript.tsserver.pluginPaths.item": "Either an absolute or relative path. Relative path will be resolved against workspace folder(s).",
"typescript.tsserver.trace": "Enables tracing of messages sent to the TS server. This trace can be used to diagnose TS Server issues. The trace may contain file paths, source code, and other potentially sensitive information from your project.",
"typescript.validate.enable": "Enable/disable TypeScript validation.",
Expand Down
Expand Up @@ -75,7 +75,7 @@ export default class TscTaskProvider implements vscode.TaskProvider {
const badTsconfig = /\\tsconfig.*\.json/;
if (badTsconfig.exec(definition.tsconfig) !== null) {
// Warn that the task has the wrong slash type
vscode.window.showWarningMessage(localize('badTsConfig', "Typescript Task in tasks.json contains \"\\\\\". Typescript tasks tsconfig must use \"/\""));
vscode.window.showWarningMessage(localize('badTsConfig', "TypeScript Task in tasks.json contains \"\\\\\". TypeScript tasks tsconfig must use \"/\""));
return undefined;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Expand Up @@ -107,7 +107,7 @@ function onReady() {
});
};

// We recevied a valid nlsConfig from a user defined locale
// We received a valid nlsConfig from a user defined locale
if (nlsConfig) {
startup(nlsConfig);
}
Expand Down
Expand Up @@ -223,3 +223,5 @@ export const knownAcronyms = new Set<string>();
export const knownTermMappings = new Map<string, string>();
knownTermMappings.set('power shell', 'PowerShell');
knownTermMappings.set('powershell', 'PowerShell');
knownTermMappings.set('javascript', 'JavaScript');
knownTermMappings.set('typescript', 'TypeScript');

0 comments on commit 0994854

Please sign in to comment.