LocalizedString

class LocalizedString(val en: String, val ja: String? = null)

Represents localization strings. Supports Japanese and English.

Constructors

Link copied to clipboard
fun LocalizedString(en: String, ja: String? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
operator fun invoke(vararg args: Any?): String

Returns formatted string with passed arguments.

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

Properties

Link copied to clipboard
val en: String

English string template.

Link copied to clipboard
val ja: String? = null

Japanese string template, or null.