From 564784bb62cc4128a2174d4744d38365d5a52bf4 Mon Sep 17 00:00:00 2001
From: Amin Bandali <amin.bandali@savoirfairelinux.com>
Date: Tue, 22 Dec 2020 09:47:00 -0500
Subject: [PATCH] various typo fixes

These were reported by Debian's lintian tool.

Change-Id: I28ce5e387a3a35ec9df38ce1ceb84f7cfde4e2ad
---
 src/database.cpp              | 10 +++++-----
 src/web-chatview/chatview.css |  2 +-
 src/web-chatview/jed.js       |  2 +-
 src/web-chatview/linkify.js   |  2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/database.cpp b/src/database.cpp
index 8e163965..8f1b6455 100644
--- a/src/database.cpp
+++ b/src/database.cpp
@@ -361,7 +361,7 @@ QString
 Database::QueryInsertError::details()
 {
     QTextStream qts;
-    qts << "paramaters sent :";
+    qts << "parameters sent :";
     qts << "table = " << table;
     for (auto& b : bindCol.toStdMap())
         qts << "   {" << b.first << "}, {" << b.second << "}";
@@ -388,7 +388,7 @@ QString
 Database::QueryUpdateError::details()
 {
     QTextStream qts;
-    qts << "paramaters sent :";
+    qts << "parameters sent :";
     qts << "table = " << table;
     qts << "set = " << set;
     qts << "bindsSet :";
@@ -417,7 +417,7 @@ QString
 Database::QuerySelectError::details()
 {
     QTextStream qts;
-    qts << "paramaters sent :";
+    qts << "parameters sent :";
     qts << "select = " << select;
     qts << "table = " << table;
     qts << "where = " << where;
@@ -441,7 +441,7 @@ QString
 Database::QueryDeleteError::details()
 {
     QTextStream qts;
-    qts << "paramaters sent :";
+    qts << "parameters sent :";
     qts << "table = " << table;
     qts << "where = " << where;
     qts << "bindsWhere :";
@@ -459,7 +459,7 @@ QString
 Database::QueryTruncateError::details()
 {
     QTextStream qts;
-    qts << "paramaters sent :";
+    qts << "parameters sent :";
     qts << "table = " << table;
     return qts.readAll();
 }
diff --git a/src/web-chatview/chatview.css b/src/web-chatview/chatview.css
index 86bbf801..e699e39f 100644
--- a/src/web-chatview/chatview.css
+++ b/src/web-chatview/chatview.css
@@ -1183,7 +1183,7 @@ video {
     /* enable selection (it is globally disabled in the body) */
     -webkit-user-select: auto;
     /* contactid field should take as much place as possible, but it should
-     also be the first one to shrink if necesary. */
+     also be the first one to shrink if necessary. */
     flex-grow: 2;
     flex-shrink: 2;
     min-width: 0; /* necessary for child to be able to shrink correctly */
diff --git a/src/web-chatview/jed.js b/src/web-chatview/jed.js
index bda163be..bb306e99 100644
--- a/src/web-chatview/jed.js
+++ b/src/web-chatview/jed.js
@@ -704,7 +704,7 @@ parse: function parse(input) {
 
     var symbol, preErrorSymbol, state, action, a, r, yyval={},p,len,newState, expected;
     while (true) {
-        // retreive state number from top of stack
+        // retrieve state number from top of stack
         state = stack[stack.length-1];
 
         // use default actions if available
diff --git a/src/web-chatview/linkify.js b/src/web-chatview/linkify.js
index 15dc03b1..7666ff8a 100644
--- a/src/web-chatview/linkify.js
+++ b/src/web-chatview/linkify.js
@@ -257,7 +257,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
 		/**
   	Determine whether a given item "symbolizes" the symbol, where symbol is
   	a class of items handled by this state machine.
-  		This method should be overriden in extended classes.
+  		This method should be overridden in extended classes.
   		@method test
   	@param {Mixed} item Does this item match the given symbol?
   	@param {Mixed} symbol
-- 
GitLab