Skip to content
This repository was archived by the owner on Aug 18, 2024. It is now read-only.

Commit 47177eb

Browse files
authored
Merge pull request #8 from ItsProfessional/master
Minor changes
2 parents 0dc1a13 + 0a6d2eb commit 47177eb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/main/java/com/pistacium/modcheck/ModCheckFrame.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ private void initBottomLayout() {
162162
}
163163

164164
if (this.versionSelection.getSelectedItem() == null) {
165-
JOptionPane.showMessageDialog(this, "??? What are you doing");
165+
JOptionPane.showMessageDialog(this, "Error: selected item is null");
166166
downloadButton.setEnabled(true);
167167
return;
168168
}
@@ -220,7 +220,7 @@ private void initBottomLayout() {
220220
this.progressBar.setValue(100);
221221
ModCheck.setStatus(ModCheckStatus.IDLE);
222222

223-
System.out.println("Done with download mods");
223+
System.out.println("Downloading mods complete");
224224

225225
if (failedMods.size() > 0) {
226226
StringBuilder failedModString = new StringBuilder();
@@ -272,7 +272,7 @@ private void initCenterLayout() {
272272
entry.getValue().setSelected(true);
273273
}
274274
}
275-
JOptionPane.showMessageDialog(this, "<html><body>Some mods that have warnings (like noPeaceful)<br> or incompatible with other (like Starlight and Phosphor) aren't automatically selected.<br>You must be to select it yourself.</body></html>", "WARNING!", JOptionPane.WARNING_MESSAGE);
275+
JOptionPane.showMessageDialog(this, "<html><body>Some mods that have warnings (like noPeaceful)<br> or incompatible with other mods (like Starlight and Phosphor) aren't automatically selected.<br>You have to select them yourself.</body></html>", "WARNING!", JOptionPane.WARNING_MESSAGE);
276276
});
277277
JButton deselectAllButton = new JButton("Deselect All");
278278
deselectAllButton.addActionListener(e -> {
@@ -299,7 +299,7 @@ public void initMenuBar() {
299299

300300
JMenu source = new JMenu("Info");
301301

302-
JMenuItem githubSource = new JMenuItem("Github...");
302+
JMenuItem githubSource = new JMenuItem("GitHub...");
303303
githubSource.addActionListener(e -> {
304304
try {
305305
Desktop.getDesktop().browse(new URI("https://github.com/RedLime/ModCheck"));
@@ -308,7 +308,7 @@ public void initMenuBar() {
308308
});
309309
source.add(githubSource);
310310

311-
JMenuItem donateSource = new JMenuItem("Support...");
311+
JMenuItem donateSource = new JMenuItem("Support");
312312
donateSource.addActionListener(e -> {
313313
try {
314314
Desktop.getDesktop().browse(new URI("https://ko-fi.com/redlimerl"));
@@ -317,7 +317,7 @@ public void initMenuBar() {
317317
});
318318
source.add(donateSource);
319319

320-
JMenuItem checkChangeLogSource = new JMenuItem("Changelog...");
320+
JMenuItem checkChangeLogSource = new JMenuItem("Changelog");
321321
checkChangeLogSource.addActionListener(e -> {
322322
try {
323323
Desktop.getDesktop().browse(new URI("https://github.com/RedLime/ModCheck/releases/tag/"+ModCheckConstants.APPLICATION_VERSION));
@@ -326,7 +326,7 @@ public void initMenuBar() {
326326
});
327327
source.add(checkChangeLogSource);
328328

329-
JMenuItem updateCheckSource = new JMenuItem("Check new update");
329+
JMenuItem updateCheckSource = new JMenuItem("Check for updates");
330330
updateCheckSource.addActionListener(e -> {
331331
try {
332332
JsonObject jsonObject = JsonParser.parseString(ModCheckUtils.getUrlRequest("https://api.github.com/repos/RedLime/ModCheck/releases/latest")).getAsJsonObject();
@@ -336,7 +336,7 @@ public void initMenuBar() {
336336
Desktop.getDesktop().browse(new URI("https://github.com/RedLime/ModCheck/releases/latest"));
337337
}
338338
} else {
339-
JOptionPane.showMessageDialog(this, "You are using latest version!");
339+
JOptionPane.showMessageDialog(this, "You are using the latest version!");
340340
}
341341
} catch (Exception ignored) {
342342
}
@@ -384,7 +384,7 @@ public void updateModList() {
384384
}
385385

386386
if (isSelected && !modData.getWarningMessage().isEmpty()) {
387-
JOptionPane.showMessageDialog(this, "<html><body>" + modData.getWarningMessage() + "<br>If you didn't follow this warning, your run being may rejected.</body></html>", "WARNING!", JOptionPane.WARNING_MESSAGE);
387+
JOptionPane.showMessageDialog(this, "<html><body>" + modData.getWarningMessage() + "<br>If you ignore this warning, your run being may get rejected.</body></html>", "WARNING!", JOptionPane.WARNING_MESSAGE);
388388
}
389389
});
390390

0 commit comments

Comments
 (0)