interface Translatable
(source)
Something which is translatable, identified by id with a default representation given by getDefault.
open val id: String
The id of this Translatable -- per default it is "KClass.fullName ID_SEPARATOR" without the spaces. |
|
abstract val name: String
The name of this Translatable -- the name together with its KClass.qualifiedName should identify a Translatable (see id). |
abstract fun getDefault(): String
Returns the default representation of this Translatable. |
const val ID_SEPARATOR: String
The separator used in id to separate KClass.qualifiedName and name. |
interface StringBasedTranslatable : Translatable
Something which is Translatable and provides a default representation by value. |
|
data class TranslatableWithArgs : Translatable
A Translatable which contains placeholders for arguments. |
|
class Untranslatable : Translatable
Represents a Translatable which is not translatable but has only a fixed name which serves as getDefault. |