Merge from vscode 6e530127a1bb8ffbd1bfb77dc680c321dc0d71f5 (#6844)

This commit is contained in:
Anthony Dresser
2019-08-20 21:07:47 -07:00
committed by GitHub
parent 1f00249646
commit ecb80f14f0
221 changed files with 3140 additions and 1552 deletions

7
src/vs/nls.d.ts vendored
View File

@@ -8,5 +8,12 @@ export interface ILocalizeInfo {
comment: string[];
}
/**
* Localize a message. `message` can contain `{n}` notation where it is replaced by the nth value in `...args`.
*/
export declare function localize(info: ILocalizeInfo, message: string, ...args: (string | number | boolean | undefined | null)[]): string;
/**
* Localize a message. `message` can contain `{n}` notation where it is replaced by the nth value in `...args`.
*/
export declare function localize(key: string, message: string, ...args: (string | number | boolean | undefined | null)[]): string;