From: Marcio de Souza Oliveira <m.desouza20@gmail.com>
Date: Tue, 14 Apr 2020 16:36:26 +0200
Subject: Fixes spelling errors

Last-Update: 2020-04-14
---
 plugins/CheckVersion/CheckVersion.cpp | 2 +-
 src/Debugger.cpp                      | 4 ++--
 src/SymbolManager.cpp                 | 2 +-
 src/lang/edb_en.ts                    | 2 +-
 src/widgets/QDisassemblyView.cpp      | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/plugins/CheckVersion/CheckVersion.cpp b/plugins/CheckVersion/CheckVersion.cpp
index 7b6585f..b06d25b 100644
--- a/plugins/CheckVersion/CheckVersion.cpp
+++ b/plugins/CheckVersion/CheckVersion.cpp
@@ -144,7 +144,7 @@ void CheckVersion::requestFinished(QNetworkReply *reply) {
 		if (!initialCheck_) {
 			QMessageBox::critical(
 				nullptr,
-				tr("An Error Occured"),
+				tr("An Error Occurred"),
 				reply->errorString());
 		}
 	} else {
diff --git a/src/Debugger.cpp b/src/Debugger.cpp
index c685099..e1225a6 100644
--- a/src/Debugger.cpp
+++ b/src/Debugger.cpp
@@ -663,10 +663,10 @@ QString Debugger::createTty() {
 					const int rv  = select(fd + 1, &set, nullptr, nullptr, &timeout);
 					switch (rv) {
 					case -1:
-						qDebug() << "An error occured while attempting to get the TTY of the terminal sub-process";
+						qDebug() << "An error occurred while attempting to get the TTY of the terminal sub-process";
 						break;
 					case 0:
-						qDebug() << "A Timeout occured while attempting to get the TTY of the terminal sub-process";
+						qDebug() << "A Timeout occurred while attempting to get the TTY of the terminal sub-process";
 						break;
 					default:
 						if (read(fd, buf, sizeof(buf)) != -1) {
diff --git a/src/SymbolManager.cpp b/src/SymbolManager.cpp
index 6fa4e88..ef90062 100644
--- a/src/SymbolManager.cpp
+++ b/src/SymbolManager.cpp
@@ -290,7 +290,7 @@ void SymbolManager::setLabel(edb::address_t address, const QString &label) {
 			QMessageBox::warning(
 				edb::v1::debugger_ui,
 				tr("Duplicate Label"),
-				tr("You are attempting to give two seperate addresses the same label, this is not supported."));
+				tr("You are attempting to give two separate addresses the same label, this is not supported."));
 			return;
 		}
 
diff --git a/src/lang/edb_en.ts b/src/lang/edb_en.ts
index 4e3dbe6..7a492fc 100644
--- a/src/lang/edb_en.ts
+++ b/src/lang/edb_en.ts
@@ -1453,7 +1453,7 @@ This is normal if edb has not been previously run or the configuration file has
     </message>
     <message>
         <location filename="../SymbolManager.cpp" line="247"/>
-        <source>You are attempting to give two seperate addresses the same label, this is not supported.</source>
+        <source>You are attempting to give two separate addresses the same label, this is not supported.</source>
         <translation type="unfinished"></translation>
     </message>
 </context>
diff --git a/src/widgets/QDisassemblyView.cpp b/src/widgets/QDisassemblyView.cpp
index 66f89a6..20be66a 100644
--- a/src/widgets/QDisassemblyView.cpp
+++ b/src/widgets/QDisassemblyView.cpp
@@ -1820,7 +1820,7 @@ Result<int, QString> QDisassemblyView::getInstructionSize(edb::address_t address
 		}
 	}
 
-	return make_unexpected(tr("Failed to get instruciton size"));
+	return make_unexpected(tr("Failed to get instruction size"));
 }
 
 //------------------------------------------------------------------------------
