spelling: occurred

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2024-10-22 09:46:36 -04:00
committed by Jindra Petřík
parent 8ef441fda8
commit e137fdbca1
6 changed files with 11 additions and 11 deletions

View File

@@ -257,8 +257,8 @@ private final static boolean DEBUG =false;
* AbortException during tree traversal.
*
* @exception ParseException
* Is thrown when an interpretation error occured.
* The stream is positioned where the error occured.
* Is thrown when an interpretation error occurred.
* The stream is positioned where the error occurred.
* @exception AbortException
* Is thrown when the visitor decided to abort the
* interpretation.

View File

@@ -56,8 +56,8 @@ public class ConsoleAbortRetryIgnoreHandler implements AbortRetryIgnoreHandler {
}
Scanner sc = new Scanner(System.in);
if (thrown != null) {
Logger.getLogger(ConsoleAbortRetryIgnoreHandler.class.getName()).log(Level.SEVERE, "Error occured", thrown);
System.out.println("Error occured: " + thrown.getLocalizedMessage());
Logger.getLogger(ConsoleAbortRetryIgnoreHandler.class.getName()).log(Level.SEVERE, "Error occurred", thrown);
System.out.println("Error occurred: " + thrown.getLocalizedMessage());
}
do {
System.out.print("Select action: (A)bort, (R)Retry, (I)Ignore:");

View File

@@ -58,7 +58,7 @@ public class GuiAbortRetryIgnoreHandler implements AbortRetryIgnoreHandler {
if (mf != null) {
cmp = mf.getPanel();
}
int result = ViewMessages.showOptionDialog(cmp, AppStrings.translate("error.occured").replace("%error%", msg), AppStrings.translate("error"), JOptionPane.YES_NO_OPTION, JOptionPane.ERROR_MESSAGE, null, options, "");
int result = ViewMessages.showOptionDialog(cmp, AppStrings.translate("error.occurred").replace("%error%", msg), AppStrings.translate("error"), JOptionPane.YES_NO_OPTION, JOptionPane.ERROR_MESSAGE, null, options, "");
if (result == AbortRetryIgnoreHandler.IGNORE_ALL) {
ignoreAll = true;
result = AbortRetryIgnoreHandler.IGNORE;

View File

@@ -3339,7 +3339,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
} catch (Exception ex) {
logger.log(Level.SEVERE, "Error during renaming identifiers", ex);
Main.stopWork();
ViewMessages.showMessageDialog(MainPanel.this, translate("error.occured").replace("%error%", ex.getClass().getSimpleName()));
ViewMessages.showMessageDialog(MainPanel.this, translate("error.occurred").replace("%error%", ex.getClass().getSimpleName()));
}
});
}
@@ -4582,7 +4582,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
} catch (Exception ex) {
logger.log(Level.SEVERE, "Error during renaming identifiers", ex);
Main.stopWork();
ViewMessages.showMessageDialog(MainPanel.this, translate("error.occured").replace("%error%", ex.getClass().getSimpleName()));
ViewMessages.showMessageDialog(MainPanel.this, translate("error.occurred").replace("%error%", ex.getClass().getSimpleName()));
}
});
}

View File

@@ -255,7 +255,7 @@ FileChooser.fileSizeKiloBytes = {0} KB
FileChooser.fileSizeMegaBytes = {0} MB
FileChooser.fileSizeGigaBytes = {0} GB
FileChooser.folderNameLabelText = Folder name:
error.occured = Error occurred: %error%
error.occurred = Error occurred: %error%
button.abort = Abort
button.retry = Retry
button.ignore = Ignore

View File

@@ -36865,7 +36865,7 @@ public interface WinError {
//
// MessageText:
//
// An internal Monitor Configuration API error occured.
// An internal Monitor Configuration API error occurred.
//
int ERROR_GRAPHICS_MCA_INTERNAL_ERROR = 0xC0262588;
@@ -39051,7 +39051,7 @@ public interface WinError {
//
// MessageText:
//
// An error occured while attempting to compress or extract the data.
// An error occurred while attempting to compress or extract the data.
//
int PLA_E_CABAPI_FAILURE = 0x80300113;
@@ -40584,7 +40584,7 @@ public interface WinError {
//
// MessageText:
//
// An error occured while NDIS tried to map the file.
// An error occurred while NDIS tried to map the file.
//
int ERROR_NDIS_ERROR_READING_FILE = 0x8034001C;