TranslationEntry

internal sealed class TranslationEntry

Represents the type of a translation entry in JSON.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
data class Nested(val children: Map<String, TranslationEntry>) : TranslationEntry

Nested object

Link copied to clipboard
data class Parameterized(val value: String, val paramCount: Int) : TranslationEntry

Text with parameters {0}, {1}, ...

Link copied to clipboard
data class Plural(val forms: Map<String, String>) : TranslationEntry

Plural form (one/few/many)

Link copied to clipboard
data class Simple(val value: String) : TranslationEntry

Simple text without parameters