aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Dessa2016-01-31 19:36:37 +0100
committerGravatar Dessa2016-01-31 19:36:37 +0100
commit07867e9e4caf28738fb613c803c385f368db433e (patch)
tree2bdf9e8e5401c899cb5d72063ace1213ef174a30 /src/modules
parentMerge pull request #1858 from bsdjunk/master (diff)
downloadKVIrc-07867e9e4caf28738fb613c803c385f368db433e.tar.gz
KVIrc-07867e9e4caf28738fb613c803c385f368db433e.tar.bz2
KVIrc-07867e9e4caf28738fb613c803c385f368db433e.zip
run codespell to fix some typos, run mkabouttext.pl, fix typos reported by Arfrever
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/about/ENTRIES6
-rw-r--r--src/modules/about/abouttext.inc12
-rwxr-xr-x[-rw-r--r--]src/modules/about/mkabouttext.pl0
-rw-r--r--src/modules/avatar/libkviavatar.cpp2
-rw-r--r--src/modules/classeditor/ClassEditorWindow.h2
-rw-r--r--src/modules/dcc/DccMarshal.cpp2
-rw-r--r--src/modules/dcc/DccVoiceAdpcmCodec.cpp2
-rw-r--r--src/modules/dcc/libkvidcc.cpp2
-rw-r--r--src/modules/filetransferwindow/FileTransferWindow.cpp2
-rw-r--r--src/modules/mediaplayer/MpMprisInterface.cpp10
-rw-r--r--src/modules/mediaplayer/libkvimediaplayer.cpp2
-rw-r--r--src/modules/objects/KvsObject_label.cpp2
-rw-r--r--src/modules/objects/KvsObject_listWidget.cpp2
-rw-r--r--src/modules/objects/KvsObject_radioButton.cpp2
-rw-r--r--src/modules/objects/KvsObject_socket.cpp2
-rw-r--r--src/modules/options/OptionsInstanceManager.cpp2
-rwxr-xr-xsrc/modules/options/mkcreateinstanceproc.sh2
-rw-r--r--src/modules/perl/libkviperl.cpp4
-rw-r--r--src/modules/perlcore/CMakeLists.txt2
-rw-r--r--src/modules/python/libkvipython.cpp4
-rw-r--r--src/modules/str/libkvistr.cpp2
-rw-r--r--src/modules/torrent/libkvitorrent.cpp2
-rw-r--r--src/modules/window/libkviwindow.cpp4
23 files changed, 36 insertions, 36 deletions
diff --git a/src/modules/about/ENTRIES b/src/modules/about/ENTRIES
index ad5822a81..362f94833 100644
--- a/src/modules/about/ENTRIES
+++ b/src/modules/about/ENTRIES
@@ -144,7 +144,7 @@ SECTION: Services
NAME: Jan Wagner
NICK: Istari
NICK: spion
-ROLE: Webmaster, bughunter, snapshot mantainer
+ROLE: Webmaster, bughunter, snapshot maintainer
ROLE: support gay^Wguy :o) and the man that gives
ROLE: you KVIrc through IPv6.
@@ -342,6 +342,6 @@ TEXT: I don't know what I want, but I know how to get it.
NAME: Max Brazhnikov
NICK: makc
MAIL: makc at FreeBSD dot org
-ROLE: FreeBSD Port mantainer
-TEXT: Ports commiter
+ROLE: FreeBSD Port maintainer
+TEXT: Ports committer
diff --git a/src/modules/about/abouttext.inc b/src/modules/about/abouttext.inc
index 695a7e3af..e788a667b 100644
--- a/src/modules/about/abouttext.inc
+++ b/src/modules/about/abouttext.inc
@@ -446,7 +446,7 @@ static const char * g_szAboutText = "" \
"spion" \
")</font></td></tr>" \
"<tr><td align=\"center\"><font color=\"#303030\">" \
-"Webmaster, bughunter, snapshot mantainer" \
+"Webmaster, bughunter, snapshot maintainer" \
"<br>" \
"support gay^Wguy :o) and the man that gives" \
"<br>" \
@@ -1006,21 +1006,21 @@ static const char * g_szAboutText = "" \
"</table><br><br>" \
"<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">" \
"<tr><td align=\"center\">" \
-"<font color=\"#000000\" size=\"+2\"><b>Chris Petrik</b></font>" \
+"<font color=\"#000000\" size=\"+2\"><b>Max Brazhnikov</b></font>" \
"</td></tr>" \
"<tr><td align=\"center\"><font color=\"#800020\" size=\"+2\"> (" \
-"cpet" \
+"makc" \
")</font></td></tr>" \
"<tr><td align=\"center\"><font color=\"#0000FF\" size=\"+1\">" \
"[" \
-"chris at officialunix dot com" \
+"makc at FreeBSD dot org" \
"]" \
"</font></td></tr>" \
"<tr><td align=\"center\"><font color=\"#303030\">" \
-"FreeBSD Port mantainer" \
+"FreeBSD Port maintainer" \
"</font></td></tr>" \
"<tr><td align=\"center\"><font color=\"#606060\"><i>" \
-"\"FreeBSD Gimp.\"" \
+"\"Ports committer\"" \
"</i></font></td></tr>" \
"</table><br><br>" \
"<br>" \
diff --git a/src/modules/about/mkabouttext.pl b/src/modules/about/mkabouttext.pl
index a5c0da76f..a5c0da76f 100644..100755
--- a/src/modules/about/mkabouttext.pl
+++ b/src/modules/about/mkabouttext.pl
diff --git a/src/modules/avatar/libkviavatar.cpp b/src/modules/avatar/libkviavatar.cpp
index 692834be3..5fd90aa7b 100644
--- a/src/modules/avatar/libkviavatar.cpp
+++ b/src/modules/avatar/libkviavatar.cpp
@@ -345,7 +345,7 @@ static bool avatar_kvs_cmd_unset(KviKvsModuleCommandCall * c)
on the target side.[br]
[b]Warning:[/b] The implementation of the avatar protocol is actually
restricted to KVIrc clients only. In the future other clients may implement it.[br]
- This command is [doc:connection_dependant_commands]connection dependant[/doc].[br]
+ This command is [doc:connection_dependant_commands]connection dependent[/doc].[br]
@examples:
[example]
[comment]# Notify your current avatar to Pragma[/comment]
diff --git a/src/modules/classeditor/ClassEditorWindow.h b/src/modules/classeditor/ClassEditorWindow.h
index df7d15bd3..b24ef1271 100644
--- a/src/modules/classeditor/ClassEditorWindow.h
+++ b/src/modules/classeditor/ClassEditorWindow.h
@@ -594,7 +594,7 @@ public:
* \param szClassName The name of the class
* \param szFunctionName The name of the function
* \param szReminder The parameters of the function
- * \param bIsInternal Whether the funtion is set as internal
+ * \param bIsInternal Whether the function is set as internal
* \param bRenameMode Whether the dialog is in rename mode
* \return KviClassEditorFunctionDialog
*/
diff --git a/src/modules/dcc/DccMarshal.cpp b/src/modules/dcc/DccMarshal.cpp
index 552bfd4d8..0575ab9e5 100644
--- a/src/modules/dcc/DccMarshal.cpp
+++ b/src/modules/dcc/DccMarshal.cpp
@@ -484,7 +484,7 @@ void DccMarshal::snActivated(int)
emit error(eError);
return;
}
- //Succesfully connected...
+ //Successfully connected...
delete m_pSn;
m_pSn = 0;
// get the local address
diff --git a/src/modules/dcc/DccVoiceAdpcmCodec.cpp b/src/modules/dcc/DccVoiceAdpcmCodec.cpp
index 0d4907313..2ac4f4156 100644
--- a/src/modules/dcc/DccVoiceAdpcmCodec.cpp
+++ b/src/modules/dcc/DccVoiceAdpcmCodec.cpp
@@ -44,7 +44,7 @@
//
// Intel/DVI ADPCM coder/decoder.
//
-// The algorithm for this coder was taken from the IMA Compatability Project
+// The algorithm for this coder was taken from the IMA Compatibility Project
// proceedings, Vol 2, Number 2; May 1992.
//
// Version 1.2, 18-Dec-92.
diff --git a/src/modules/dcc/libkvidcc.cpp b/src/modules/dcc/libkvidcc.cpp
index a1c269f48..4115225c7 100644
--- a/src/modules/dcc/libkvidcc.cpp
+++ b/src/modules/dcc/libkvidcc.cpp
@@ -627,7 +627,7 @@ static bool dcc_kvs_cmd_send(KviKvsModuleCommandCall * c)
if(pSw->asInteger(iSize)) // is an integer
{
pSw->asString(szTmp);
- // avoid sprintf as long as possibile
+ // avoid sprintf as long as possible
d->szFileSize = szTmp;
} else {
d->szFileSize = __tr_ctx("<unknown size>","dcc");
diff --git a/src/modules/filetransferwindow/FileTransferWindow.cpp b/src/modules/filetransferwindow/FileTransferWindow.cpp
index ada35883d..9603d4e7a 100644
--- a/src/modules/filetransferwindow/FileTransferWindow.cpp
+++ b/src/modules/filetransferwindow/FileTransferWindow.cpp
@@ -592,7 +592,7 @@ void FileTransferWindow::openLocalFileTerminal()
if(idx == -1)return;
tmp = tmp.left(idx);
tmp.append("\"");
- // FIXME: this is not a solution ...because if the drive isn't system's drive the command 'cd' naturaly doesn't work
+ // FIXME: this is not a solution ...because if the drive isn't system's drive the command 'cd' naturally doesn't work
tmp.prepend("cmd.exe /k cd \"");
system(tmp.toLocal8Bit().data());
#else
diff --git a/src/modules/mediaplayer/MpMprisInterface.cpp b/src/modules/mediaplayer/MpMprisInterface.cpp
index 43faeee09..6c40d47ec 100644
--- a/src/modules/mediaplayer/MpMprisInterface.cpp
+++ b/src/modules/mediaplayer/MpMprisInterface.cpp
@@ -30,7 +30,7 @@
according to MPRIS 1.0, GetStatus returns struct of 4 integers.
First integer: 0 = Playing, 1 = Paused, 2 = Stopped.
- Second interger: 0 = Playing linearly, 1 = Playing randomly.
+ Second integer: 0 = Playing linearly, 1 = Playing randomly.
Third integer: 0 = Go to the next element once the current has finished playing, 1 = Repeat the current element
Fourth integer: 0 = Stop playing once the last element has been played, 1 = Never give up playing
*/
@@ -195,7 +195,7 @@ QString MpMprisInterface::nowPlaying()
if (v.userType() == QVariant::Map) {
const QVariantMap map = v.toMap();
QVariantMap::ConstIterator it = map.constBegin();
- for ( ; it != map.constEnd(); ++it) { /* maybe do some configureable formatting */
+ for ( ; it != map.constEnd(); ++it) { /* maybe do some configurable formatting */
if (it.key() == "artist")
artist = it.value().toString();
else if (it.key() == "title")
@@ -344,7 +344,7 @@ bool MpAudaciousInterface::quit()
if (MpMprisInterface::quit())
return true;
- /* compability with older versions */
+ /* compatibility with older versions */
MPRIS_SIMPLE_CALL("/Player", "Quit")
}
@@ -378,7 +378,7 @@ MpInterface::PlayerStatus MpAudaciousInterface::status()
if (status != MpInterface::Unknown)
return status;
- /* compability with older versions */
+ /* compatibility with older versions */
QDBusInterface dbus_iface(m_szServiceName, "/Player",
"org.freedesktop.MediaPlayer", QDBusConnection::sessionBus());
if (!dbus_iface.isValid())
@@ -400,7 +400,7 @@ int MpAudaciousInterface::length()
if (length != -1)
return length;
- /* compability with older versions */
+ /* compatibility with older versions */
MPRIS_CALL_METHOD("GetMetadata", -1)
foreach (QVariant w, reply.arguments()) {
diff --git a/src/modules/mediaplayer/libkvimediaplayer.cpp b/src/modules/mediaplayer/libkvimediaplayer.cpp
index 908f7914d..77b884d7f 100644
--- a/src/modules/mediaplayer/libkvimediaplayer.cpp
+++ b/src/modules/mediaplayer/libkvimediaplayer.cpp
@@ -622,7 +622,7 @@ MP_KVS_COMMAND(amipExec)
@seealso:
[module:mediaplayer]media player module documentation[/module],
[fnc]$mediaplayer.position[/fnc],
- [fnc]$mediaplayer.lenght[/fnc],
+ [fnc]$mediaplayer.length[/fnc],
*/
MP_KVS_COMMAND(jumpTo)
diff --git a/src/modules/objects/KvsObject_label.cpp b/src/modules/objects/KvsObject_label.cpp
index 57e35b0e2..6278a029a 100644
--- a/src/modules/objects/KvsObject_label.cpp
+++ b/src/modules/objects/KvsObject_label.cpp
@@ -177,7 +177,7 @@ const int frame_cod[] = {
Sets the image to be displayed on this label.
Giving empty argument clears the pixmap.[br]
See the [doc:image_id]image identifier[/doc] documentation for
- the explaination of the <image_id> parameter.
+ the explanation of the <image_id> parameter.
*/
diff --git a/src/modules/objects/KvsObject_listWidget.cpp b/src/modules/objects/KvsObject_listWidget.cpp
index b3789b41b..7b846df13 100644
--- a/src/modules/objects/KvsObject_listWidget.cpp
+++ b/src/modules/objects/KvsObject_listWidget.cpp
@@ -92,7 +92,7 @@ const char * const itemflags_tbl[] = {
!fn: $setFlag(<idx:integer>,<flag1:string>, <flag2:string>, ...)
Sets the flags for the item at index idx to the given flags. These determine whether the item can be selected or modified. This is often used to disable an item.[br]
Supported flags are:
- [exmaple]
+ [example]
[br]- noitemflag : no flag sets;
[br]- selectable : item is selectable;
[br]- editable : item is editable;
diff --git a/src/modules/objects/KvsObject_radioButton.cpp b/src/modules/objects/KvsObject_radioButton.cpp
index 787a7a270..e26f3c108 100644
--- a/src/modules/objects/KvsObject_radioButton.cpp
+++ b/src/modules/objects/KvsObject_radioButton.cpp
@@ -52,7 +52,7 @@
!fn: $setChecked(<bChecked:boolean>)
Sets whether the radio button is checked to check.
!fn: $setPixmap(<image_id>)
- Sets the pixmap shown on the radiobutton..See the [doc:image_id]image identifier[/doc] documentation for the explaination
+ Sets the pixmap shown on the radiobutton..See the [doc:image_id]image identifier[/doc] documentation for the explanation
of the <image_id> parameter.
!fn: <bool>$toggleEvent()
Called by KVIrc when the radibutton state is toggled.
diff --git a/src/modules/objects/KvsObject_socket.cpp b/src/modules/objects/KvsObject_socket.cpp
index 8f1340172..7dfe40c00 100644
--- a/src/modules/objects/KvsObject_socket.cpp
+++ b/src/modules/objects/KvsObject_socket.cpp
@@ -220,7 +220,7 @@ const char * const sockerrors_tbl[] = {
{
// incoming connection socket passed by the framework
%socket = $0
- debug "Webserver incoming Conection from: %socket->$remoteIp : %socket->$remotePort"
+ debug "Webserver incoming Connection from: %socket->$remoteIp : %socket->$remotePort"
%socket->$write("HTTP/1.0 200 OK\n\n<html><head></head><body><h1>KVIrc Webserver</h1></body></html>\n")
// tells KVIrc no need this socket anymore
return $true()
diff --git a/src/modules/options/OptionsInstanceManager.cpp b/src/modules/options/OptionsInstanceManager.cpp
index 1c2d3dd58..bb5743dc2 100644
--- a/src/modules/options/OptionsInstanceManager.cpp
+++ b/src/modules/options/OptionsInstanceManager.cpp
@@ -3672,7 +3672,7 @@ void OptionsInstanceManager::deleteInstanceTree(KviPointerList<OptionsWidgetInst
} else {
qDebug("Ops...i have deleted the options dialog ?");
}
- } //else qDebug("Clas %s has no widget",e->szName);
+ } //else qDebug("Class %s has no widget",e->szName);
if(pEntry->pChildList)
deleteInstanceTree(pEntry->pChildList);
}
diff --git a/src/modules/options/mkcreateinstanceproc.sh b/src/modules/options/mkcreateinstanceproc.sh
index 7737a0516..7e70cd6b8 100755
--- a/src/modules/options/mkcreateinstanceproc.sh
+++ b/src/modules/options/mkcreateinstanceproc.sh
@@ -322,7 +322,7 @@ void OptionsInstanceManager::deleteInstanceTree(KviPointerList<OptionsWidgetInst
} else {
qDebug("Ops...i have deleted the options dialog ?");
}
- } //else qDebug("Clas %s has no widget",e->szName);
+ } //else qDebug("Class %s has no widget",e->szName);
if(pEntry->pChildList)
deleteInstanceTree(pEntry->pChildList);
}
diff --git a/src/modules/perl/libkviperl.cpp b/src/modules/perl/libkviperl.cpp
index ef2df64ce..3e8f3c834 100644
--- a/src/modules/perl/libkviperl.cpp
+++ b/src/modules/perl/libkviperl.cpp
@@ -199,7 +199,7 @@
Sets KVIrc's local variable %x to &lt;value&gt;[br]
&nbsp; &nbsp; [b]KVIrc::setGlobal(&lt;Y&gt;,&lt;value&gt;)[/b][br]
Sets KVIrc's global variable %Y to &lt;value&gt;[br]
- The local variables referenced belong to the current KVS exection context
+ The local variables referenced belong to the current KVS execution context
while the global variables are visible everywhere.[br]
[example]
%pippo = test
@@ -388,7 +388,7 @@
If <perl_context> is specified then a Perl interpreter
keyed to that context is used: if it was already existing
then it is reused otherwise it is created.
- Any <perl_context> is persistent: it mantains the function
+ Any <perl_context> is persistent: it maintains the function
declarations and Perl variable states until explicitly
destroyed with [cmd]perl.destroy[/cmd] (or the perlcore
module is forcibly unloaded).[br]
diff --git a/src/modules/perlcore/CMakeLists.txt b/src/modules/perlcore/CMakeLists.txt
index c971381e1..82652138a 100644
--- a/src/modules/perlcore/CMakeLists.txt
+++ b/src/modules/perlcore/CMakeLists.txt
@@ -17,7 +17,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
set(PERL_COMPILE_FLAGS "${PERL_COMPILE_FLAGS} -Wno-literal-suffix")
elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
# If the perl version is too old, clang will throw errors due to C++11
- # incompatiblities
+ # incompatibilities
set(PERL_COMPILE_FLAGS "${PERL_COMPILE_FLAGS} -Wno-reserved-user-defined-literal")
endif()
diff --git a/src/modules/python/libkvipython.cpp b/src/modules/python/libkvipython.cpp
index a90c0b071..f322cba00 100644
--- a/src/modules/python/libkvipython.cpp
+++ b/src/modules/python/libkvipython.cpp
@@ -127,7 +127,7 @@
[br]
In the example above, KVIrc creates an interpreter when [cmd]python.begin[/cmd]
is invoked and destroys it at [cmd]python.end[/cmd] parsing time.
- In fact, KVIrc can mantain multiple persistent interpreters that will
+ In fact, KVIrc can maintain multiple persistent interpreters that will
allow you to preserve your context across [cmd]python.begin[/cmd] invocations.[br]
[br]
You can invoke a specific Python context by passing it as parameter to the [cmd]python.begin[/cmd]
@@ -199,7 +199,7 @@
Sets KVIrc's local variable %x to &lt;value&gt;[br]
&nbsp; &nbsp; [b]kvirc.setGlobal(&lt;Y&gt;,&lt;value&gt;)[/b][br]
Sets KVIrc's global variable %Y to &lt;value&gt;[br]
- The local variables referenced belong to the current KVS exection context
+ The local variables referenced belong to the current KVS execution context
while the global variables are visible everywhere.[br]
[example]
%pippo = test
diff --git a/src/modules/str/libkvistr.cpp b/src/modules/str/libkvistr.cpp
index bfc185366..2fe470df8 100644
--- a/src/modules/str/libkvistr.cpp
+++ b/src/modules/str/libkvistr.cpp
@@ -1173,7 +1173,7 @@ static bool str_kvs_fnc_word(KviKvsModuleFunctionCall * c)
QString szString;
kvs_int_t iOccurence;
KVSM_PARAMETERS_BEGIN(c)
- KVSM_PARAMETER("occurence",KVS_PT_INT,0,iOccurence)
+ KVSM_PARAMETER("occurrence",KVS_PT_INT,0,iOccurence)
KVSM_PARAMETER("string",KVS_PT_STRING,0,szString)
KVSM_PARAMETERS_END(c)
int idx = 0;
diff --git a/src/modules/torrent/libkvitorrent.cpp b/src/modules/torrent/libkvitorrent.cpp
index 969c0cdcb..aacd461c8 100644
--- a/src/modules/torrent/libkvitorrent.cpp
+++ b/src/modules/torrent/libkvitorrent.cpp
@@ -69,7 +69,7 @@ static TorrentInterface *auto_detect_torrent_client(KviWindow * pOut = 0)
/* if(iBest < 90)
{
if(pOut)
- pOut->outputNoFmt(KVI_OUT_MULTIMEDIA,__tr2qs_ctx("Not sure about the results, trying a second, more agressive detection pass","torrent"));
+ pOut->outputNoFmt(KVI_OUT_MULTIMEDIA,__tr2qs_ctx("Not sure about the results, trying a second, more aggressive detection pass","torrent"));
// no sure player found... try again with a destructive test
for(d = g_pDescriptorList->first();d;d = g_pDescriptorList->next())
{
diff --git a/src/modules/window/libkviwindow.cpp b/src/modules/window/libkviwindow.cpp
index 6879b4287..7f23dfb71 100644
--- a/src/modules/window/libkviwindow.cpp
+++ b/src/modules/window/libkviwindow.cpp
@@ -265,7 +265,7 @@ static bool window_kvs_cmd_activate(KviKvsModuleCommandCall * c)
does not exist a warning is printed unless the -q switch is used.
If the window is currently docked in a frame then the frame's
system taskbar entry will be flashed.
- Please note that this command is highly system dependant:
+ Please note that this command is highly system dependent:
on systems that do not have a system taskbar or there
is no way to flash an entry this command will do nothing.
At the time of writing this command works flawlessly on
@@ -299,7 +299,7 @@ static bool window_kvs_cmd_demandAttention(KviKvsModuleCommandCall * c)
Returns the current activity level of the window specified by <window_id>.
The form without parameters works on the current window.[br]
The activity level is a number describing the level of traffic in the window
- and depends on the window type. On channels and queries it is dependant on the number
+ and depends on the window type. On channels and queries it is dependent on the number
and frequency of actions performed by the users.
@seealso:
[fnc]$window.activityTemperature[/fnc]