aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/i18n
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-08-21 16:07:28 +0200
committerRobert Jaros <rjaros@finn.pl>2018-08-21 16:07:28 +0200
commit63691ce4536cbff24330e6d268343e343ee806fa (patch)
treecfa9b6e8c3a594a7756034bfd403ceb9311c72d7 /src/main/kotlin/pl/treksoft/kvision/i18n
parent561a9d5fdc0f8be67703e8d594148cda5d74f754 (diff)
downloadkvision-63691ce4536cbff24330e6d268343e343ee806fa.tar.gz
kvision-63691ce4536cbff24330e6d268343e343ee806fa.tar.bz2
kvision-63691ce4536cbff24330e6d268343e343ee806fa.zip
Internationalization support for built-in components.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/i18n')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/i18n/I18n.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/i18n/I18n.kt b/src/main/kotlin/pl/treksoft/kvision/i18n/I18n.kt
index 6d0b0bfa..9d2ee1db 100644
--- a/src/main/kotlin/pl/treksoft/kvision/i18n/I18n.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/i18n/I18n.kt
@@ -48,7 +48,7 @@ object I18n {
var language = defaultLanguage
set(value) {
field = value
- Root.roots.forEach { it.reRender() }
+ Root.roots.forEach { it.restart() }
}
private val cache = mutableMapOf<String, Jed>()