From 0a6d2ebfe8726fae8ebcac536631c29a2aa567e3 Mon Sep 17 00:00:00 2001
From: Professsional <63961221+ItsProfessional@users.noreply.github.com>
Date: Sat, 7 Jan 2023 14:56:54 +0530
Subject: [PATCH] Minor changes
---
.../com/pistacium/modcheck/ModCheckFrame.java | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/main/java/com/pistacium/modcheck/ModCheckFrame.java b/src/main/java/com/pistacium/modcheck/ModCheckFrame.java
index 315cc53..21f7faa 100644
--- a/src/main/java/com/pistacium/modcheck/ModCheckFrame.java
+++ b/src/main/java/com/pistacium/modcheck/ModCheckFrame.java
@@ -162,7 +162,7 @@ private void initBottomLayout() {
}
if (this.versionSelection.getSelectedItem() == null) {
- JOptionPane.showMessageDialog(this, "??? What are you doing");
+ JOptionPane.showMessageDialog(this, "Error: selected item is null");
downloadButton.setEnabled(true);
return;
}
@@ -220,7 +220,7 @@ private void initBottomLayout() {
this.progressBar.setValue(100);
ModCheck.setStatus(ModCheckStatus.IDLE);
- System.out.println("Done with download mods");
+ System.out.println("Downloading mods complete");
if (failedMods.size() > 0) {
StringBuilder failedModString = new StringBuilder();
@@ -272,7 +272,7 @@ private void initCenterLayout() {
entry.getValue().setSelected(true);
}
}
- JOptionPane.showMessageDialog(this, "
Some mods that have warnings (like noPeaceful)
or incompatible with other (like Starlight and Phosphor) aren't automatically selected.
You must be to select it yourself.", "WARNING!", JOptionPane.WARNING_MESSAGE);
+ JOptionPane.showMessageDialog(this, "Some mods that have warnings (like noPeaceful)
or incompatible with other mods (like Starlight and Phosphor) aren't automatically selected.
You have to select them yourself.", "WARNING!", JOptionPane.WARNING_MESSAGE);
});
JButton deselectAllButton = new JButton("Deselect All");
deselectAllButton.addActionListener(e -> {
@@ -299,7 +299,7 @@ public void initMenuBar() {
JMenu source = new JMenu("Info");
- JMenuItem githubSource = new JMenuItem("Github...");
+ JMenuItem githubSource = new JMenuItem("GitHub...");
githubSource.addActionListener(e -> {
try {
Desktop.getDesktop().browse(new URI("https://github.com/RedLime/ModCheck"));
@@ -308,7 +308,7 @@ public void initMenuBar() {
});
source.add(githubSource);
- JMenuItem donateSource = new JMenuItem("Support...");
+ JMenuItem donateSource = new JMenuItem("Support");
donateSource.addActionListener(e -> {
try {
Desktop.getDesktop().browse(new URI("https://ko-fi.com/redlimerl"));
@@ -317,7 +317,7 @@ public void initMenuBar() {
});
source.add(donateSource);
- JMenuItem checkChangeLogSource = new JMenuItem("Changelog...");
+ JMenuItem checkChangeLogSource = new JMenuItem("Changelog");
checkChangeLogSource.addActionListener(e -> {
try {
Desktop.getDesktop().browse(new URI("https://github.com/RedLime/ModCheck/releases/tag/"+ModCheckConstants.APPLICATION_VERSION));
@@ -326,7 +326,7 @@ public void initMenuBar() {
});
source.add(checkChangeLogSource);
- JMenuItem updateCheckSource = new JMenuItem("Check new update");
+ JMenuItem updateCheckSource = new JMenuItem("Check for updates");
updateCheckSource.addActionListener(e -> {
try {
JsonObject jsonObject = JsonParser.parseString(ModCheckUtils.getUrlRequest("https://api.github.com/repos/RedLime/ModCheck/releases/latest")).getAsJsonObject();
@@ -336,7 +336,7 @@ public void initMenuBar() {
Desktop.getDesktop().browse(new URI("https://github.com/RedLime/ModCheck/releases/latest"));
}
} else {
- JOptionPane.showMessageDialog(this, "You are using latest version!");
+ JOptionPane.showMessageDialog(this, "You are using the latest version!");
}
} catch (Exception ignored) {
}
@@ -384,7 +384,7 @@ public void updateModList() {
}
if (isSelected && !modData.getWarningMessage().isEmpty()) {
- JOptionPane.showMessageDialog(this, "" + modData.getWarningMessage() + "
If you didn't follow this warning, your run being may rejected.", "WARNING!", JOptionPane.WARNING_MESSAGE);
+ JOptionPane.showMessageDialog(this, "" + modData.getWarningMessage() + "
If you ignore this warning, your run being may get rejected.", "WARNING!", JOptionPane.WARNING_MESSAGE);
}
});