1.1 --- a/src/main/kotlin/de/uapcore/lightpit/RequestMapping.kt Thu Dec 29 14:53:05 2022 +0100 1.2 +++ b/src/main/kotlin/de/uapcore/lightpit/RequestMapping.kt Thu Dec 29 15:04:21 2022 +0100 1.3 @@ -193,7 +193,7 @@ 1.4 render() 1.5 } 1.6 1.7 - fun i18n(key: String) = ResourceBundle.getBundle("localization/strings", response.locale).getString(key) 1.8 + fun i18n(key: String): String = ResourceBundle.getBundle("localization/strings", response.locale).getString(key) 1.9 } 1.10 1.11 /**