From 63503bd4517d87c34498002c820aefaef22c501e Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 22 Aug 2018 15:34:00 +0200 Subject: API documentation for 0.0.17 --- api/pl.treksoft.kvision.core/-widget/index.html | 16 ++++++++++++++++ .../-widget/last-language.html | 14 ++++++++++++++ .../-widget/translate.html | 22 ++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 api/pl.treksoft.kvision.core/-widget/last-language.html create mode 100644 api/pl.treksoft.kvision.core/-widget/translate.html (limited to 'api/pl.treksoft.kvision.core/-widget') diff --git a/api/pl.treksoft.kvision.core/-widget/index.html b/api/pl.treksoft.kvision.core/-widget/index.html index 9fa16127..8249776f 100644 --- a/api/pl.treksoft.kvision.core/-widget/index.html +++ b/api/pl.treksoft.kvision.core/-widget/index.html @@ -48,6 +48,13 @@ +

lastLanguage

+ + +var lastLanguage: String? + + +

parent

@@ -826,6 +833,15 @@

Toggles visibility of current widget.

+ + +

translate

+ + +fun translate(text: String): String +

Translates given text with I18n trans function and sets lastLanguage marker.

+fun translate(text: String?): String? +

Inherited Functions

diff --git a/api/pl.treksoft.kvision.core/-widget/last-language.html b/api/pl.treksoft.kvision.core/-widget/last-language.html new file mode 100644 index 00000000..79fd06ee --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/last-language.html @@ -0,0 +1,14 @@ + + + +Widget.lastLanguage - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / lastLanguage
+
+

lastLanguage

+ +protected var lastLanguage: String? + + diff --git a/api/pl.treksoft.kvision.core/-widget/translate.html b/api/pl.treksoft.kvision.core/-widget/translate.html new file mode 100644 index 00000000..75d4a031 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/translate.html @@ -0,0 +1,22 @@ + + + +Widget.translate - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / translate
+
+

translate

+ +protected fun translate(text: String): String +

Translates given text with I18n trans function and sets lastLanguage marker.

+

Parameters

+

+text - a text marked for a dynamic translation

+

Return
+translated text

+ +protected fun translate(text: String?): String? + + -- cgit