@@ -335,29 +335,29 @@ export interface ILocalizer {
335
335
336
336
/**
337
337
* Loads a localized string for the specified language.
338
- * @param language Desired language of the string to return.
338
+ * @param locale Desired locale of the string to return.
339
339
* @param msgid String to use as a key in the localized string table. Typically this will just be the english version of the string.
340
340
* @param namespace (Optional) namespace for the msgid keys.
341
341
*/
342
- trygettext ( language : string , msgid : string , namespace ?: string ) : string ;
342
+ trygettext ( locale : string , msgid : string , namespace ?: string ) : string ;
343
343
344
344
/**
345
345
* Loads a localized string for the specified language.
346
- * @param language Desired language of the string to return.
346
+ * @param locale Desired locale of the string to return.
347
347
* @param msgid String to use as a key in the localized string table. Typically this will just be the english version of the string.
348
348
* @param namespace (Optional) namespace for the msgid keys.
349
349
*/
350
- gettext ( language : string , msgid : string , namespace ?: string ) : string ;
350
+ gettext ( locale : string , msgid : string , namespace ?: string ) : string ;
351
351
352
352
/**
353
353
* Loads the plural form of a localized string for the specified language.
354
- * @param language Desired language of the string to return.
354
+ * @param locale Desired locale of the string to return.
355
355
* @param msgid Singular form of the string to use as a key in the localized string table.
356
356
* @param msgid_plural Plural form of the string to use as a key in the localized string table.
357
357
* @param count Count to use when determining whether the singular or plural form of the string should be used.
358
358
* @param namespace (Optional) namespace for the msgid and msgid_plural keys.
359
359
*/
360
- ngettext ( language : string , msgid : string , msgid_plural : string , count : number , namespace ?: string ) : string ;
360
+ ngettext ( locale : string , msgid : string , msgid_plural : string , count : number , namespace ?: string ) : string ;
361
361
}
362
362
363
363
/** Persisted session state used to track a conversations dialog stack. */
0 commit comments