Changeset 629 for AE/installer2/src/net/oni2/aeinstaller
- Timestamp:
- Jan 18, 2013, 12:17:17 PM (12 years ago)
- Location:
- AE/installer2/src/net/oni2/aeinstaller
- Files:
-
- 7 added
- 5 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/AEInstaller.properties
r627 r629 1 1 appname=AE Installer 2 2 appversion=0.87 3 4 invalidPath.title=Wrong directory 5 invalidPath.text=This program has to be placed in the subfolder Edition/AEInstaller inside a vanilla Oni folder.\nThe full path of the .jar-file has to be:\nOniFolder/Edition/AEInstaller/AEInstaller2.jar 6 7 dotNetMissing.title=.NET is not installed 8 dotNetMissing.text=.NET, which is required to use this tool, is not installed on this machine.<br>Please download and install it:<br>%1 9 10 offlineMode.title=Offline mode 11 offlineMode.text=Connection to the ModDepot could not be established.\nAEI will run in offline mode.\nUpdates or installation of mods not already downloaded will not be possible. 2 appversion=0.88 -
AE/installer2/src/net/oni2/aeinstaller/AEInstaller2.java
r628 r629 37 37 38 38 private static ResourceBundle imagesBundle = ResourceBundle 39 .getBundle( AEInstaller2.class.getPackage().getName() + ".Images");39 .getBundle("net.oni2.aeinstaller.Images"); 40 40 private static ResourceBundle basicBundle = ResourceBundle 41 .getBundle(AEInstaller2.class.getPackage().getName() 42 + ".AEInstaller"); 41 .getBundle("net.oni2.aeinstaller.AEInstaller"); 42 private static ResourceBundle startupBundle = ResourceBundle 43 .getBundle("net.oni2.aeinstaller.localization.Startup"); 43 44 44 45 private static Application app = null; … … 92 93 SwingJavaBuilder.getConfig().addResourceBundle(imagesBundle); 93 94 SwingJavaBuilder.getConfig().addResourceBundle(basicBundle); 95 SwingJavaBuilder.getConfig().addResourceBundle(startupBundle); 94 96 SwingJavaBuilder.getConfig().setMarkInvalidResourceBundleKeys(true); 95 97 SwingJavaBuilder.getConfig().addType("JToolBarSeparator", … … 160 162 dlUrl = "http://www.go-mono.com/mono-downloads/download.html"; 161 163 } 162 hll.setText( basicBundle.getString("dotNetMissing.text").replaceAll(164 hll.setText(startupBundle.getString("dotNetMissing.text").replaceAll( 163 165 "%1", String.format("<a href=\"%s\">%s</a>", dlUrl, dlUrl))); 164 166 JOptionPane.showMessageDialog(null, hll, 165 basicBundle.getString("dotNetMissing.title"),167 startupBundle.getString("dotNetMissing.title"), 166 168 JOptionPane.ERROR_MESSAGE); 167 169 return; … … 170 172 if (!Installer.verifyRunningDirectory()) { 171 173 JOptionPane.showMessageDialog(null, 172 basicBundle.getString("invalidPath.text"),173 basicBundle.getString("invalidPath.title"),174 startupBundle.getString("invalidPath.text"), 175 startupBundle.getString("invalidPath.title"), 174 176 JOptionPane.ERROR_MESSAGE); 175 177 if (!Settings.isDebug()) { … … 181 183 if (offline) { 182 184 JOptionPane.showMessageDialog(null, 183 basicBundle.getString("offlineMode.text"),184 basicBundle.getString("offlineMode.title"),185 startupBundle.getString("offlineMode.text"), 186 startupBundle.getString("offlineMode.title"), 185 187 JOptionPane.INFORMATION_MESSAGE); 186 188 } -
AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.java
r627 r629 86 86 private static final long serialVersionUID = -4027395051382659650L; 87 87 88 private ResourceBundle bundle = ResourceBundle.getBundle(getClass() 89 .getName()); 88 private ResourceBundle bundle = ResourceBundle 89 .getBundle("net.oni2.aeinstaller.localization." 90 + getClass().getSimpleName()); 90 91 @SuppressWarnings("unused") 91 92 private BuildResult result = SwingJavaBuilder.build(this, bundle); -
AE/installer2/src/net/oni2/aeinstaller/gui/downloadwindow/Downloader.java
r606 r629 24 24 private static final long serialVersionUID = 9097967828001263776L; 25 25 26 private ResourceBundle bundle = ResourceBundle.getBundle(getClass() 27 .getName()); 26 private ResourceBundle bundle = ResourceBundle 27 .getBundle("net.oni2.aeinstaller.localization." 28 + getClass().getSimpleName()); 28 29 @SuppressWarnings("unused") 29 30 private BuildResult result = SwingJavaBuilder.build(this, bundle); -
AE/installer2/src/net/oni2/aeinstaller/gui/modtable/ModTableModel.java
r608 r629 20 20 private static final long serialVersionUID = -8278155705802697354L; 21 21 22 private ResourceBundle bundle = ResourceBundle.getBundle(getClass() 23 .getName()); 22 private ResourceBundle bundle = ResourceBundle 23 .getBundle("net.oni2.aeinstaller.localization." 24 + getClass().getSimpleName()); 24 25 25 26 private Vector<Mod> items = new Vector<Mod>(); -
AE/installer2/src/net/oni2/aeinstaller/gui/settings/SettingsDialog.java
r625 r629 25 25 private static final long serialVersionUID = -5719515325671846620L; 26 26 27 private ResourceBundle bundle = ResourceBundle.getBundle(getClass() 28 .getName()); 27 private ResourceBundle bundle = ResourceBundle 28 .getBundle("net.oni2.aeinstaller.localization." 29 + getClass().getSimpleName()); 29 30 @SuppressWarnings("unused") 30 31 private BuildResult result = SwingJavaBuilder.build(this, bundle); -
AE/installer2/src/net/oni2/aeinstaller/gui/toolmanager/ToolManager.java
r626 r629 35 35 private static final long serialVersionUID = 343221630538866384L; 36 36 37 private ResourceBundle bundle = ResourceBundle.getBundle(getClass() 38 .getName()); 37 private ResourceBundle bundle = ResourceBundle 38 .getBundle("net.oni2.aeinstaller.localization." 39 + getClass().getSimpleName()); 39 40 @SuppressWarnings("unused") 40 41 private BuildResult result = SwingJavaBuilder.build(this, bundle);
Note:
See TracChangeset
for help on using the changeset viewer.