Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/nls.messages.ts
3290 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
/*
7
* This module exists so that the AMD build of the monaco editor can replace this with an async loader plugin.
8
* If you add new functions to this module make sure that they are also provided in the AMD build of the monaco editor.
9
*
10
* TODO@esm remove me once we no longer ship an AMD build.
11
*/
12
13
export function getNLSMessages(): string[] {
14
return globalThis._VSCODE_NLS_MESSAGES;
15
}
16
17
export function getNLSLanguage(): string | undefined {
18
return globalThis._VSCODE_NLS_LANGUAGE;
19
}
20
21