@@ -335,29 +335,29 @@ export interface ILocalizer {
335335
336336 /**
337337 * 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.
339339 * @param msgid String to use as a key in the localized string table. Typically this will just be the english version of the string.
340340 * @param namespace (Optional) namespace for the msgid keys.
341341 */
342- trygettext ( language : string , msgid : string , namespace ?: string ) : string ;
342+ trygettext ( locale : string , msgid : string , namespace ?: string ) : string ;
343343
344344 /**
345345 * 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.
347347 * @param msgid String to use as a key in the localized string table. Typically this will just be the english version of the string.
348348 * @param namespace (Optional) namespace for the msgid keys.
349349 */
350- gettext ( language : string , msgid : string , namespace ?: string ) : string ;
350+ gettext ( locale : string , msgid : string , namespace ?: string ) : string ;
351351
352352 /**
353353 * 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.
355355 * @param msgid Singular form of the string to use as a key in the localized string table.
356356 * @param msgid_plural Plural form of the string to use as a key in the localized string table.
357357 * @param count Count to use when determining whether the singular or plural form of the string should be used.
358358 * @param namespace (Optional) namespace for the msgid and msgid_plural keys.
359359 */
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 ;
361361}
362362
363363/** Persisted session state used to track a conversations dialog stack. */
0 commit comments