aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/form/time
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-08-19 23:10:23 +0200
committerRobert Jaros <rjaros@finn.pl>2018-08-19 23:10:23 +0200
commit561a9d5fdc0f8be67703e8d594148cda5d74f754 (patch)
tree2976ae179a14487943c68102ceeebd7cbb73f7ae /src/main/kotlin/pl/treksoft/kvision/form/time
parente5a97e0d4eb4edd0767dc568b688454c8a090c70 (diff)
downloadkvision-561a9d5fdc0f8be67703e8d594148cda5d74f754.tar.gz
kvision-561a9d5fdc0f8be67703e8d594148cda5d74f754.tar.bz2
kvision-561a9d5fdc0f8be67703e8d594148cda5d74f754.zip
Internationalization support.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/form/time')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/form/time/DateTimeInput.kt2
1 files changed, 1 insertions, 1 deletions
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)