TranslatableWithArgs

constructor(translatable: Translatable, argument: Any)(source)

Creates a TranslatableWithArgs with the given translatable and its one and only argument.

Parameters

translatable

A Translatable which one placeholder for an argument.

argument

The argument which will be used to substitute the placeholder of the given translatable.


constructor(translatable: Translatable, arg1: Any, arg2: Any)(source)

Creates a TranslatableWithArgs with the given translatable, the first argument arg1 and the second argument arg2.

Parameters

translatable

A Translatable with an variable number of placeholders (at least one for arg1).

arg1

The argument for the first placeholder of the given translatable.

arg2

The argument for the second placeholder of the given translatable.


constructor(translatable: Translatable, arg1: Any, arg2: Any, vararg otherArgs: Any)(source)

Creates a TranslatableWithArgs with the given translatable, the first argument arg1, the second argument arg2 and the otherArgs.

Parameters

translatable

A Translatable with an variable number of placeholders (at least one for arg1).

arg1

The argument for the first placeholder of the given translatable.

arg2

The argument for the second placeholder of the given translatable.

otherArgs

The remaining arguments for the remaining placeholders of the given translatable.


constructor(translatable: Translatable, arguments: List<Any>)(source)

Parameters

translatable

The Translatable as such which contains placeholders and for which translations can be been defined.

arguments

The arguments which should be used to substitute the placeholders of the translatable.