mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-12 08:18:35 +00:00
Merge remote-tracking branch 'upstream/feature/translatable-text' into i18n-merge
This commit is contained in:
@ -39,6 +39,7 @@ import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashSet;
|
||||
import java.util.Locale;
|
||||
import java.util.Properties;
|
||||
import java.util.Set;
|
||||
|
||||
@ -122,6 +123,12 @@ public class PropertiesConfiguration extends LocalConfiguration {
|
||||
allowSymlinks = getBool("allow-symbolic-links", allowSymlinks);
|
||||
serverSideCUI = getBool("server-side-cui", serverSideCUI);
|
||||
extendedYLimit = getBool("extended-y-limit", extendedYLimit);
|
||||
defaultLocaleName = getString("default-locale", defaultLocaleName);
|
||||
if (defaultLocaleName.equals("default")) {
|
||||
defaultLocale = Locale.getDefault();
|
||||
} else {
|
||||
defaultLocale = Locale.forLanguageTag(defaultLocaleName.replace('_', '-'));
|
||||
}
|
||||
|
||||
LocalSession.MAX_HISTORY_SIZE = Math.max(15, getInt("history-size", 15));
|
||||
|
||||
|
Reference in New Issue
Block a user