spelling: occurred

Signed-off-by: Josh Soref <[email protected]>
This commit is contained in:
Josh Soref
2024-10-29 16:55:43 +01:00
committed by Jindra Petřík
parent 8ef441fda8
commit e137fdbca1
6 changed files with 11 additions and 11 deletions
@@ -257,8 +257,8 @@ private final static boolean DEBUG =false;
* AbortException during tree traversal. * AbortException during tree traversal.
* *
* @exception ParseException * @exception ParseException
* Is thrown when an interpretation error occured. * Is thrown when an interpretation error occurred.
* The stream is positioned where the error occured. * The stream is positioned where the error occurred.
* @exception AbortException * @exception AbortException
* Is thrown when the visitor decided to abort the * Is thrown when the visitor decided to abort the
* interpretation. * interpretation.
@@ -56,8 +56,8 @@ public class ConsoleAbortRetryIgnoreHandler implements AbortRetryIgnoreHandler {
} }
Scanner sc = new Scanner(System.in); Scanner sc = new Scanner(System.in);
if (thrown != null) { if (thrown != null) {
Logger.getLogger(ConsoleAbortRetryIgnoreHandler.class.getName()).log(Level.SEVERE, "Error occured", thrown); Logger.getLogger(ConsoleAbortRetryIgnoreHandler.class.getName()).log(Level.SEVERE, "Error occurred", thrown);
System.out.println("Error occured: " + thrown.getLocalizedMessage()); System.out.println("Error occurred: " + thrown.getLocalizedMessage());
} }
do { do {
System.out.print("Select action: (A)bort, (R)Retry, (I)Ignore:"); System.out.print("Select action: (A)bort, (R)Retry, (I)Ignore:");
@@ -58,7 +58,7 @@ public class GuiAbortRetryIgnoreHandler implements AbortRetryIgnoreHandler {
if (mf != null) { if (mf != null) {
cmp = mf.getPanel(); 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) { if (result == AbortRetryIgnoreHandler.IGNORE_ALL) {
ignoreAll = true; ignoreAll = true;
result = AbortRetryIgnoreHandler.IGNORE; result = AbortRetryIgnoreHandler.IGNORE;
@@ -3339,7 +3339,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
} catch (Exception ex) { } catch (Exception ex) {
logger.log(Level.SEVERE, "Error during renaming identifiers", ex); logger.log(Level.SEVERE, "Error during renaming identifiers", ex);
Main.stopWork(); 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) { } catch (Exception ex) {
logger.log(Level.SEVERE, "Error during renaming identifiers", ex); logger.log(Level.SEVERE, "Error during renaming identifiers", ex);
Main.stopWork(); 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()));
} }
}); });
} }
@@ -255,7 +255,7 @@ FileChooser.fileSizeKiloBytes = {0} KB
FileChooser.fileSizeMegaBytes = {0} MB FileChooser.fileSizeMegaBytes = {0} MB
FileChooser.fileSizeGigaBytes = {0} GB FileChooser.fileSizeGigaBytes = {0} GB
FileChooser.folderNameLabelText = Folder name: FileChooser.folderNameLabelText = Folder name:
error.occured = Error occurred: %error% error.occurred = Error occurred: %error%
button.abort = Abort button.abort = Abort
button.retry = Retry button.retry = Retry
button.ignore = Ignore button.ignore = Ignore
+3 -3
View File
@@ -36865,7 +36865,7 @@ public interface WinError {
// //
// MessageText: // MessageText:
// //
// An internal Monitor Configuration API error occured. // An internal Monitor Configuration API error occurred.
// //
int ERROR_GRAPHICS_MCA_INTERNAL_ERROR = 0xC0262588; int ERROR_GRAPHICS_MCA_INTERNAL_ERROR = 0xC0262588;
@@ -39051,7 +39051,7 @@ public interface WinError {
// //
// MessageText: // 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; int PLA_E_CABAPI_FAILURE = 0x80300113;
@@ -40584,7 +40584,7 @@ public interface WinError {
// //
// MessageText: // 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; int ERROR_NDIS_ERROR_READING_FILE = 0x8034001C;