Changeset 1023 for java/installer2/src/net/oni2/aeinstaller/backend/oni
- Timestamp:
- May 30, 2015, 3:14:44 PM (10 years ago)
- Location:
- java/installer2/src/net/oni2/aeinstaller/backend/oni/management
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
java/installer2/src/net/oni2/aeinstaller/backend/oni/management/Initializer.java
r749 r1023 11 11 import java.util.Vector; 12 12 13 import net.oni2.aeinstaller.AEInstaller2; 13 14 import net.oni2.aeinstaller.backend.Paths; 14 15 import net.oni2.aeinstaller.backend.oni.OniSplit; … … 68 69 69 70 listener.installProgressUpdate(stepsDone, totalSteps, 70 "Cleaning up directories");71 AEInstaller2.globalBundle.getString("coreInitializer.cleanup")); 71 72 createEmptyPath(Paths.getVanillaOnisPath()); 72 73 createEmptyPath(init); … … 87 88 log.println("\t\tExporting"); 88 89 listener.installProgressUpdate(stepsDone, totalSteps, 89 "Exporting vanilla level " + levelNumber);90 AEInstaller2.globalBundle.getString("coreInitializer.exportVanilla").replaceAll("%1", String.valueOf(levelNumber))); 90 91 91 92 // Edition/GameDataFolder/level*_Final/ … … 116 117 log.println("\t" + levelName); 117 118 listener.installProgressUpdate(stepsDone, totalSteps, 118 "Creating globalized " + levelName);119 AEInstaller2.globalBundle.getString("coreInitializer.globalize").replaceAll("%1", levelName)); 119 120 120 121 Vector<File> folders = new Vector<File>(); … … 132 133 133 134 listener.installProgressUpdate(stepsDone, totalSteps, 134 "Copying basic files");135 AEInstaller2.globalBundle.getString("coreInitializer.copyBasicFiles")); 135 136 // Copy Oni-configs 136 137 File persistVanilla = new File(Paths.getOniBasePath(), -
java/installer2/src/net/oni2/aeinstaller/backend/oni/management/Installer.java
r1021 r1023 276 276 private static void combineBSLFolders(TreeSet<Package> mods, 277 277 InstallProgressListener listener, Logger log) { 278 listener.installProgressUpdate(95, 100, "Installing BSL files");278 listener.installProgressUpdate(95, 100, AEInstaller2.globalBundle.getString("modInstaller.installBsl")); 279 279 log.println(); 280 280 log.println("Installing BSL files"); … … 393 393 log.println(); 394 394 log.println("Applying XML patches"); 395 listener.installProgressUpdate(0, 1, "Applying XML patches");395 listener.installProgressUpdate(0, 1, AEInstaller2.globalBundle.getString("modInstaller.applyXmlPatches")); 396 396 397 397 long startMS = new Date().getTime(); … … 551 551 log.println("\tLevel " + l); 552 552 listener.installProgressUpdate(stepsDone, totalSteps, 553 "Installing level " + l);553 AEInstaller2.globalBundle.getString("modInstaller.buildingLevelN").replaceAll("%1", l.toString())); 554 554 555 555 if ((levelsUpdated == null) … … 605 605 606 606 private static void copyPlainFiles(final Logger log, TreeSet<Package> mods, InstallProgressListener listener) { 607 listener.installProgressUpdate(97, 100, "Copying plain files");607 listener.installProgressUpdate(97, 100, AEInstaller2.globalBundle.getString("modInstaller.copyPlainFiles")); 608 608 log.println(); 609 609 log.println("Copying plain files from mods");
Note:
See TracChangeset
for help on using the changeset viewer.