mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 19:04:49 +00:00
Changed bundled resources to use static base name instead.
Added options menu with selectable language. Created checkbox for setting fullscreen. Refactored code to functions
This commit is contained in:
@@ -2,6 +2,7 @@ package org.toop.local;
|
||||
|
||||
import org.toop.framework.eventbus.EventFlow;
|
||||
|
||||
import java.lang.reflect.Array;
|
||||
import java.util.Locale;
|
||||
|
||||
public class AppContext {
|
||||
@@ -9,6 +10,7 @@ public class AppContext {
|
||||
|
||||
public static void setLocale(Locale locale) {
|
||||
currentLocale = locale;
|
||||
new EventFlow().addPostEvent(new LocalizationEvents.LanguageHasChanged(locale.getLanguage())).asyncPostEvent();
|
||||
}
|
||||
|
||||
public static void setCurrentLocale(Locale locale) {
|
||||
|
||||
Reference in New Issue
Block a user