Changeset 873


Ignore:
Timestamp:
May 20, 2013, 1:24:58 PM (12 years ago)
Author:
alloc
Message:

AEI2.14:

Location:
java/installer2
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • java/installer2/locales/net/oni2/aeinstaller/localization/MainWin_de.properties

    r860 r873  
    9595doUpdate.title=Aktualisiere Pakete
    9696
     97startupTips.title=Hinweise
     98startupTips.text=<h2>Willkommen zu Oni's Anniversary Edition Installer!</h2>\
     99<h3>Bitte nimm dir einen Moment um diese Hinweise zu lesen.</h3>\
     100<ul><li>Lies die Beschreibungen der Mods sorgfältig, bevor du Sie installierst.</li>\
     101<li>Wähle beim ersten Versuch nicht mehr als 20 bis 30 Mods. Zu viele<br>\
     102    installierte Mods könnten Oni zum Abstürzen bringen.</li>\
     103<li>Um ein Mod zu deinstallieren deselektiere es in der Liste und klicke<br>\
     104    erneut auf "Installieren"; du musst keine Pakete löschen.</li>\
     105<li>Es wird strengstens empfohlen, Updates für Mods und den AE Installer<br>\
     106    durchzuführen, wenn du über neue Versionen benachrichtigt wirst.</li>\
     107<li>Wenn du informiert wirst, dass zwei Mods inkompatibel sind, musst du<br>\
     108    eines von beiden abwählen bevor du die Installation durchführen kannst.</li>\
     109<li>Um Bugs or Probleme mit der Anniversary Edition oder dem Installer zu<br>\
     110    melden, klicke <a href="http://oni.bungie.org/community/forum/viewforum.php?id=12">hier</a>.</li>\
     111<li>Um ein Problem mit einem bestimmten Mod zu melden, besuche dessen<br>\
     112    Thread, der üblicherweise in der Beschreibung der Mods verlinkt ist.</li>\
     113<li>Achtung: Wenn zuviele Mods, die neue Partikel verwenden, installiert<br>\
     114    werden, könnte Oni abstürzen. Mehr zu diesem Thema\
     115    <a href="http://oni.bungie.org/community/forum/viewtopic.php?id=2567">hier</a>.</li>\
     116<li>Für weitere Informationen und Hinweise zu den Funktionen des Installers<br>\
     117    gehe auf "Hilfe" im "Installer" Menü.</li>\
     118<li>Deaktiviere die entsprechende Option in den "Einstellungen" im<br>\
     119    "Installer" Menü, um diese Nachricht abzuschalten.</li></ul>
     120
     121
    97122jreNotFound.text=Dieses Tool benötigt eine JRE aber es wurde keine gefunden.
    98123jreNotFound.title=JRE nicht gefunden
  • java/installer2/locales/net/oni2/aeinstaller/localization/SettingsDialog_de.properties

    r860 r873  
    1616auch wenn dafür weitere Pakete heruntergeladen werden. Du wirst dann am <b>Ende</b><br>\
    1717informiert, welche zusätzlichen Pakete installiert wurden.</html>
     18lblShowTipsAtStart=Zeige Tipps beim Start:
    1819lblCopyIntro=Kopiere Vorspannvideo bei der Installation:
    1920lblCopyOutro=Kopiere Abspannvideo bei der Installation:
  • java/installer2/src/net/oni2/aeinstaller/gui/MainWin.java

    r871 r873  
    4848import javax.swing.ToolTipManager;
    4949import javax.swing.filechooser.FileFilter;
     50import javax.swing.text.html.CSS;
    5051
    5152import net.oni2.SettingsManager;
     
    8283import net.oni2.platformtools.applicationinvoker.ERuntimeNotInstalledException;
    8384import net.oni2.resourcebundle.UTF8ResourceBundleLoader;
     85import net.oni2.swingcomponents.HTMLLinkLabel;
    8486
    8587import org.javabuilders.BuildResult;
     
    460462
    461463        @SuppressWarnings("unused")
     464        private void showTips() {
     465                if (SettingsManager.getInstance().get("showTips", true)) {
     466                        HTMLLinkLabel text = new HTMLLinkLabel();
     467                        text.setCssAttribute("h2", CSS.Attribute.MARGIN_TOP, "0");
     468                        text.setCssAttribute("h3", CSS.Attribute.MARGIN_TOP, "0");
     469                        text.setCssAttribute("ul", CSS.Attribute.MARGIN_TOP, "0");
     470                        text.setCssAttribute("ul", CSS.Attribute.MARGIN_LEFT, "20");
     471                        text.setCssAttribute("ul li", CSS.Attribute.MARGIN_TOP, "10");
     472                        text.setCssAttribute("ul li", CSS.Attribute.PADDING_LEFT, "10");
     473                        text.setText(bundle.getString("startupTips.text"));
     474                        JOptionPane.showMessageDialog(this, text,
     475                                        bundle.getString("startupTips.title"),
     476                                        JOptionPane.INFORMATION_MESSAGE);
     477                }
     478        }
     479
     480        @SuppressWarnings("unused")
    462481        private void focus() {
    463482                SwingUtilities.invokeLater(new Runnable() {
  • java/installer2/src/net/oni2/aeinstaller/gui/MainWin.yml

    r860 r873  
    66  locationRelativeTo: null
    77  defaultCloseOperation: doNothingOnClose
    8   onWindowOpened: [execDepotUpdate,checkCorePackages,infoCorePackages,checkInitialize,initialize,checkUpdates,doUpdate,refreshToolsMenu,showNewPackages,focus]
     8  onWindowOpened: [execDepotUpdate,checkCorePackages,infoCorePackages,checkInitialize,initialize,checkUpdates,doUpdate,refreshToolsMenu,showNewPackages,showTips,focus]
    99  onWindowClosing: [saveLocalData,exit]
    1010  iconImage: img.ae
  • java/installer2/src/net/oni2/aeinstaller/gui/settings/SettingsDialog.java

    r872 r873  
    4141        private JCheckBox chkNotifyNewPackagesOnStart;
    4242        private JCheckBox chkNotifyDepsAfterInstall;
     43        private JCheckBox chkShowTipsAtStart;
    4344        private JCheckBox chkCopyIntro;
    4445        private JCheckBox chkCopyOutro;
     
    8687                chkNotifyDepsAfterInstall.setSelected(set.get("notifyDepsAfterInstall",
    8788                                false));
     89                chkShowTipsAtStart.setSelected(set.get("showTips", true));
    8890                chkCopyIntro.setSelected(set.get("copyintro", false));
    8991                chkCopyOutro.setSelected(set.get("copyoutro", true));
     
    145147                set.put("notifyDepsAfterInstall",
    146148                                chkNotifyDepsAfterInstall.isSelected());
     149                set.put("showTips", chkShowTipsAtStart.isSelected());
    147150                set.put("copyintro", chkCopyIntro.isSelected());
    148151                set.put("copyoutro", chkCopyOutro.isSelected());
  • java/installer2/src/net/oni2/aeinstaller/gui/settings/SettingsDialog.yml

    r860 r873  
    1414      - JCheckBox(name=chkNotifyNewPackagesOnStart, horizontalTextPosition=LEADING, text=lblNotifyNewPackagesOnStart)
    1515      - JCheckBox(name=chkNotifyDepsAfterInstall, horizontalTextPosition=LEADING, text=lblNotifyDepsAfterInstall, toolTipText=lblNotifyDepsAfterInstall.tooltip)
     16      - JCheckBox(name=chkShowTipsAtStart, horizontalTextPosition=LEADING, text=lblShowTipsAtStart)
    1617      - JCheckBox(name=chkCopyIntro, horizontalTextPosition=LEADING, text=lblCopyIntro)
    1718      - JCheckBox(name=chkCopyOutro, horizontalTextPosition=LEADING, text=lblCopyOutro)
     
    2122           >chkNotifyNewPackagesOnStart  [pref]
    2223           >chkNotifyDepsAfterInstall    [pref]
     24           >chkShowTipsAtStart           [pref]
    2325           >chkCopyIntro                 [pref]
    2426           >chkCopyOutro                 [pref]
  • java/installer2/src/net/oni2/aeinstaller/localization/MainWin.properties

    r860 r873  
    9595doUpdate.title=Updating packages
    9696
     97startupTips.title=Instructions
     98startupTips.text=<h2>Welcome to Oni's Anniversary Edition Installer!</h2>\
     99<h3>Please take a moment to read these instructions before you start.</h3>\
     100<ul><li>Read each mod's description carefully before you decide to install it.</li>\
     101<li>On your first run, try not to install more than 20 to 30 mods. Installing<br>\
     102    too many mods can cause Oni to run out of memory.</li>\
     103<li>To uninstall a mod, just unselect it from the list and click "Install"<br>\
     104    again; you don't have to delete it.</li>\
     105<li>It's highly recommended that you update your mods and the AE Installer<br>\
     106    whenever you're notified that an update is available.</li>\
     107<li>If you're notified that two mods are incompatible, you have to unselect<br>\
     108    one of them before you try to install again.</li>\
     109<li>To report bugs or problems with the Anniversary Edition itself or the<br>\
     110    AE Installer go <a href="http://oni.bungie.org/community/forum/viewforum.php?id=12">here</a>.</li>\
     111<li>To report bugs with a particular mod, visit that mod's thread, which is<br>\
     112    usually linked to in the mod's description.</li>\
     113<li>Warning: If too many mods which use custom particles are installed, Oni<br>\
     114    may crash. Read more about this issue <a href="http://oni.bungie.org/community/forum/viewtopic.php?id=2567">here</a>.</li>\
     115<li>For more information and instructions on the features of the AE Installer<br>\
     116    itself, see "Help" under the "Installer" menu.</li>\
     117<li>To disable this message, uncheck the corresponding option in "Settings"<br>\
     118    under the "Installer" menu.</li></ul>
     119
    97120jreNotFound.text=This tool requires a JRE but it was not found.
    98121jreNotFound.title=No JRE found
  • java/installer2/src/net/oni2/aeinstaller/localization/SettingsDialog.properties

    r860 r873  
    1717informed on what additional mods were installed to meet<br>\
    1818dependencies <b>afterwards</b>.</html>
     19lblShowTipsAtStart=Show tips on startup:
    1920lblCopyIntro=Enable starting video on installation:
    2021lblCopyOutro=Enable ending video on installation:
Note: See TracChangeset for help on using the changeset viewer.