mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Merge from vscode 817eb6b0c720a4ecbc13c020afbbebfed667aa09 (#7356)
This commit is contained in:
4
src/vs/nls.d.ts
vendored
4
src/vs/nls.d.ts
vendored
@@ -12,7 +12,7 @@ export interface ILocalizeInfo {
|
||||
* Localize a message.
|
||||
*
|
||||
* `message` can contain `{n}` notation where it is replaced by the nth value in `...args`
|
||||
* For example, `localize('hello {0}', name)`
|
||||
* For example, `localize({ key: 'sayHello', comment: ['Welcomes user'] }, 'hello {0}', name)`
|
||||
*/
|
||||
export declare function localize(info: ILocalizeInfo, message: string, ...args: (string | number | boolean | undefined | null)[]): string;
|
||||
|
||||
@@ -20,6 +20,6 @@ export declare function localize(info: ILocalizeInfo, message: string, ...args:
|
||||
* Localize a message.
|
||||
*
|
||||
* `message` can contain `{n}` notation where it is replaced by the nth value in `...args`
|
||||
* For example, `localize('hello {0}', name)`
|
||||
* For example, `localize('sayHello', 'hello {0}', name)`
|
||||
*/
|
||||
export declare function localize(key: string, message: string, ...args: (string | number | boolean | undefined | null)[]): string;
|
||||
|
||||
Reference in New Issue
Block a user