From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- .../-simple-i18n-manager/index.html | 94 ++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 api1/pl.treksoft.kvision.i18n/-simple-i18n-manager/index.html (limited to 'api1/pl.treksoft.kvision.i18n/-simple-i18n-manager/index.html') diff --git a/api1/pl.treksoft.kvision.i18n/-simple-i18n-manager/index.html b/api1/pl.treksoft.kvision.i18n/-simple-i18n-manager/index.html new file mode 100644 index 00000000..f60e4abf --- /dev/null +++ b/api1/pl.treksoft.kvision.i18n/-simple-i18n-manager/index.html @@ -0,0 +1,94 @@ + + + +SimpleI18nManager - kvision + + + +kvision / pl.treksoft.kvision.i18n / SimpleI18nManager
+
+

SimpleI18nManager

+class SimpleI18nManager : I18nManager +

Constructors

+ + + + + + + +
+

<init>

+
+SimpleI18nManager()
+

Functions

+ + + + + + + + + + + +
+

gettext

+
+fun gettext(key: String): String +

A static translation function for a singular form.

+
+

ngettext

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

A static translation function for a plural form.

+
+

Inherited Functions

+ + + + + + + + + + + + + + + +
+

ntr

+
+open fun ntr(singularKey: String, pluralKey: String, value: Int): String +

A dynamic translation function for a plural form.

+
+

tr

+
+open fun tr(key: String): String +

A dynamic translation function for a singular form.

+
+

trans

+
+open fun trans(text: String?): String? +

A dynamic translation function.

+
+

Extension Functions

+ + + + + + + +
+

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + -- cgit