From c74db9aba4814ccb4dc0ac1e4c7e4ef7589f50a9 Mon Sep 17 00:00:00 2001 From: un1versal Date: Wed, 9 Dec 2015 16:03:50 +0000 Subject: various files: typos/consistency and capitalization see notes below. https://techbase.kde.org/Projects/Usability/HIG/Capitalization This was just done last minute over some notes I had made during earlier similar fixes. * dont capitalize prepositions/conjunctions with less than 5 letters + fix wrong plural. * freenode is all lowercase instance only. * tooltips are not Camel Case capitalization style either. * some centered text on a dialog when all the etxt is left aligned looks off, tootips we can give a pass to. * Tree items are Camel Case * Typos in Unknow channel modes * more tooltips in the Channel Mode/Ban Masks/Invite but flawed design on these The tooltips text doubles up as title one isnt capitalized and the other is... So now none are in this area only since unlike toolbars thers no test display here and its passable. Alternative is to fix these dialogs and toolbars and tbh I cant do it. * cannot vs can't : these are consistency fixes for strings and debug messages only. * about dialog group titles "Runtime Info" "Build Info" are Camel Cased as per capitalization guidelines, but label are like all other labels. s spaces tyyt --- src/modules/objects/KvsObject_groupBox.cpp | 2 +- src/modules/objects/KvsObject_listWidget.cpp | 4 ++-- src/modules/objects/KvsObject_popupMenu.cpp | 6 +++--- src/modules/objects/KvsObject_socket.cpp | 2 +- src/modules/objects/KvsObject_treeWidgeteItem.cpp | 8 ++++---- src/modules/objects/KvsObject_widget.cpp | 6 +++--- 6 files changed, 14 insertions(+), 14 deletions(-) (limited to 'src/modules/objects') diff --git a/src/modules/objects/KvsObject_groupBox.cpp b/src/modules/objects/KvsObject_groupBox.cpp index 2aff37437..04e5f31ef 100644 --- a/src/modules/objects/KvsObject_groupBox.cpp +++ b/src/modules/objects/KvsObject_groupBox.cpp @@ -65,7 +65,7 @@ const int align_cod[] = { @description: This widget can be used to display a groupbox. It will be usually a parent for other child controls. - You can either use a child layout to manage the children geometries + You can either use a child layout to manage the child geometries or use $setColumnLayout to manage the layout automatically. @functions: !fn: $setTitle() diff --git a/src/modules/objects/KvsObject_listWidget.cpp b/src/modules/objects/KvsObject_listWidget.cpp index 6e6b62ffd..b3789b41b 100644 --- a/src/modules/objects/KvsObject_listWidget.cpp +++ b/src/modules/objects/KvsObject_listWidget.cpp @@ -90,7 +90,7 @@ const char * const itemflags_tbl[] = { "none" : no items can be selected[br] The default mode is "single" !fn: $setFlag(,, , ...) - Sets the flags for the item at index idz to the given flags. These determine whether the item can be selected or modified. This is often used to disable an item.[br] + 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] [br]- noitemflag : no flag sets; @@ -143,7 +143,7 @@ const char * const itemflags_tbl[] = { !fn: $currentItemChangedEvent() This function is called by KVIrc when the current item changes. !fn: $itemChangedEvent() - This function is called by KVIrc when the current data item changes (i.e. the user check a ckeckable item) . + This function is called by KVIrc when the current data item changes (i.e. the user check a checkable item) . @signals: !sg: $currentItemChanged() This signal is emitted by the default implementation of [classfnc]$currentItemChangedEvent[/classfnc]().[br] diff --git a/src/modules/objects/KvsObject_popupMenu.cpp b/src/modules/objects/KvsObject_popupMenu.cpp index aa456f0bf..c368e9a02 100644 --- a/src/modules/objects/KvsObject_popupMenu.cpp +++ b/src/modules/objects/KvsObject_popupMenu.cpp @@ -65,17 +65,17 @@ If called without paramaters show the popup menu at the current pointer position.[br] With the optional parameters show the popup menu at the coordinate x,y widget parameter relative. !fn: $removeItem() - Removes the menu item that has the identifier id. + Removes the menu item that has the identifier ID. !fn: $removeItemAt() Removes the menu item at position index. !fn: $insertSeparator() Inserts a separator at position index.[br] If the index is negative the separator becomes the last menu item. !fn: $activatedEvent() - This function is called when a menu item and return the the item id.[br] + This function is called when a menu item and return the the item ID.[br] The default implementation emits the [classfnc]$activated[/classfnc]() signal. !fn: $highligthtedEvent() - This function is called when a menu item is highlighted (hovered) and return the item id.[br] + This function is called when a menu item is highlighted (hovered) and return the item ID.[br] The default implementation emits the [classfnc]$highlighted[/classfnc]() signal. @signals: !sg: $activated() diff --git a/src/modules/objects/KvsObject_socket.cpp b/src/modules/objects/KvsObject_socket.cpp index b41c77999..70b95d285 100644 --- a/src/modules/objects/KvsObject_socket.cpp +++ b/src/modules/objects/KvsObject_socket.cpp @@ -134,7 +134,7 @@ const char * const sockerrors_tbl[] = { in IPv6 mode. If is an empty string and is 1 the socket listens on "any ipv6 interface".[br] This function returns '1' in case of success and '0' in case of failure.[br] - On some systems listening in the IPv6 namespace allows to accept also IPV4 connections (this includes + On some systems listening in the IPv6 namespace allows to accept also IPv4 connections (this includes Linux but not windows afaik).[br] When an incoming connection will arrive, $incomingConnectionEvent() will be called. diff --git a/src/modules/objects/KvsObject_treeWidgeteItem.cpp b/src/modules/objects/KvsObject_treeWidgeteItem.cpp index d52c68bff..6cf0ad0d1 100644 --- a/src/modules/objects/KvsObject_treeWidgeteItem.cpp +++ b/src/modules/objects/KvsObject_treeWidgeteItem.cpp @@ -85,7 +85,7 @@ const char * const itemflags_tbl[] = { Returs the text of the specified column. !fn: $setPixmap(,) Sets the pixmap in column column to pm, if pm is non-null and different from the current pixmap, and if column is non-negative. - Pixmap can be a KVIrc imageid, an image file or a [class]pixmap[/class] object. + Pixmap can be a KVIrc image ID, an image file or a [class]pixmap[/class] object. !fn: $setItemEditable() If bEnabled is true (1), this item can be in-place editable by the user; otherwise it cannot be editable in-place. !fn: $isItemEditable() @@ -95,14 +95,14 @@ const char * const itemflags_tbl[] = { !fn: $isEnabled() Returns $true if this item is enabled and $false otherwise. !fn: $setOpen() - Opens or closes the item to show its children items. + Opens or closes the item to show its child items. !fn: $isOpen() Returns the open state of this item !fn: $setCheckable() Makes this item checkable or not. This function should be called immediately after the item creation: changing this property later at runtime may have strange results (like the item being moved inside the list, text disappearing, - hidden children etc... don't do it :D ). + hidden child items etc... don't do it :D ). !fn: $isCheckable() Returns $true if this item is checkable and $false otherwise !fn: $setChecked() @@ -166,7 +166,7 @@ bool KvsObject_treeWidgetItem::init(KviKvsRunTimeContext * pContext,KviKvsVarian { if (!parentObject()) { - pContext->error(__tr2qs_ctx("The listviewitem cannot be parentless","objects")); + pContext->error(__tr2qs_ctx("The listviewitem can't be parentless","objects")); return false; } if(parentObject()->inheritsClass("listviewitem")) diff --git a/src/modules/objects/KvsObject_widget.cpp b/src/modules/objects/KvsObject_widget.cpp index 9eb2fb00b..bee2b9fa5 100644 --- a/src/modules/objects/KvsObject_widget.cpp +++ b/src/modules/objects/KvsObject_widget.cpp @@ -193,10 +193,10 @@ const char * const widgettypes_tbl[] = { All the other widget-type classes inherit from this one. @functions: !fn: $show() - Shows this widget and the children. + Shows this widget and the child items. See also [classfnc]$hide[/classfnc]() and [classfnc]$isVisible[/classfnc]. !fn: $hide() - Hides this widget (and conseguently all the children). + Hides this widget (and conseguently all the child items). See also [classfnc]$show[/classfnc]() and [classfnc]$isVisible[/classfnc]. !fn: $repaint() Repaints the widget directly by calling [classfnc]$paintEvent[/classfnc]() immediately. @@ -590,7 +590,7 @@ const char * const widgettypes_tbl[] = { // ... now that I think about it, it // may happen that widget() will be zero here too: // If the Qt "physical" widget gets destroyed -// by some external factor (for example when children +// by some external factor (for example when child // of a wrapper widget destroyed by KVIrc). // // as a convention: -- cgit v1.3.1-10-gc9f91