kvision / pl.treksoft.kvision.i18n / Jed

Jed

external class Jed

Constructors

<init>

Jed(json: dynamic)

Functions

gettext

fun gettext(key: String): String

ngettext

fun ngettext(singularKey: String, pluralKey: String, value: Int): String

sprintf

fun sprintf(format: String, value: Int): String

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.