aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Kai Wasserbäch2009-08-06 17:56:43 +0000
committerGravatar Kai Wasserbäch2009-08-06 17:56:43 +0000
commit5d09651e5664c3c875fe4b32acdc84e207ffd243 (patch)
tree8fdd73f929a5d9ec3ef110607c38806a3bc8a4e9 /src/modules
parentreverted part of r3395 (fixes #511), LIB_SUFFIX is the common flag name for c... (diff)
downloadKVIrc-5d09651e5664c3c875fe4b32acdc84e207ffd243.tar.gz
KVIrc-5d09651e5664c3c875fe4b32acdc84e207ffd243.tar.bz2
KVIrc-5d09651e5664c3c875fe4b32acdc84e207ffd243.zip
[KVIrc] (trunk) Fixed spelling mistakes found by Lintian.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3402 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/addon/libkviaddon.cpp2
-rw-r--r--src/modules/addon/packaddondialog.cpp2
-rw-r--r--src/modules/dcc/broker.cpp2
-rw-r--r--src/modules/dcc/libkvidcc.cpp12
-rw-r--r--src/modules/editor/scripteditor.cpp2
-rw-r--r--src/modules/objects/class_list.cpp8
-rw-r--r--src/modules/objects/class_socket.cpp6
-rw-r--r--src/modules/options/optw_dcc.cpp2
-rw-r--r--src/modules/options/optw_identity.cpp2
-rw-r--r--src/modules/setup/libkvisetup.cpp4
-rw-r--r--src/modules/str/libkvistr.cpp8
11 files changed, 25 insertions, 25 deletions
diff --git a/src/modules/addon/libkviaddon.cpp b/src/modules/addon/libkviaddon.cpp
index f0c38850c..82c5486b7 100644
--- a/src/modules/addon/libkviaddon.cpp
+++ b/src/modules/addon/libkviaddon.cpp
@@ -583,7 +583,7 @@ static bool addon_kvs_cmd_register(KviKvsModuleCallbackCommandCall * c)
}
if(!c->switches()->find('q',"quiet"))
- c->window()->output(KVI_OUT_SYSTEMMESSAGE,__tr2qs("Script succesfully registered"));
+ c->window()->output(KVI_OUT_SYSTEMMESSAGE,__tr2qs("Script successfully registered"));
return true;
}
diff --git a/src/modules/addon/packaddondialog.cpp b/src/modules/addon/packaddondialog.cpp
index dfc8d44fb..1a2e5f8a5 100644
--- a/src/modules/addon/packaddondialog.cpp
+++ b/src/modules/addon/packaddondialog.cpp
@@ -250,7 +250,7 @@ bool KviPackAddonDialog::packAddon()
return false;
}
- QMessageBox::information(this,__tr2qs_ctx("Export Addon - KVIrc","addon"),__tr2qs("Package saved succesfully in ") + szPackagePath,QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton);
+ QMessageBox::information(this,__tr2qs_ctx("Export Addon - KVIrc","addon"),__tr2qs("Package saved successfully in ") + szPackagePath,QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton);
return true;
}
diff --git a/src/modules/dcc/broker.cpp b/src/modules/dcc/broker.cpp
index d8b513a6d..cd4a49ba1 100644
--- a/src/modules/dcc/broker.cpp
+++ b/src/modules/dcc/broker.cpp
@@ -650,7 +650,7 @@ void KviDccBroker::renameOverwriteResume(KviDccBox *box,KviDccDescriptor * dcc)
unsigned long iRemoteSize = dcc->szFileSize.toULong(&bOk);
if(!bOk)iRemoteSize = 0;
- // FIXME: Files downloaded succesfully shouldn't be resumed
+ // FIXME: Files downloaded successfully shouldn't be resumed
// we should keep a db of downloaded files!
if(!dcc->bAutoAccept)
diff --git a/src/modules/dcc/libkvidcc.cpp b/src/modules/dcc/libkvidcc.cpp
index c18906460..6b7f3a258 100644
--- a/src/modules/dcc/libkvidcc.cpp
+++ b/src/modules/dcc/libkvidcc.cpp
@@ -223,7 +223,7 @@ static bool dcc_kvs_parse_default_parameters(KviDccDescriptor * d,KviKvsModuleCo
!sw: -p=<port> | --port=<port>
Bind the local listening socket to the specified <port>.
- If this switch is NOT specified, the port will be a "random" one choosen by the kernel.[br]
+ If this switch is NOT specified, the port will be a "random" one chosen by the kernel.[br]
!sw: -a=<fake address> | --fake-address=<fake address>
Send the <fake address> as target for the remote client in the requesting CTCP message.
@@ -281,7 +281,7 @@ static bool dcc_kvs_parse_default_parameters(KviDccDescriptor * d,KviKvsModuleCo
The -i switch parameter may serve also as a target address when the -c switch is used.[br]
If the 'p' switch is specified, the local listening socket
will be bound to the <port>, otherwise it will be bound to
- a random port choosen by the kernel.[br]
+ a random port chosen by the kernel.[br]
If the 'a' switch is specified, the requesting CTCP message
will contain <fake address> as target for the remote user,
otherwise the CTCP message will contain the real IP address
@@ -541,7 +541,7 @@ static bool dcc_kvs_cmd_chat(KviKvsModuleCommandCall * c)
!sw: -p=<port> | --port=<port>
Bind the local listening socket to the specified <port>.
- If this switch is NOT specified, the port will be a "random" one choosen by the kernel.[br]
+ If this switch is NOT specified, the port will be a "random" one chosen by the kernel.[br]
!sw: -a=<fake address> | --fake-address=<fake address>
Send the <fake address> as target for the remote client in the requesting CTCP message.
@@ -735,7 +735,7 @@ static bool dcc_kvs_cmd_send(KviKvsModuleCommandCall * c)
!sw: -p=<port> | --port=<port>
Bind the local listening socket to the specified <port>.
- If this switch is NOT specified, the port will be a "random" one choosen by the kernel.[br]
+ If this switch is NOT specified, the port will be a "random" one chosen by the kernel.[br]
!sw: -a=<fake address> | --fake-address=<fake address>
Send the <fake address> as target for the remote client in the requesting CTCP message.
@@ -1041,7 +1041,7 @@ static bool dcc_kvs_cmd_get(KviKvsModuleCommandCall * c)
!sw: -p=<port> | --port=<port>
Bind the local listening socket to the specified <port>.
- If this switch is NOT specified, the port will be a "random" one choosen by the kernel.[br]
+ If this switch is NOT specified, the port will be a "random" one chosen by the kernel.[br]
!sw: -a=<fake address> | --fake-address=<fake address>
Send the <fake address> as target for the remote client in the requesting CTCP message.
@@ -1404,7 +1404,7 @@ static bool dcc_module_cmd_canvas(KviModule *m,KviCommand *c)
This is the simplest and most standardized DCC subprotocol. Almost every IRC client implements it.[br]
It is used to exchange lines of text between the two clients.[br]
The negotiation is quite simple, we assume that Client A wants to establish a DCC Chat connection to Client B.
- Client A sets up a listening socket and retrieves its adress (ip address and port).[br]
+ Client A sets up a listening socket and retrieves its address (ip address and port).[br]
Once the socket is ready Client A sends a CTCP request to B, in the following form:[br]
[b]DCC CHAT chat <ipaddress> <port>[/b][br]
Where <ipaddress> is a string representing an positive integer that is the A socket's IP address
diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp
index daa159326..349eeff03 100644
--- a/src/modules/editor/scripteditor.cpp
+++ b/src/modules/editor/scripteditor.cpp
@@ -336,7 +336,7 @@ void KviScriptEditorWidget::keyPressEvent(QKeyEvent * e)
}
// Adapted from QT4 QCompleter example
bool isShortcut = ((e->modifiers() & Qt::ControlModifier) && e->key() == Qt::Key_E); // CTRL+E
- if (!m_pCompleter || !isShortcut) // dont process the shortcut when we have a completer
+ if (!m_pCompleter || !isShortcut) // don't process the shortcut when we have a completer
QTextEdit::keyPressEvent(e);
const bool ctrlOrShift = e->modifiers() & (Qt::ControlModifier | Qt::ShiftModifier);
if (!m_pCompleter || (ctrlOrShift && e->text().isEmpty()))
diff --git a/src/modules/objects/class_list.cpp b/src/modules/objects/class_list.cpp
index d1962ecf4..1f62f8728 100644
--- a/src/modules/objects/class_list.cpp
+++ b/src/modules/objects/class_list.cpp
@@ -86,22 +86,22 @@
!fn: <boolean> $remove(<index:uint>)
Removes the item at zero-based <index>. Returns $true
- if the item was succesfully removed and $false otherwise (i.e. <index>
+ if the item was successfully removed and $false otherwise (i.e. <index>
pointed beyond the end of the list).
!fn: <boolean> $removeFirst()
Removes the first item from the list. Returns $true
- if the item was succesfully removed (the list was not empty)
+ if the item was successfully removed (the list was not empty)
and $false otherwise.
!fn: <boolean> $removeLast()
Removes the last item from the list. Returns $true
- if the item was succesfully removed (the list was not empty)
+ if the item was successfully removed (the list was not empty)
and $false otherwise.
!fn: <boolean> $removeCurrent()
Removes the current item from the list. Returns $true
- if the item was succesfully removed or $false otherwise.
+ if the item was successfully removed or $false otherwise.
Invalidates any iteration operation.
!fn: <boolean> $moveFirst()
diff --git a/src/modules/objects/class_socket.cpp b/src/modules/objects/class_socket.cpp
index e2453afdb..cd807a3e9 100644
--- a/src/modules/objects/class_socket.cpp
+++ b/src/modules/objects/class_socket.cpp
@@ -89,7 +89,7 @@
Attempts a connection to <host> on port <port>.[br]
<host> can be a numeric internet address (either Ipv4 or Ipv6 (if supported)) or a hostname.[br]
If a hostname is used, a DNS lookup is performed (the socket enters the "dns call" state).[br]
- This function returns 1 if the connect attempt can be succesfully initiated,
+ This function returns 1 if the connect attempt can be successfully initiated,
0 otherwise.[br] In fact , this function returns 0 only if the supplied <port> parameter
is invalid or the socket is in an incoherent state (already connected or listening):
for a newly created socket and with a valid <port> number you can safely ignore
@@ -120,7 +120,7 @@
This function returns '1' in case of success and '0' in case of failure.
!fn: $connectEvent()
- This function is called when a connection attempt has been succesfully completed.
+ This function is called when a connection attempt has been successfully completed.
The socket is actually connected to [classfnc:socket]$remoteIp[/classfnc]() on
[classfnc:socket]$remotePort[/classfnc](). You can start
writing data and you may expect [classfnc:socket]$dataAvailableEvent[/classfnc]() to be
@@ -609,7 +609,7 @@ KVSO_CLASS_FUNCTION(socket,writeHex)
KVSO_PARAMETERS_END(c)
if (m_szHex.length()%2)
{
- c->warning(__tr2qs_ctx("The hex string lenght is not a multiple of 2","objects"));
+ c->warning(__tr2qs_ctx("The hex string length is not a multiple of 2","objects"));
return true;
}
unsigned char byte,lsb,msb;
diff --git a/src/modules/options/optw_dcc.cpp b/src/modules/options/optw_dcc.cpp
index 3f5530e38..b497b0b73 100644
--- a/src/modules/options/optw_dcc.cpp
+++ b/src/modules/options/optw_dcc.cpp
@@ -187,7 +187,7 @@ KviDccSendGeneralOptionsWidget::KviDccSendGeneralOptionsWidget(QWidget * parent)
addBoolSelector(g,__tr2qs_ctx("Notify completion in notifier","options"),KviOption_boolNotifyDccSendSuccessInNotifier);
b = addBoolSelector(g,__tr2qs_ctx("Automatically clear transfer","options"),KviOption_boolAutoCloseDccSendOnSuccess);
mergeTip(b,
- __tr2qs_ctx("<center>This option will cause succesfully terminated transfers " \
+ __tr2qs_ctx("<center>This option will cause successfully terminated transfers " \
"to be automatically removed from the transfer window.</center>","options"));
diff --git a/src/modules/options/optw_identity.cpp b/src/modules/options/optw_identity.cpp
index f60e739cb..f0e9e83b8 100644
--- a/src/modules/options/optw_identity.cpp
+++ b/src/modules/options/optw_identity.cpp
@@ -603,7 +603,7 @@ void KviIdentityAvatarOptionsWidget::chooseAvatar()
if((m_pLocalAvatar->pixmap()->width() > 1024) || (m_pLocalAvatar->pixmap()->height() > 768))
{
QMessageBox::warning(this,__tr2qs_ctx("Avatar Might Be Too Big - KVIrc","options"),
- __tr2qs_ctx("The avatar you have choosen is bigger than 1024x768 pixels.<br>" \
+ __tr2qs_ctx("The avatar you have chosen is bigger than 1024x768 pixels.<br>" \
"Such a big image will not be seen on all the user monitors<br>" \
"and will probably be scaled by the remote clients with poor quality<br>" \
"algorithms to improve performance. You *should* scale it manually<br>" \
diff --git a/src/modules/setup/libkvisetup.cpp b/src/modules/setup/libkvisetup.cpp
index e275bf45f..50840c719 100644
--- a/src/modules/setup/libkvisetup.cpp
+++ b/src/modules/setup/libkvisetup.cpp
@@ -38,7 +38,7 @@
#include <QFile>
-// this will be choosen during the setup process
+// this will be chosen during the setup process
QString g_szChoosenIncomingDirectory;
//int g_iThemeToApply = THEME_APPLY_NONE;
bool bNeedToApplyDefaults;
@@ -85,7 +85,7 @@ KVIMODULEEXPORTFUNC void setup_finish()
// #define KVI_DEFAULT_CTCP_USERINFO_REPLY "I'm too lazy to edit this field."
// #define KVI_DEFAULT_AWAY_MESSAGE "I'm off to see the wizard."
- // Apply the choosen default theme
+ // Apply the chosen default theme
QString szDir;
/* switch(g_iThemeToApply)
{
diff --git a/src/modules/str/libkvistr.cpp b/src/modules/str/libkvistr.cpp
index 5c6a22dba..2c73af4b9 100644
--- a/src/modules/str/libkvistr.cpp
+++ b/src/modules/str/libkvistr.cpp
@@ -179,11 +179,11 @@ static bool str_kvs_cmd_toClipboard(KviKvsModuleCommandCall * c)
@title:
$str.len
@short:
- Returns the lenght of the given string
+ Returns the length of the given string
@syntax:
<uint> $str.len(<data:string>)
@description:
- Returns the lenght (that is, number of characters) of the given string.
+ Returns the length (that is, number of characters) of the given string.
This function is internally aliased to [fnc]$str.length[/fnc]() too.
*/
@@ -194,11 +194,11 @@ static bool str_kvs_cmd_toClipboard(KviKvsModuleCommandCall * c)
@title:
$str.length
@short:
- Returns the lenght of the given string
+ Returns the length of the given string
@syntax:
<uint> $str.length(<data:string>)
@description:
- Returns the lenght (that is, number of characters) of the given string.
+ Returns the length (that is, number of characters) of the given string.
This function is internally aliased to [fnc]$str.len[/fnc]() too.
*/