- Timestamp:
- 2022-09-08T11:08:46+12:00 (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/ServiceRack.java
r33774 r36592 575 575 * getTextString - retrieves a language specific text string for the given 576 576 * key and locale, from the specified resource_bundle (dictionary) 577 * dictionary may be null, in which case it will use class names 577 578 */ 578 579 protected String getTextString(String key, String lang, String dictionary, String[] args) … … 584 585 protected String getMetadataNameText(String key, String lang) 585 586 { 586 587 String properties_name = "metadata_names"; 588 Dictionary dict = new Dictionary(properties_name, lang); 589 590 String result = dict.get(key); 591 if (result == null) 592 { // not found 593 return null; 594 } 595 return result; 587 return Dictionary.getTextString(key, lang, null, "metadata_names", null, null, this.class_loader); 596 588 } 597 589 }
Note:
See TracChangeset
for help on using the changeset viewer.