From 561a9d5fdc0f8be67703e8d594148cda5d74f754 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 19 Aug 2018 23:10:23 +0200 Subject: Internationalization support. --- src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/pl/treksoft/kvision/form/time') diff --git a/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt b/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt index 3a40d1af..6ce4d0c3 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt @@ -136,7 +136,7 @@ open class DateTimeInput( val sn = super.getSnAttrs().toMutableList() sn.add("type" to "text") placeholder?.let { - sn.add("placeholder" to it) + sn.add("placeholder" to translate(it)) } name?.let { sn.add("name" to it) -- cgit