Ignore:
Timestamp:
2022-09-08T11:08:46+12:00 (20 months ago)
Author:
kjdon
Message:

modified Dictionary, so that if a lang fragment starts with [PENDING], then don't use it. This is to allow the addition of old strings which will help the translators, but which are too out of date to display in the interface. OTher classes use of Dictionary modified so that they go through getTextString, or createDictionaryAndGetString, thereby benifitting from the pending stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GS2MacroResolver.java

    r26196 r36592  
    113113              // if (m.text == null || new_lang)
    114114              // {
    115                   Dictionary dict = new Dictionary(m.bundle, lang, this.class_loader);
    116                   m.text = dict.get(m.key, null);
     115                              m.text = Dictionary.createDictionaryAndGetString(m.bundle, this.class_loader, m.key, lang, null);
    117116                    //  }
    118117                // we assume that dictionary entries will contain no macros
Note: See TracChangeset for help on using the changeset viewer.