Skip to content

Commit

Permalink
add a note about OSL to the installation success message
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceWalkerRS committed Dec 22, 2023
1 parent 1ba983b commit 4b8f081
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ protected static boolean showPopup(String title, String description, int optionT
}

protected static void showInstalledMessage(LoaderType type) {
showPopup(Localization.get("dialog.install.successful"), Localization.createFrom("dialog.install.successful.description", type.getLocalizedName()),
showPopup(Localization.get("dialog.install.successful"), Localization.createFrom("dialog.install.successful.description", type.getLocalizedName(), "https://modrinth.com/mod/osl"),
JOptionPane.DEFAULT_OPTION, JOptionPane.INFORMATION_MESSAGE);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ private void install(ActionEvent event) {
}

private static void showMmcPackGenerationMessage(LoaderType type){
showPopup(Localization.get("dialog.install.mmc.successful"), Localization.createFrom("dialog.install.mmc.successful.description", type.getLocalizedName()),
showPopup(Localization.get("dialog.install.mmc.successful"), Localization.createFrom("dialog.install.mmc.successful.description", type.getLocalizedName(), "https://modrinth.com/mod/osl"),
JOptionPane.DEFAULT_OPTION, JOptionPane.INFORMATION_MESSAGE);
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/lang/installer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ gui.install.mmc=Generate Pack

dialog.install.successful=Successfully Installed
dialog.install.mmc.successful=Successful
dialog.install.successful.description={0} Loader has been successfully installed.<br>
dialog.install.mmc.successful.description=A Mmc/PrismLauncher pack has been generated with {0} Loader
dialog.install.successful.description={0} Loader has been successfully installed.<br>Most mods require that you also download the <a href="{1}">Ornithe Standard Libraries</a> mod and place it in your mods folder</br>
dialog.install.mmc.successful.description=A Mmc/PrismLauncher pack has been generated with {0} Loader.<br>Most mods require that you also download the <a href="{1}">Ornithe Standard Libraries</a> mod and place it in your mods folder</br>

dialog.install.server.overwrite-jar=Overwrite Minecraft Jar
dialog.install.server.overwrite-jar.description=You already have a valid Minecraft jar file.<br>Are you sure you want to overwrite it?<br>This will not affect your world save or any other files.
Expand Down

0 comments on commit 4b8f081

Please sign in to comment.