Ignore:
Timestamp:
2003-10-07T15:35:23+13:00 (21 years ago)
Author:
mdewsnip
Message:

Changed calls to the Dictionary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/Preferences.java

    r5589 r5593  
    270270        String value = (String) warning_preferences.get(property);
    271271        // Remove 'warning.'
    272         String title = Dictionary.newget(property.substring(8) + ".Title");
     272        String title = Dictionary.get(property.substring(8) + ".Title");
    273273        Entry entry = new Entry(title, value.equalsIgnoreCase(TRUE));
    274274        entry.setProperty(property);
     
    533533        Gatherer.dictionary.changeDictionary(entry.getLocale());
    534534        // Display message
    535         JOptionPane.showMessageDialog(Gatherer.g_man, Dictionary.newget("Preferences.General.Restart_Required"), Dictionary.newget("Preferences.General.Restart_Required"), JOptionPane.WARNING_MESSAGE);
     535        JOptionPane.showMessageDialog(Gatherer.g_man, Dictionary.get("Preferences.General.Restart_Required"), Dictionary.get("Preferences.General.Restart_Required"), JOptionPane.WARNING_MESSAGE);
    536536        }
    537537    }
Note: See TracChangeset for help on using the changeset viewer.