Untranslatable

class Untranslatable(representation: String) : Translatable(source)

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.

Parameters

representation

A representation which is not intended to be translated.

Constructors

Link copied to clipboard
constructor(representation: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val id: String

The id of this Translatable -- per default it is "KClass.fullName ID_SEPARATOR" without the spaces.

Link copied to clipboard
open override val name: String

The name of this Translatable -- the name together with its KClass.qualifiedName should identify a Translatable (see id).

Functions

Link copied to clipboard
open override fun getDefault(): String

Returns the default representation of this Translatable.

Link copied to clipboard
open override fun toString(): String