aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/system/libkvisystem.cpp
diff options
context:
space:
mode:
authorGravatar un1versal2015-12-09 11:58:53 +0000
committerGravatar un1versal2015-12-19 02:40:22 +0000
commit7d4516afc4cd194f9224dcd5e07e0f234c162fdf (patch)
treea1a165c897339fcbd35a27108fe16c999a3041e2 /src/modules/system/libkvisystem.cpp
parentMerge pull request #1776 from TheReign/issue_1754_2 (diff)
downloadKVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.tar.gz
KVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.tar.bz2
KVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.zip
src/modules typos: capitalize, formatting, consistency and syntax fixes
Diffstat (limited to 'src/modules/system/libkvisystem.cpp')
-rw-r--r--src/modules/system/libkvisystem.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/modules/system/libkvisystem.cpp b/src/modules/system/libkvisystem.cpp
index 700d112ab..70ed795f5 100644
--- a/src/modules/system/libkvisystem.cpp
+++ b/src/modules/system/libkvisystem.cpp
@@ -70,7 +70,7 @@ PluginManager * g_pPluginManager;
@syntax:
<string> $system.ostype()
@description:
- Returns the current type of operating system: unix,macosx or windows.[br]
+ Returns the current type of operating system: UNIX, OS X or Windows.[br]
*/
static bool system_kvs_fnc_ostype(KviKvsModuleFunctionCall * c)
@@ -188,17 +188,17 @@ static bool system_kvs_fnc_osnodename(KviKvsModuleFunctionCall *c)
/*
@doc: system.getenv
@keyterms:
- Enviroinement variables
+ Environment variables
@type:
function
@title:
$system.getenv
@short:
- Returns the value of an enviroinement variable
+ Returns the value of an environment variable
@syntax:
<string> $system.getenv(<variable:string>)
@description:
- Returns the value of the enviroinement <variable>.[br]
+ Returns the value of the environment <variable>.[br]
*/
static bool system_kvs_fnc_getenv(KviKvsModuleFunctionCall *c)
@@ -363,8 +363,8 @@ static bool system_kvs_fnc_selection(KviKvsModuleFunctionCall *c)
<boolean> $system.checkModule(<module_name:string>)
@description:
Attempts to load the specified module and returns
- $true if succesfull and $false otherwise. This can
- be effectively used to test if a KVIrc exension module
+ $true if successful and $false otherwise. This can
+ be effectively used to test if a KVIrc extension module
is present on the system and can be loaded by the
KVIrc engine.
*/
@@ -415,11 +415,11 @@ static bool system_kvs_fnc_hostname(KviKvsModuleFunctionCall *c)
@title:
$system.dbus
@short:
- Performs a DBus call
+ Performs a D-Bus call
@syntax:
<variant> $system.dbus(<service:string>,<path:string>,<interface:string>,<method:string>[,<bus_type:string>[,<parameter1:string>[,<parameter2:string>[,...]]]])
@description:
- This function allows performing simple Dbus calls without executing
+ This function allows performing simple D-Bus calls without executing
an external process. This feature is available ONLY under unix:
this means that this function is absolutely
non portable (don't use it in scripts that you're going to distribute).
@@ -500,7 +500,7 @@ static bool system_kvs_fnc_dbus(KviKvsModuleFunctionCall *c)
c->returnValue()->setInteger(0);
return true;
} else {
- c->warning(__tr2qs("Invalid DBus interface"));
+ c->warning(__tr2qs("Invalid D-Bus interface"));
return false;
}
}
@@ -519,7 +519,7 @@ static bool system_kvs_fnc_dbus(KviKvsModuleFunctionCall *c)
if(tmp.isEmpty())
{
- c->warning(__tr2qs("Invalid DBus parameter syntax"));
+ c->warning(__tr2qs("Invalid D-Bus parameter syntax"));
return false;
}
@@ -558,7 +558,7 @@ static bool system_kvs_fnc_dbus(KviKvsModuleFunctionCall *c)
}
ds << uii;
} else {
- c->warning(__tr2qs("Unsupported DBus parameter type %s"),tmp.ptr());
+ c->warning(__tr2qs("Unsupported D-Bus parameter type %s"),tmp.ptr());
return false;
}
}
@@ -568,7 +568,7 @@ static bool system_kvs_fnc_dbus(KviKvsModuleFunctionCall *c)
if (reply.type() == QDBusMessage::ErrorMessage)
{
QDBusError err = reply;
- c->warning(__tr2qs("The DBus call returned an error \"%s\": %s"),qPrintable(err.name()), qPrintable(err.message()));
+ c->warning(__tr2qs("The D-Bus call returned an error \"%s\": %s"),qPrintable(err.name()), qPrintable(err.message()));
return false;
}
@@ -609,13 +609,13 @@ static bool system_kvs_fnc_dbus(KviKvsModuleFunctionCall *c)
c->returnValue()->setString("");
break;
default:
- c->warning(__tr2qs("Unsupported DBus call return type %s"),v.typeName());
+ c->warning(__tr2qs("Unsupported D-Bus call return type %s"),v.typeName());
break;
}
}
#else
- c->warning(__tr2qs("DBus calls are available only under UNIX"));
+ c->warning(__tr2qs("D-Bus calls are available only under UNIX"));
#endif
return true;
}
@@ -628,13 +628,13 @@ static bool system_kvs_fnc_dbus(KviKvsModuleFunctionCall *c)
@title:
system.setenv
@keyterms:
- Enviroinement variables
+ Environment variables
@short:
- Sets an enviroinement variable
+ Sets an environment variable
@syntax:
system.setenv <variable:string> [<value:string>]
@description:
- Sets the enviroinement <variable> to the <value> string.[br]
+ Sets the environment <variable> to the <value> string.[br]
If <value> is not given, the <variable> is unset.[br]
@seealso:
[fnc]$system.getenv[/fnc]
@@ -819,9 +819,9 @@ static bool system_kvs_cmd_runcmd(KviKvsModuleCommandCall *c)
@description:
Converts the integer value in network byte order
to it's host byte order counterpart.
- Since the conversion is carried at binary rappresentation
+ Since the conversion is carried at binary representation
level you must specify the number of bytes you want
- the binary rappresentation to have. Valid values are
+ the binary representation to have. Valid values are
1 (no conversion), 2 (short), 4 (32 bit int) and 8 (64 bit int).
If omitted, bytecount is assumed to be 4.
*/
@@ -875,9 +875,9 @@ static bool system_kvs_fnc_ntohi(KviKvsModuleFunctionCall * c)
@description:
Converts the integer value in host byte order
to it's network byte order counterpart.
- Since the conversion is carried at binary rappresentation
+ Since the conversion is carried at binary representation
level you must specify the number of bytes you want
- the binary rappresentation to have. Valid values are
+ the binary representation to have. Valid values are
1 (no conversion), 2 (short), 4 (32 bit int) and 8 (64 bit int).
If omitted, bytecount is assumed to be 4.
*/