Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/test/automation/src/localization.ts
3520 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
import { Code } from './code';
7
import { ILocalizedStrings, ILocaleInfo } from './driver';
8
9
export class Localization {
10
constructor(private code: Code) { }
11
12
async getLocaleInfo(): Promise<ILocaleInfo> {
13
return this.code.getLocaleInfo();
14
}
15
16
async getLocalizedStrings(): Promise<ILocalizedStrings> {
17
return this.code.getLocalizedStrings();
18
}
19
}
20
21