mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 17:17:09 +00:00
bugfix/Fix the function getWebUiPropsValue regarding translation
This commit is contained in:
parent
38b06dd19b
commit
2186ed97b6
@ -49,7 +49,7 @@ object MappedWebUiPropsProvider extends WebUiPropsProvider {
|
||||
}
|
||||
|
||||
// In case there is a translation we must use it
|
||||
val language = I18NUtil.currentLocale().getLanguage().toLowerCase()
|
||||
val language = I18NUtil.currentLocale().toString()
|
||||
val webUiPropsPropertyName = s"${brandSpecificPropertyName}_${language}"
|
||||
val translatedAndOrBrandPropertyName = WebUiProps.find(By(WebUiProps.Name, webUiPropsPropertyName)).isDefined match {
|
||||
case true => webUiPropsPropertyName
|
||||
|
||||
Loading…
Reference in New Issue
Block a user