UNPKG

586 BTypeScriptView Raw
1import { FormatType, Localization } from './i18n/localization';
2export declare namespace nls {
3 let localization: Localization | undefined;
4 const localeId = "localeId";
5 const locale: string | undefined;
6 /**
7 * Automatically localizes a text if that text also exists in the vscode repository.
8 */
9 function localizeByDefault(defaultValue: string, ...args: FormatType[]): string;
10 function getDefaultKey(defaultValue: string): string;
11 function localize(key: string, defaultValue: string, ...args: FormatType[]): string;
12}
13//# sourceMappingURL=nls.d.ts.map
\No newline at end of file