src/main/kotlin/de/uapcore/lightpit/RequestMapping.kt

changeset 260
fb2ae2d63a56
parent 254
55ca6cafc3dd
child 284
671c1c8fbf1c
--- a/src/main/kotlin/de/uapcore/lightpit/RequestMapping.kt	Thu Dec 29 14:53:05 2022 +0100
+++ b/src/main/kotlin/de/uapcore/lightpit/RequestMapping.kt	Thu Dec 29 15:04:21 2022 +0100
@@ -193,7 +193,7 @@
         render()
     }
 
-    fun i18n(key: String) = ResourceBundle.getBundle("localization/strings", response.locale).getString(key)
+    fun i18n(key: String): String = ResourceBundle.getBundle("localization/strings", response.locale).getString(key)
 }
 
 /**

mercurial