/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45// AMD2ESM migration relevant67/**8* NLS Globals: these need to be defined in all contexts that make9* use of our `nls.localize` and `nls.localize2` functions. This includes:10* - Electron main process11* - Electron window (renderer) process12* - Utility Process13* - Node.js14* - Browser15* - Web worker16*17* That is because during build time we strip out all english strings from18* the resulting JS code and replace it with a <number> that is then looked19* up from the `_VSCODE_NLS_MESSAGES` array.20*/21declare global {22/**23* All NLS messages produced by `localize` and `localize2` calls24* under `src/vs` translated to the language as indicated by25* `_VSCODE_NLS_LANGUAGE`.26*27* Instead of accessing this global variable directly, use function getNLSMessages.28*/29var _VSCODE_NLS_MESSAGES: string[];30/**31* The actual language of the NLS messages (e.g. 'en', de' or 'pt-br').32*33* Instead of accessing this global variable directly, use function getNLSLanguage.34*/35var _VSCODE_NLS_LANGUAGE: string | undefined;36}3738// fake export to make global work39export { }404142