forked from Qortal/qortal
CHANGED: added comment
CHANGED: default locale
This commit is contained in:
parent
2d0ced5a72
commit
2eb808a0b7
@ -137,6 +137,7 @@ public class AnnotationPostProcessor implements ReaderListener {
|
||||
String key = keys.get(prop.keyName());
|
||||
if(key != null) {
|
||||
String originalValue = prop.getValue(item);
|
||||
// XXX: use configurable or browser locale instead english?
|
||||
String translation = translator.translate(Locale.ENGLISH, context.path, key, originalValue);
|
||||
prop.setValue(item, translation);
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ public class Settings {
|
||||
|
||||
// Globalization
|
||||
private String translationsPath = "globalization/";
|
||||
private String[] translationsDefaultLocales = {"en-GB"};
|
||||
private String[] translationsDefaultLocales = {"en"};
|
||||
|
||||
// Constants
|
||||
private static final String SETTINGS_FILENAME = "settings.json";
|
||||
|
Loading…
Reference in New Issue
Block a user