Minor change to allow showing user selected system languages on login list
This commit is contained in:
parent
d442d2fe55
commit
b45a2a6fb8
|
@ -1073,6 +1073,8 @@ public final class Env
|
|||
while (rs.next())
|
||||
{
|
||||
String AD_Language = rs.getString(1);
|
||||
// called to add the language to supported in case it's not added
|
||||
Language.getLanguage(AD_Language);
|
||||
AD_Languages.add(AD_Language);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -287,8 +287,8 @@ public class LoginPanel extends Window implements EventListener
|
|||
|
||||
// Update Language List
|
||||
lstLanguage.getItems().clear();
|
||||
String[] availableLanguages = Language.getNames();
|
||||
ArrayList<String> supported = Env.getSupportedLanguages();
|
||||
String[] availableLanguages = Language.getNames();
|
||||
for (String langName : availableLanguages) {
|
||||
Language language = Language.getLanguage(langName);
|
||||
if (!language.isBaseLanguage()) {
|
||||
|
|
Loading…
Reference in New Issue