diff options
Diffstat (limited to 'src')
28 files changed, 44 insertions, 44 deletions
diff --git a/src/kvilib/core/kvi_hstrEqualCIN.h b/src/kvilib/core/kvi_hstrEqualCIN.h index cb6a33390..b043cdb4e 100644 --- a/src/kvilib/core/kvi_hstrEqualCIN.h +++ b/src/kvilib/core/kvi_hstrEqualCIN.h @@ -38,7 +38,7 @@ * \brief Returns true if the string are equals casa insensitive * \param pcStr1 The source string * \param pcStr2 The target string -* \param iLen The lenght of the string +* \param iLen The length of the string * \return bool */ __KVI_EXTERN KVILIB_API bool kvi_hstrEqualCIN(const kvi_wchar_t * pcStr1, const char * pcStr2, int iLen); diff --git a/src/kvilib/core/kvi_pointerlist.h b/src/kvilib/core/kvi_pointerlist.h index 9e7318e42..d13d27346 100644 --- a/src/kvilib/core/kvi_pointerlist.h +++ b/src/kvilib/core/kvi_pointerlist.h @@ -133,7 +133,7 @@ public: * while traversing the list you should put them * in a temporary list and remove them after the iteration. * -* I've choosen this way because usually you don't modify +* I've chosen this way because usually you don't modify * the list while traversing it and a fix for this * would add a constant overhead to several list operation. * You just must take care of it yourself. diff --git a/src/kvilib/system/kvi_thread.h b/src/kvilib/system/kvi_thread.h index 43f32d059..e7baae8df 100644 --- a/src/kvilib/system/kvi_thread.h +++ b/src/kvilib/system/kvi_thread.h @@ -188,7 +188,7 @@ public: // HANDLE WITH CARE // Runs the thread...call only from external threads!!! :) - // This function returns true if the child thread has been succesfully created + // This function returns true if the child thread has been successfully created // this des not mean that run() is being already executed... // isStartingUp() will return true from this moment until // the child thread jumps into run() where it will be set to running state (isRunning() == true) diff --git a/src/kvirc/kernel/kvi_irclink.h b/src/kvirc/kernel/kvi_irclink.h index ac521a257..5539b3e14 100644 --- a/src/kvirc/kernel/kvi_irclink.h +++ b/src/kvirc/kernel/kvi_irclink.h @@ -152,7 +152,7 @@ protected: * \brief Starts a connection attempt. * * It starts the server or proxy DNS lookup. - * The function MUST be asynchronous: it must return succesfully and + * The function MUST be asynchronous: it must return successfully and * report any error by using m_pConnection->linkAttemptFailed() * It's called internally and it's overridable * \return void diff --git a/src/kvirc/kvs/kvi_kvs_corecallbackcommands.cpp b/src/kvirc/kvs/kvi_kvs_corecallbackcommands.cpp index 373d04b1e..b1c1e0079 100644 --- a/src/kvirc/kvs/kvi_kvs_corecallbackcommands.cpp +++ b/src/kvirc/kvs/kvi_kvs_corecallbackcommands.cpp @@ -664,7 +664,7 @@ namespace KviKvsCoreCallbackCommands [br] [b]Startup event[/b][br] If the -x switch is used then the startup event is triggered - just after the process has been succesfully launched. + just after the process has been successfully launched. The $0 parameter passed to the callback contains the string "started". Parameter $1 contains the pid of the slave process.[br] [br] @@ -988,7 +988,7 @@ namespace KviKvsCoreCallbackCommands existing object designed by <object_handle>. <implementation> must be a valid command sequence.[br] Side note:[br] - This command can not succesfully implement + This command can not successfully implement the "constructor" function since it must be called after this one has already been executed.[br] To implement a constructor you MUST write your own class definition.[br] diff --git a/src/kvirc/kvs/kvi_kvs_parser.cpp b/src/kvirc/kvs/kvi_kvs_parser.cpp index c3c50f571..272a2c7fa 100644 --- a/src/kvirc/kvs/kvi_kvs_parser.cpp +++ b/src/kvirc/kvs/kvi_kvs_parser.cpp @@ -1089,7 +1089,7 @@ KviKvsTreeNodeInstruction * KviKvsParser::parseAsParameter(const QChar * pBuffer IRC context, connection dependant commands @body: Many KVIrc commands are connection dependant: - you need an IRC connection to succesfully execute them; + you need an IRC connection to successfully execute them; usually because some data needs to be sent to the server. This includes commands like [cmd]whois[/cmd],[cmd]raw[/cmd],[cmd]query[/cmd], [cmd]msg[/cmd],[cmd]notice[/cmd],[cmd]op[/cmd],[cmd]ctcp[/cmd]...[br] diff --git a/src/kvirc/kvs/kvi_kvs_parser_specialcommands.cpp b/src/kvirc/kvs/kvi_kvs_parser_specialcommands.cpp index 91dcd24ea..17f0a01a1 100644 --- a/src/kvirc/kvs/kvi_kvs_parser_specialcommands.cpp +++ b/src/kvirc/kvs/kvi_kvs_parser_specialcommands.cpp @@ -1307,7 +1307,7 @@ KviKvsTreeNodeCommand * KviKvsParser::parseSpecialCommandSwitch() Another flow control command @description: The switch command is based on the standard C 'switch' keyword. - It executes conditionally groups of commands choosen from + It executes conditionally groups of commands chosen from a larger set of command groups.[br] First <expression> is evaluated (<expression> is any arithmetic or string expression).[br] Then the 'match','regexp','case' and 'default' labels are evaluated sequentially diff --git a/src/kvirc/kvs/kvi_kvs_script.cpp b/src/kvirc/kvs/kvi_kvs_script.cpp index 3ee542009..a2ed44b12 100644 --- a/src/kvirc/kvs/kvi_kvs_script.cpp +++ b/src/kvirc/kvs/kvi_kvs_script.cpp @@ -315,7 +315,7 @@ int KviKvsScript::execute(KviWindow * pWnd, KviKvsVariantList * pParams, KviKvsV delete pParams; // this is intended for developers only - pWnd->outputNoFmt(KVI_OUT_PARSERERROR,"[developer error]: you must succesfully call KviKvsScript::parse() before KviKvsScript::execute()"); + pWnd->outputNoFmt(KVI_OUT_PARSERERROR,"[developer error]: you must successfully call KviKvsScript::parse() before KviKvsScript::execute()"); return Error; } diff --git a/src/kvirc/kvs/kvi_kvs_script.h b/src/kvirc/kvs/kvi_kvs_script.h index e5e5be386..281fb2fb4 100644 --- a/src/kvirc/kvs/kvi_kvs_script.h +++ b/src/kvirc/kvs/kvi_kvs_script.h @@ -70,8 +70,8 @@ public: */ enum RunStatus { Error = 0, /**< The script returned an error */ - Success = 1, /**< The script ran succesfully */ - HaltEncountered = 2 /**< The script ran succesfully and halt was encountered */ + Success = 1, /**< The script ran successfully */ + HaltEncountered = 2 /**< The script ran successfully and halt was encountered */ }; /** diff --git a/src/kvirc/kvs/kvi_kvs_treenode_instruction.h b/src/kvirc/kvs/kvi_kvs_treenode_instruction.h index 9b47882ea..53903d066 100644 --- a/src/kvirc/kvs/kvi_kvs_treenode_instruction.h +++ b/src/kvirc/kvs/kvi_kvs_treenode_instruction.h @@ -73,7 +73,7 @@ public: * \brief This is the main entry point to the tree visit * * It returns false when the tree visiting has to be stopped and returns - * true when it has been succesfully completed. A false return value may + * true when it has been successfully completed. A false return value may * signal an error but is also used by break, halt, return and similar. * The error condition is signaled by KviKvsRunTimeContext::error(). * \param c The source context diff --git a/src/kvirc/sparser/kvi_sp_ctcp.cpp b/src/kvirc/sparser/kvi_sp_ctcp.cpp index 7d4cafd2a..4f0b351fb 100644 --- a/src/kvirc/sparser/kvi_sp_ctcp.cpp +++ b/src/kvirc/sparser/kvi_sp_ctcp.cpp @@ -156,7 +156,7 @@ extern KVIRC_API KviCtcpPageDialog * g_pCtcpPageDialog; [b]'\C'[/b] (where C is a [b]CTCP valid ascii non digit character[/b]) that corresponds literally to the character C discarding any other semantic that might be associated with it (This will become clear later). - I've choosen the octal rappresentation just to follow a bit the old specification: + I've chosen the octal rappresentation just to follow a bit the old specification: the authors seemed to like it. This point could be discussed in some mailing list or sth. The '\C' sequence is useful to include the backslash character (escape sequence '\\').[br] diff --git a/src/kvirc/sparser/kvi_sp_numeric.cpp b/src/kvirc/sparser/kvi_sp_numeric.cpp index 41d1864b3..4f2275694 100644 --- a/src/kvirc/sparser/kvi_sp_numeric.cpp +++ b/src/kvirc/sparser/kvi_sp_numeric.cpp @@ -1813,7 +1813,7 @@ void KviServerParser::parseNumericServerAdminInfoAdminContact(KviIrcMessage * ms { KviWindow * pOut = (KviWindow *)(msg->console()); QString szInfo = msg->connection()->decodeText(msg->safeTrailing()); - pOut->output(KVI_OUT_SERVERINFO,__tr2qs("%c\r!s\r%s\r%c's contact adress is %s"),KVI_TEXT_BOLD,msg->prefix(),KVI_TEXT_BOLD,szInfo.toUtf8().data()); + pOut->output(KVI_OUT_SERVERINFO,__tr2qs("%c\r!s\r%s\r%c's contact address is %s"),KVI_TEXT_BOLD,msg->prefix(),KVI_TEXT_BOLD,szInfo.toUtf8().data()); } } diff --git a/src/kvirc/ui/kvi_console.h b/src/kvirc/ui/kvi_console.h index 642dae76b..a9d16b948 100644 --- a/src/kvirc/ui/kvi_console.h +++ b/src/kvirc/ui/kvi_console.h @@ -170,7 +170,7 @@ public: void setAvatarFromOptions(); // This returns the default avatar for the current KVIrc user - // if he has choosen a valid avatar in the options dialog + // if he has chosen a valid avatar in the options dialog // otherwise returns 0. // The avatar is allocated with new and must be deleted // when no longer needed. diff --git a/src/kvirc/ui/kvi_cryptcontroller.cpp b/src/kvirc/ui/kvi_cryptcontroller.cpp index 6eab9b4a1..1d36e230c 100644 --- a/src/kvirc/ui/kvi_cryptcontroller.cpp +++ b/src/kvirc/ui/kvi_cryptcontroller.cpp @@ -189,7 +189,7 @@ QString des = "<p>"; des += eit->m_szDescription.ptr(); des += "<br><br>"; - des += __tr2qs("If you dont want to encrypt a particular text line then just start it with the CTRL+P prefix"); + des += __tr2qs("If you don't want to encrypt a particular text line then just start it with the CTRL+P prefix"); m_pDescriptionLabel->setText(des); m_pEnableEncrypt->setEnabled(eit->m_iFlags & KVI_CRYPTENGINE_CAN_ENCRYPT); m_pEncryptKeyLabel->setEnabled((eit->m_iFlags & KVI_CRYPTENGINE_CAN_ENCRYPT) && diff --git a/src/kvirc/ui/kvi_input_editor.cpp b/src/kvirc/ui/kvi_input_editor.cpp index 6544bda88..719ff982a 100644 --- a/src/kvirc/ui/kvi_input_editor.cpp +++ b/src/kvirc/ui/kvi_input_editor.cpp @@ -2184,7 +2184,7 @@ void KviInputEditor::addCommand(const Command& cmd) The idea is quite simple: the IRC client (and it's user) associates some small images to text strings (called icon tokens) and the strings are sent in place of the images preceeded by a special escape character.[br] - The choosen escape character is 29 (hex 0x1d) which corresponds + The chosen escape character is 29 (hex 0x1d) which corresponds to the ASCII group separator.[br] So for example if a client has the association of the icon token "rose" with a small icon containing a red rose flower then KVIrc could send the string diff --git a/src/kvirc/ui/kvi_window.cpp b/src/kvirc/ui/kvi_window.cpp index 6d17d0488..ff25227c8 100644 --- a/src/kvirc/ui/kvi_window.cpp +++ b/src/kvirc/ui/kvi_window.cpp @@ -1242,7 +1242,7 @@ void KviWindow::internalOutput(KviIrcView * pView,int msg_type,const kvi_wchar_t if(!m_pWindowListItem) return; - // if this option is checked we dont highlight other than channel msg + // if this option is checked we don't highlight other than channel msg if(KVI_OPTION_BOOL(KviOption_boolHighlightOnlyNormalMsg)) { if((msg_type != KVI_OUT_CHANPRIVMSG) && (msg_type != KVI_OUT_CHANPRIVMSGCRYPTED)) diff --git a/src/kvirc/ui/kvi_window.h b/src/kvirc/ui/kvi_window.h index bbe667863..cc3156741 100644 --- a/src/kvirc/ui/kvi_window.h +++ b/src/kvirc/ui/kvi_window.h @@ -243,7 +243,7 @@ public: const QString & lastMessageText(); inline const QString &textEncoding(){ return m_szTextEncoding; }; - // returns true if the encoding could be succesfully set + // returns true if the encoding could be successfully set bool setTextEncoding(const QString &szTextEncoding); // this must return a default text codec suitable for this window virtual QTextCodec * defaultTextCodec(); 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. */ |
