mirror of
https://github.com/coder/code-server.git
synced 2026-05-11 23:07:27 +02:00
Merge commit 'be3e8236086165e5e45a5a10783823874b3f3ebd' as 'lib/vscode'
This commit is contained in:
24
lib/vscode/src/vs/base/node/languagePacks.d.ts
vendored
Normal file
24
lib/vscode/src/vs/base/node/languagePacks.d.ts
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
export interface NLSConfiguration {
|
||||
locale: string;
|
||||
availableLanguages: {
|
||||
[key: string]: string;
|
||||
};
|
||||
pseudo?: boolean;
|
||||
_languagePackSupport?: boolean;
|
||||
}
|
||||
|
||||
export interface InternalNLSConfiguration extends NLSConfiguration {
|
||||
_languagePackId: string;
|
||||
_translationsConfigFile: string;
|
||||
_cacheRoot: string;
|
||||
_resolvedLanguagePackCoreLocation: string;
|
||||
_corruptedFile: string;
|
||||
_languagePackSupport?: boolean;
|
||||
}
|
||||
|
||||
export function getNLSConfiguration(commit: string, userDataPath: string, metaDataFile: string, locale: string): Promise<NLSConfiguration>;
|
||||
Reference in New Issue
Block a user