Ignore:
Timestamp:
Feb 1, 2013, 10:38:03 AM (12 years ago)
Author:
alloc
Message:

AEI2 0.99l:

  • Added verification question before rebuilding core data
Location:
AE/installer2/src/net/oni2/aeinstaller
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • AE/installer2/src/net/oni2/aeinstaller/AEInstaller.properties

    r660 r661  
    11appname=AE Installer 2
    2 appversion=0.99k
     2appversion=0.99l
  • AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.java

    r660 r661  
    401401        }
    402402
     403        @SuppressWarnings("unused")
     404        private boolean reglobalizeVerify() {
     405                int res = JOptionPane.showConfirmDialog(this,
     406                                bundle.getString("rebuildCore.text"),
     407                                bundle.getString("rebuildCore.title"),
     408                                JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
     409                return res == JOptionPane.YES_OPTION;
     410        }
     411
    403412        @DoInBackground(progressMessage = "initializingEdition.title", cancelable = false, indeterminateProgress = false)
    404413        private void reglobalize(final BackgroundEvent evt) {
  • AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.yml

    r660 r661  
    1818    - Action(name=loadConfig, text=menu.loadConfig, toolTipText=menu.loadConfigTooltip, icon=img.openFile, onAction=[loadConfig])
    1919    - Action(name=saveConfig, text=menu.saveConfig, toolTipText=menu.saveConfigTooltip, icon=img.saveFile, onAction=[saveConfig])
    20     - Action(name=reglobalize, text=menu.reglobalize, toolTipText=menu.reglobalizeTooltip, icon=img.refresh, onAction=[reglobalize])
     20    - Action(name=reglobalize, text=menu.reglobalize, toolTipText=menu.reglobalizeTooltip, icon=img.refresh, onAction=[reglobalizeVerify,reglobalize])
    2121    - Action(name=tools, text=menu.manageTools, toolTipText=menu.manageToolsTooltip, icon=img.tools, onAction=[tools,refreshToolsMenu])
    2222    - Action(name=update, text=menu.update, toolTipText=menu.updateTooltip, icon=img.update, onAction=[checkUpdates,doUpdate])
  • AE/installer2/src/net/oni2/aeinstaller/localization/MainWin.properties

    r660 r661  
    4848updateDepot.title=Updating Mod Depot cache
    4949
     50rebuildCore.title=Rebuild Edition core data
     51rebuildCore.text=Rebuilding the core data of the Edition will take some time.\nAlso this normally should never be needed.\nDo you really want to continue?
     52
    5053installDependencies.title=Unmet dependencies
    5154installDependencies.text=There are unmet dependencies for some mods.\n\nFollowing mods are already downloaded and will be selected:\n%s\n\n\
Note: See TracChangeset for help on using the changeset viewer.