mirror of
https://github.com/coder/code-server.git
synced 2026-05-10 14:27:26 +02:00
25 lines
908 B
TypeScript
25 lines
908 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* 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>;
|