data class TranslatableWithArgs : Translatable
(source)
A Translatable which contains placeholders for arguments.
TranslatableWithArgs(translatable: Translatable, argument: Any)
Creates a TranslatableWithArgs with the given translatable and its one and only argument. TranslatableWithArgs(translatable: Translatable, arg1: Any, arg2: Any)
Creates a TranslatableWithArgs with the given translatable, the first argument arg1 and the second argument arg2. 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. TranslatableWithArgs(translatable: Translatable, arguments: List<Any>) |
val arguments: List<Any>
The arguments which should be used to substitute the placeholders of the translatable. |
|
val name: String
The name of this Translatable -- the name together with its KClass.qualifiedName should identify a Translatable (see id). |
|
val translatable: Translatable
The Translatable as such which contains placeholders and for which translations can be been defined. |
open val id: String
The id of this Translatable -- per default it is "KClass.fullName ID_SEPARATOR" without the spaces. |
fun getDefault(): String
Returns the default representation of this Translatable. |