Constructors
constructor
- new I18NString(var_args: any[], f: (...vars: any) => null | string): I18NString
Parameters
- var_args: any[]
- f: (...vars: any) => null | string
Methods
toString
- toString(...var_args: any[]): string
Returns string
Static
create
- create(key: string, ...var_args: string[] | number[]): string
Parameters
- key: string
- ...var_args: string[] | number[]
Returns string
Static
createD
- createD(domain: string, key: string, ...var_args: string[] | number[]): string
Parameters
- domain: string
- key: string
- ...var_args: string[] | number[]
Returns string
Static
createDN
- createDN(
domain: string,
singular: string,
plural: string,
val: string,
...var_args: string[] | number[],
): string Parameters
- domain: string
- singular: string
- plural: string
- val: string
- ...var_args: string[] | number[]
Returns string
Static
createDNP
- createDNP(
domain: string,
ctx: string,
singular: string,
plural: string,
val: string,
...var_args: string[] | number[],
): string Parameters
- domain: string
- ctx: string
- singular: string
- plural: string
- val: string
- ...var_args: string[] | number[]
Returns string
Static
createDP
- createDP(
domain: string,
ctx: string,
key: string,
...var_args: string[] | number[],
): string Parameters
- domain: string
- ctx: string
- key: string
- ...var_args: string[] | number[]
Returns string
Static
createN
- createN(
singular: string,
plural: string,
val?: number,
...var_args: string[] | number[],
): string Parameters
- singular: string
- plural: string
Optional
val: number- ...var_args: string[] | number[]
Returns string
Static
createNP
- createNP(
ctx: string,
singular: string,
plural: string,
val: string,
...var_args: string[] | number[],
): string Parameters
- ctx: string
- singular: string
- plural: string
- val: string
- ...var_args: string[] | number[]
Returns string
Static
createP
- createP(ctx: string, key: string, ...var_args: string[] | number[]): string
Parameters
- ctx: string
- key: string
- ...var_args: string[] | number[]
Returns string
args for sprintf