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:
lieght
2025-10-03 04:15:36 +02:00
parent a5513bf87b
commit 83130806a8
7 changed files with 116 additions and 112 deletions

View File

@@ -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) {