aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Fabio Bas2010-11-15 16:48:31 +0000
committerGravatar Fabio Bas2010-11-15 16:48:31 +0000
commitaed061e29392df1132201c7fb6bf019df35f0f69 (patch)
treef900bf6a079968178e59e3ff455c8c7ef7421960 /src
parentMore IPC tweaks. QWidget::winEvent has a new signature in Qt4. (diff)
downloadKVIrc-aed061e29392df1132201c7fb6bf019df35f0f69.tar.gz
KVIrc-aed061e29392df1132201c7fb6bf019df35f0f69.tar.bz2
KVIrc-aed061e29392df1132201c7fb6bf019df35f0f69.zip
english corrections on docs by OmegaPhil
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5141 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src')
-rw-r--r--src/modules/config/libkviconfig.cpp4
-rw-r--r--src/modules/popup/libkvipopup.cpp8
-rw-r--r--src/modules/str/libkvistr.cpp2
3 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/config/libkviconfig.cpp b/src/modules/config/libkviconfig.cpp
index 6df03d33e..e5383e72d 100644
--- a/src/modules/config/libkviconfig.cpp
+++ b/src/modules/config/libkviconfig.cpp
@@ -656,8 +656,8 @@ static bool config_kvs_cmd_clear(KviKvsModuleCommandCall * c)
All the key=value pairs in the section are destroyed.[br]
<id> must be a a valid config file identifier returned by [fnc]$config.open[/fnc].[br]
If the <id> does not match any open config file, a warning is printed.
- If <section_name> was also the current section, the current section is set to the default one.[br]
- No warning is printed if the section wasn't existing.[br]
+ If <section_name> is also the current section, the default section is made current.[br]
+ No warning is printed if the section does not exist.[br]
@seealso:
[module:config]Config module documentation[/module]
*/
diff --git a/src/modules/popup/libkvipopup.cpp b/src/modules/popup/libkvipopup.cpp
index ea422eef9..fc7255a7a 100644
--- a/src/modules/popup/libkvipopup.cpp
+++ b/src/modules/popup/libkvipopup.cpp
@@ -275,7 +275,7 @@ static bool popup_kvs_cmd_addEpilogue(KviKvsModuleCallbackCommandCall * c)
<item_id> is the optional item id - if not specified, it will be generated automatically.[br]
If <condition> is given, it is evaluated at [cmd]popup.show[/cmd] call time and if the
result is 0, the item is not shown in the physical popup.[br]
- If this item gets hovered, the neted popup <external_popup> will be shown.
+ If this item is hovered over, the nested popup <external_popup> will be shown.
@seealso:
[cmd]defpopup[/cmd], [cmd]popup.show[/cmd], [cmd]popup.addSubPopup[/cmd]
*/
@@ -369,7 +369,7 @@ static bool popup_kvs_cmd_addLabel(KviKvsModuleCommandCall * c)
<item_id> is the optional item id - if not specified, it will be generated automatically.[br]
If <condition> is given, it is evaluated at [cmd]popup.show[/cmd] call time and if the
result is 0, the item is not shown in the physical popup.[br]
- If this item gets hovered, the netsted popup will be shown.
+ If this item is hovered over, the nested popup will be shown.
@seealso:
[cmd]defpopup[/cmd], [cmd]popup.show[/cmd], [cmd]popup.addExtPopup[/cmd]
*/
@@ -407,7 +407,7 @@ static bool popup_kvs_cmd_addSubPopup(KviKvsModuleCommandCall * c)
!sw: -q | --quiet
Run quietly: don't print warning and errors
@description:
- Adds a separator (tipically drawn as a straight line) to an already existing popup or
+ Adds a separator (typically drawn as a straight line) to an already existing popup or
nested popup named <popupname>. If you want to add an item to a nested popup, use the form
"popup.item". The separator is not selectable or clickable.[br]
<item_id> is the optional item id - if not specified, it will be generated automatically.[br]
@@ -523,7 +523,7 @@ static bool popup_kvs_cmd_create(KviKvsModuleCommandCall * c)
!sw: -q | --quiet
Run quietly: don't print warning and errors
@description:
- Destroies a popup named <popupname>.
+ Destroys a popup named <popupname>.
To destroy a nested popup, use [cmd]popup.delItem[/cmd] instead.
@seealso:
[cmd]defpopup[/cmd], [cmd]popup.show[/cmd], [cmd]popup.create[/cmd], [fnc]popup.exists[/fnc]
diff --git a/src/modules/str/libkvistr.cpp b/src/modules/str/libkvistr.cpp
index 2efdb4fa9..f79cc53a6 100644
--- a/src/modules/str/libkvistr.cpp
+++ b/src/modules/str/libkvistr.cpp
@@ -684,7 +684,7 @@ static bool str_kvs_fnc_right(KviKvsModuleFunctionCall * c)
@syntax:
<string> $str.mid(<data:string>,<startidx:int>,<nchars:int>)
@description:
- This function returns a substring of the first string parameter wich is the
+ This function returns a substring of the first string parameter which is the
string starting at the (numeric) index given with startidx and counting nchars
forward. If <nchars> is not given or is less than 1, all the characters until
the end of the string will be returned.