From 5d09651e5664c3c875fe4b32acdc84e207ffd243 Mon Sep 17 00:00:00 2001 From: Kai Wasserbäch Date: Thu, 6 Aug 2009 17:56:43 +0000 Subject: [KVIrc] (trunk) Fixed spelling mistakes found by Lintian. git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3402 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/addon/libkviaddon.cpp | 2 +- src/modules/addon/packaddondialog.cpp | 2 +- src/modules/dcc/broker.cpp | 2 +- src/modules/dcc/libkvidcc.cpp | 12 ++++++------ src/modules/editor/scripteditor.cpp | 2 +- src/modules/objects/class_list.cpp | 8 ++++---- src/modules/objects/class_socket.cpp | 6 +++--- src/modules/options/optw_dcc.cpp | 2 +- src/modules/options/optw_identity.cpp | 2 +- src/modules/setup/libkvisetup.cpp | 4 ++-- src/modules/str/libkvistr.cpp | 8 ++++---- 11 files changed, 25 insertions(+), 25 deletions(-) (limited to 'src/modules') 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= Bind the local listening socket to the specified . - 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= Send the 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 , 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 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= Bind the local listening socket to the specified . - 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= Send the 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= Bind the local listening socket to the specified . - 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= Send the 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= Bind the local listening socket to the specified . - 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= Send the 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 [/b][br] Where 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: $remove() Removes the item at zero-based . Returns $true - if the item was succesfully removed and $false otherwise (i.e. + if the item was successfully removed and $false otherwise (i.e. pointed beyond the end of the list). !fn: $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: $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: $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: $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 on port .[br] 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 parameter is invalid or the socket is in an incoherent state (already connected or listening): for a newly created socket and with a valid 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("
This option will cause succesfully terminated transfers " \ + __tr2qs_ctx("
This option will cause successfully terminated transfers " \ "to be automatically removed from the transfer window.
","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.
" \ + __tr2qs_ctx("The avatar you have chosen is bigger than 1024x768 pixels.
" \ "Such a big image will not be seen on all the user monitors
" \ "and will probably be scaled by the remote clients with poor quality
" \ "algorithms to improve performance. You *should* scale it manually
" \ 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 -// 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: $str.len() @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: $str.length() @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. */ -- cgit v1.3.1-10-gc9f91