TranslationDTO

data class TranslationDTO(val key: String, val params: Map<String, String>? = null)(source)

Data transfer object for translations with optional parameters.

Author

Jan Müller

Constructors

Link copied to clipboard
constructor(key: String, vararg params: Pair<String, String>)
constructor(key: String, params: Map<String, String>? = null)

Creates a TranslationDTO with the given parameters.

Properties

Link copied to clipboard
val key: String

The key of the translation.

Link copied to clipboard
val params: Map<String, String>? = null

Optional parameters of the translation.