class Untranslatable : Translatable
Represents a Translatable which is not translatable but has only a fixed name which serves as getDefault.
Use this class to represent identifiers (method/property names etc.) and the like.
representation
- A representation which is not intended to be translated.
Untranslatable(representation: CharSequence) Untranslatable(representation: () -> String) Untranslatable(representation: String)
Represents a Translatable which is not translatable but has only a fixed name which serves as getDefault. |
val name: String
The name of this Translatable -- the name together with its KClass.qualifiedName should identify a Translatable (see id). |
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. |
|
fun toString(): String |
val EMPTY: Untranslatable
An empty string as Untranslatable. |