Changeset 35394
- Timestamp:
- 2021-09-14T14:29:43+12:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/XSLTUtil.java
r35392 r35394 831 831 public static String getInterfaceStringsAsJavascript(String interface_name, String lang, String prefix, String prependToPrefix) 832 832 { 833 // now we allow looking for files in the interface's resources folder 834 CustomClassLoader my_loader = new CustomClassLoader(XSLTUtil.class.getClassLoader(), GSFile.interfaceResourceDir(GlobalProperties.getGSDL3Home(), interface_name)); 833 835 String prefixwithdot = prefix+"."; 834 836 // 1. Generating Javascript of the form: … … 848 850 { 849 851 // get all the keys from the english dictionary as this is a complete set 850 Dictionary dict = new Dictionary(dictName, "en");852 Dictionary dict = new Dictionary(dictName, "en", my_loader); 851 853 Enumeration keys = dict.getKeys(); 852 854 if (keys == null)
Note:
See TracChangeset
for help on using the changeset viewer.