Consolidate local overrides of messages and styles in "local" subdirectory. Allows customisation without creating a new thmee.
This commit is contained in:
parent
9797afe881
commit
3ad80a9cf6
7 changed files with 24 additions and 2 deletions
|
@ -143,7 +143,7 @@ public class VitroResourceBundle extends ResourceBundle {
|
|||
if (props == null) {
|
||||
throw new FileNotFoundException("Property file not found at '" + defaultsPath + "' or '" + propertiesPath + "'");
|
||||
}
|
||||
props = loadProperties(props, locateFile(joinPath(appI18nPath, "local_" + resourceName)));
|
||||
props = loadProperties(props, locateFile(joinPath("/local/i18n/", resourceName)));
|
||||
|
||||
return props;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue