From e137fdbca11c8894d00744136fdf758b82d17dee Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 22 Oct 2024 09:46:36 -0400 Subject: [PATCH] spelling: occurred Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- libsrc/avi/src/org/monte/media/riff/RIFFParser.java | 4 ++-- .../flash/console/ConsoleAbortRetryIgnoreHandler.java | 4 ++-- .../decompiler/flash/gui/GuiAbortRetryIgnoreHandler.java | 2 +- src/com/jpexs/decompiler/flash/gui/MainPanel.java | 4 ++-- .../jpexs/decompiler/flash/gui/locales/MainFrame.properties | 2 +- src/com/sun/jna/platform/win32/WinError.java | 6 +++--- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libsrc/avi/src/org/monte/media/riff/RIFFParser.java b/libsrc/avi/src/org/monte/media/riff/RIFFParser.java index dd7529186..d0b95a1fd 100644 --- a/libsrc/avi/src/org/monte/media/riff/RIFFParser.java +++ b/libsrc/avi/src/org/monte/media/riff/RIFFParser.java @@ -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. diff --git a/src/com/jpexs/decompiler/flash/console/ConsoleAbortRetryIgnoreHandler.java b/src/com/jpexs/decompiler/flash/console/ConsoleAbortRetryIgnoreHandler.java index 3109a8b44..8a746f639 100644 --- a/src/com/jpexs/decompiler/flash/console/ConsoleAbortRetryIgnoreHandler.java +++ b/src/com/jpexs/decompiler/flash/console/ConsoleAbortRetryIgnoreHandler.java @@ -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:"); diff --git a/src/com/jpexs/decompiler/flash/gui/GuiAbortRetryIgnoreHandler.java b/src/com/jpexs/decompiler/flash/gui/GuiAbortRetryIgnoreHandler.java index 76d066230..d5e7090a5 100644 --- a/src/com/jpexs/decompiler/flash/gui/GuiAbortRetryIgnoreHandler.java +++ b/src/com/jpexs/decompiler/flash/gui/GuiAbortRetryIgnoreHandler.java @@ -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; diff --git a/src/com/jpexs/decompiler/flash/gui/MainPanel.java b/src/com/jpexs/decompiler/flash/gui/MainPanel.java index 2610902ea..c7cfca99d 100644 --- a/src/com/jpexs/decompiler/flash/gui/MainPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/MainPanel.java @@ -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())); } }); } diff --git a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties index a3743c526..14ac1b612 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties @@ -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 diff --git a/src/com/sun/jna/platform/win32/WinError.java b/src/com/sun/jna/platform/win32/WinError.java index 7dd55f956..ff13ee60d 100644 --- a/src/com/sun/jna/platform/win32/WinError.java +++ b/src/com/sun/jna/platform/win32/WinError.java @@ -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;