Properties
Private _translations
_translations: {}
Methods
Private _getTranslation
- _getTranslation(value: string, pluralOrSingular: typeof PLURAL | typeof SINGULAR): string
-
Parameters
Returns string
getCapitalizedPlural
- getCapitalizedPlural(value: string): string
-
Parameters
Returns string
getCapitalizedSingular
- getCapitalizedSingular(value: string): string
-
Parameters
Returns string
getPlural
- getPlural(value: string): string
-
Parameters
Returns string
getSingular
- getSingular(value: string): string
-
Parameters
Returns string
maybePluralize
- maybePluralize(count: number, value: string): string
-
Parameters
-
count: number
-
value: string
Returns string
setTranslation
- setTranslation(key: string, translation: Translation): void