changed to realm, because that is the source
This commit is contained in:
parent
0f878566ab
commit
f3d387172e
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ public class LocaleResource {
|
|||
Map<Locale, Properties> realmLocalizationMessages = LocaleUtil.getRealmLocalizationTexts(realm, locale);
|
||||
for (Locale currentLocale = locale; currentLocale != null; currentLocale = LocaleUtil.getParentLocale(currentLocale)) {
|
||||
final List<KeySource> realmOverride = realmLocalizationMessages.get(currentLocale).entrySet().stream().map(e ->
|
||||
new KeySource((String) e.getKey(), (String) e.getValue(), Source.OVERRIDE)).collect(toList());
|
||||
new KeySource((String) e.getKey(), (String) e.getValue(), Source.REALM)).collect(toList());
|
||||
result.addAll(realmOverride);
|
||||
}
|
||||
|
||||
|
@ -62,7 +62,7 @@ public class LocaleResource {
|
|||
|
||||
enum Source {
|
||||
THEME,
|
||||
OVERRIDE
|
||||
REALM
|
||||
}
|
||||
class KeySource {
|
||||
private String key;
|
||||
|
|
Loading…
Reference in a new issue