TranslatableWithArgs(translatable: Translatable, argument: Any)
Creates a TranslatableWithArgs with the given translatable and its one and only argument.
translatable
- A Translatable which one placeholder for an argument.
argument
- The argument which will be used to substitute the placeholder of the given translatable.
TranslatableWithArgs(translatable: Translatable, arg1: Any, arg2: Any)
Creates a TranslatableWithArgs with the given translatable, the first argument arg1 and the second argument arg2.
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.
TranslatableWithArgs(translatable: Translatable, arg1: Any, arg2: Any, vararg otherArgs: Any)
Creates a TranslatableWithArgs with the given translatable, the first argument arg1, the second argument arg2 and the otherArgs.
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.
TranslatableWithArgs(translatable: Translatable, arguments: List<Any>)
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.
Constructor