Ignore:
Timestamp:
Apr 30, 2013, 2:05:15 AM (12 years ago)
Author:
alloc
Message:

AEI2.07:

  • Allow for non-ISO-8859-1 characters in properties files (more exactly require them to be UTF8)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/installer2/src/net/oni2/aeinstaller/gui/settings/SettingsDialog.java

    r720 r840  
    1515
    1616import net.oni2.SettingsManager;
     17import net.oni2.resourcebundle.UTF8ResourceBundleLoader;
    1718
    1819import org.javabuilders.BuildResult;
     
    2526        private static final long serialVersionUID = -5719515325671846620L;
    2627
    27         private ResourceBundle bundle = ResourceBundle
     28        private ResourceBundle bundle = UTF8ResourceBundleLoader
    2829                        .getBundle("net.oni2.aeinstaller.localization."
    2930                                        + getClass().getSimpleName());
     
    7273
    7374                chkNotifyOnStart.setSelected(set.get("notifyupdates", true));
    74                 chkNotifyDepsAfterInstall.setSelected(set.get("notifyDepsAfterInstall", false));
     75                chkNotifyDepsAfterInstall.setSelected(set.get("notifyDepsAfterInstall",
     76                                false));
    7577                chkCopyIntro.setSelected(set.get("copyintro", false));
    7678                chkCopyOutro.setSelected(set.get("copyoutro", true));
     
    8284
    8385                set.put("notifyupdates", chkNotifyOnStart.isSelected());
    84                 set.put("notifyDepsAfterInstall", chkNotifyDepsAfterInstall.isSelected());
     86                set.put("notifyDepsAfterInstall",
     87                                chkNotifyDepsAfterInstall.isSelected());
    8588                set.put("copyintro", chkCopyIntro.isSelected());
    8689                set.put("copyoutro", chkCopyOutro.isSelected());
Note: See TracChangeset for help on using the changeset viewer.