From a70acf853de62d0754ca95aa4103712b82afdef8 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 17 Oct 2018 18:40:15 +0200 Subject: API Documentation for KVision 0.0.18 --- .../-simple-i18n-manager/-init-.html | 14 ++++ .../-simple-i18n-manager/gettext.html | 21 ++++++ .../-simple-i18n-manager/index.html | 80 ++++++++++++++++++++++ .../-simple-i18n-manager/ngettext.html | 25 +++++++ 4 files changed, 140 insertions(+) create mode 100644 api/pl.treksoft.kvision.i18n/-simple-i18n-manager/-init-.html create mode 100644 api/pl.treksoft.kvision.i18n/-simple-i18n-manager/gettext.html create mode 100644 api/pl.treksoft.kvision.i18n/-simple-i18n-manager/index.html create mode 100644 api/pl.treksoft.kvision.i18n/-simple-i18n-manager/ngettext.html (limited to 'api/pl.treksoft.kvision.i18n/-simple-i18n-manager') diff --git a/api/pl.treksoft.kvision.i18n/-simple-i18n-manager/-init-.html b/api/pl.treksoft.kvision.i18n/-simple-i18n-manager/-init-.html new file mode 100644 index 00000000..5a837b88 --- /dev/null +++ b/api/pl.treksoft.kvision.i18n/-simple-i18n-manager/-init-.html @@ -0,0 +1,14 @@ + + + +SimpleI18nManager.<init> - kvision + + + +kvision / pl.treksoft.kvision.i18n / SimpleI18nManager / <init>
+
+

<init>

+ +SimpleI18nManager() + + diff --git a/api/pl.treksoft.kvision.i18n/-simple-i18n-manager/gettext.html b/api/pl.treksoft.kvision.i18n/-simple-i18n-manager/gettext.html new file mode 100644 index 00000000..f7f488ef --- /dev/null +++ b/api/pl.treksoft.kvision.i18n/-simple-i18n-manager/gettext.html @@ -0,0 +1,21 @@ + + + +SimpleI18nManager.gettext - kvision + + + +kvision / pl.treksoft.kvision.i18n / SimpleI18nManager / gettext
+
+

gettext

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

Overrides I18nManager.gettext

+

A static translation function for a singular form.

+

Parameters

+

+key - a translation key.

+

Return
+translated text.

+ + diff --git a/api/pl.treksoft.kvision.i18n/-simple-i18n-manager/index.html b/api/pl.treksoft.kvision.i18n/-simple-i18n-manager/index.html new file mode 100644 index 00000000..1c3adcd2 --- /dev/null +++ b/api/pl.treksoft.kvision.i18n/-simple-i18n-manager/index.html @@ -0,0 +1,80 @@ + + + +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.

+
+ + diff --git a/api/pl.treksoft.kvision.i18n/-simple-i18n-manager/ngettext.html b/api/pl.treksoft.kvision.i18n/-simple-i18n-manager/ngettext.html new file mode 100644 index 00000000..4349c98a --- /dev/null +++ b/api/pl.treksoft.kvision.i18n/-simple-i18n-manager/ngettext.html @@ -0,0 +1,25 @@ + + + +SimpleI18nManager.ngettext - kvision + + + +kvision / pl.treksoft.kvision.i18n / SimpleI18nManager / ngettext
+
+

ngettext

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

Overrides I18nManager.ngettext

+

A static translation function for a plural form.

+

Parameters

+

+singularKey - a translation key for a singular form.

+

+pluralKey - a translation key for a plural form.

+

+value - a count value.

+

Return
+translated text.

+ + -- cgit