Description: Fix some spelling issues reported by Lintian
Author: Martin Quinson
Forwarded: https://github.com/widelands/widelands/pull/5502

--- a/src/wui/building_statistics_menu.cc
+++ b/src/wui/building_statistics_menu.cc
@@ -397,7 +397,7 @@
 			return BuildingTab::Big;
 		default:
 			throw wexception(
-			   "Building statictics: Found building without a size: %s", descr.name().c_str());
+			   "Building statistics: Found building without a size: %s", descr.name().c_str());
 		}
 	}
 	NEVER_HERE();
--- a/src/wui/mapview.cc
+++ b/src/wui/mapview.cc
@@ -118,7 +118,7 @@
 
 // TODO(sirver): Once c++14 is supported, make this a templated lambda inside
 // 'plan_map_transition'. For now it is a particularly ugly stand alone
-// function, but it allows us to parametrize over 'zoom_t' withouth a heap
+// function, but it allows us to parametrize over 'zoom_t' without a heap
 // allocation.
 template <typename T>
 void do_plan_map_transition(uint32_t start_time,
--- a/src/economy/economy.h
+++ b/src/economy/economy.h
@@ -74,7 +74,7 @@
  * and in particular during game shutdown or when a large network is destroyed
  * in a military operation, cascading economy splits could take a lot of processing time.
  * For this reason, economies do not split immediately when a road is destroyed,
- * but instead keep track of where a potential split occured and evaluate the split lazily.
+ * but instead keep track of where a potential split occurred and evaluate the split lazily.
  *
  * This means that two flags which are connected by the road (and seafaring) network
  * are \b always in the same economy, but two flags in the same economy are not always
--- a/src/editor/editorinteractive.cc
+++ b/src/editor/editorinteractive.cc
@@ -913,7 +913,7 @@
 		UI::WLMessageBox m(
 		   error_message_parent, UI::WindowStyle::kFsMenu, _("Error"),
 		   (boost::format(
-		       _("An error has occured. The error message is:\n\n%1$s\n\nPlease report "
+		       _("An error has occurred. The error message is:\n\n%1$s\n\nPlease report "
 		         "this problem to help us improve Widelands. You will find related messages in the "
 		         "standard output (stdout.txt on Windows). You are using build %2$s "
 		         "(%3$s).\nPlease add this information to your report.")) %
--- a/src/logic/map_objects/tribes/worker.cc
+++ b/src/logic/map_objects/tribes/worker.cc
@@ -2383,7 +2383,7 @@
 		if (!location) {
 			// this can happen if the flag (and the building) is destroyed while
 			// the worker leaves the building.
-			molog(game.get_gametime(), "[fetchfromflag]: flag dissappeared - become fugitive");
+			molog(game.get_gametime(), "[fetchfromflag]: flag disappeared - become fugitive");
 			return pop_task(game);
 		}
 
@@ -2413,7 +2413,7 @@
 		// enemy player, or it got destroyed through rising water (atlantean
 		// scenario)
 		molog(game.get_gametime(),
-		      "[fetchfromflag]: building dissappeared - searching for alternative\n");
+		      "[fetchfromflag]: building disappeared - searching for alternative\n");
 		return pop_task(game);
 	}
 
--- a/src/logic/save_handler.cc
+++ b/src/logic/save_handler.cc
@@ -240,7 +240,7 @@
  *
  * Will copy text of errors to error string.
  *
- * Returns true if saved, false in case some error occured.
+ * Returns true if saved, false in case some error occurred.
  */
 bool SaveHandler::save_game(Widelands::Game& game,
                             const std::string& complete_filename,
--- a/src/network/internet_gaming.cc
+++ b/src/network/internet_gaming.cc
@@ -855,7 +855,7 @@
 	return temp;
 }
 
-/// \returns the tables in the room, if no error occured, or nullptr in case of error
+/// \returns the tables in the room, if no error occurred, or nullptr in case of error
 const std::vector<InternetGame>* InternetGaming::games() {
 	return error() ? nullptr : &gamelist_;
 }
@@ -868,7 +868,7 @@
 	return temp;
 }
 
-/// \returns the players in the room, if no error occured, or nullptr in case of error
+/// \returns the players in the room, if no error occurred, or nullptr in case of error
 const std::vector<InternetClient>* InternetGaming::clients() {
 	return error() ? nullptr : &clientlist_;
 }
--- a/src/wlapplication.cc
+++ b/src/wlapplication.cc
@@ -1454,7 +1454,7 @@
 		UI::WLMessageBox m(
 		   panel, UI::WindowStyle::kFsMenu, _("Error"),
 		   (boost::format(
-		       _("An error has occured. The error message is:\n\n%1$s\n\nPlease report "
+		       _("An error has occurred. The error message is:\n\n%1$s\n\nPlease report "
 		         "this problem to help us improve Widelands. You will find related messages in the "
 		         "standard output (stdout.txt on Windows). You are using build %2$s "
 		         "(%3$s).\nPlease add this information to your report.")) %
@@ -1471,7 +1471,7 @@
 		   ask_for_bug_report ? _("Unexpected error during the game") : _("Game ended unexpectedly"),
 		   ask_for_bug_report ?
 		      (boost::format(_(
-		          "An error occured during the game. The error message is:\n\n%1$s\n\nPlease report "
+		          "An error occurred during the game. The error message is:\n\n%1$s\n\nPlease report "
 		          "this problem to help us improve Widelands. You will find related messages in the "
 		          "standard output (stdout.txt on Windows). You are using build %2$s "
 		          "(%3$s).\n\nPlease add this information to your report.\n\nWould you like "
