aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar un1versal2015-10-08 13:39:40 +0100
committerGravatar un1versal2015-10-08 17:39:58 +0100
commit382a6b70bf65bc9776b084a600e4025a249c1665 (patch)
tree77d1de4a06bd793fcefe541ff517fdacf03c0763 /src/modules
parent[ci skip] cpp file typos and capitalization corrections (diff)
downloadKVIrc-382a6b70bf65bc9776b084a600e4025a249c1665.tar.gz
KVIrc-382a6b70bf65bc9776b084a600e4025a249c1665.tar.bz2
KVIrc-382a6b70bf65bc9776b084a600e4025a249c1665.zip
[ci skip] cpp files, capitalization, typos, syntax normalization and punctuation
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/addon/AddonFunctions.cpp2
-rw-r--r--src/modules/addon/AddonManagementDialog.cpp2
-rw-r--r--src/modules/aliaseditor/AliasEditorWindow.cpp28
-rw-r--r--src/modules/avatar/libkviavatar.cpp16
-rw-r--r--src/modules/config/libkviconfig.cpp4
-rw-r--r--src/modules/objects/KvsObject_file.cpp6
-rw-r--r--src/modules/objects/KvsObject_listWidget.cpp2
-rw-r--r--src/modules/objects/KvsObject_tableWidget.cpp8
-rw-r--r--src/modules/objects/KvsObject_treeWidgeteItem.cpp2
-rw-r--r--src/modules/objects/KvsObject_widget.cpp8
-rw-r--r--src/modules/theme/ThemeFunctions.cpp2
-rw-r--r--src/modules/toolbareditor/CustomizeToolBarsDialog.cpp6
-rw-r--r--src/modules/window/libkviwindow.cpp4
13 files changed, 45 insertions, 45 deletions
diff --git a/src/modules/addon/AddonFunctions.cpp b/src/modules/addon/AddonFunctions.cpp
index cf5d2577f..c0f68dabf 100644
--- a/src/modules/addon/AddonFunctions.cpp
+++ b/src/modules/addon/AddonFunctions.cpp
@@ -192,7 +192,7 @@ namespace AddonFunctions
hd.szCaption = __tr2qs_ctx("Install Addon Pack - KVIrc","addon");
hd.szUpperLabelText = beginCenter + __tr2qs_ctx("You're about to install the following addon package","addon") + endCenter;
- hd.szLowerLabelText = beginCenter + __tr2qs_ctx("Do you want to proceed with the installation ?","addon") + endCenter;
+ hd.szLowerLabelText = beginCenter + __tr2qs_ctx("Do you want to proceed with the installation?","addon") + endCenter;
hd.szButton1Text = __tr2qs_ctx("Do Not Install","addon");
hd.szButton2Text = __tr2qs_ctx("Yes, Proceed","addon");
hd.iDefaultButton = 2;
diff --git a/src/modules/addon/AddonManagementDialog.cpp b/src/modules/addon/AddonManagementDialog.cpp
index 2afc0f68e..10b3d5f46 100644
--- a/src/modules/addon/AddonManagementDialog.cpp
+++ b/src/modules/addon/AddonManagementDialog.cpp
@@ -272,7 +272,7 @@ void AddonManagementDialog::uninstallScript()
if(!it)return;
QString txt = "<p>";
- txt += __tr2qs_ctx("Do you really want to uninstall the addon \"%1\" ?","addon").arg(it->addon()->visibleName());
+ txt += __tr2qs_ctx("Do you really want to uninstall the addon \"%1\"?","addon").arg(it->addon()->visibleName());
txt += "</p>";
if(QMessageBox::question(
diff --git a/src/modules/aliaseditor/AliasEditorWindow.cpp b/src/modules/aliaseditor/AliasEditorWindow.cpp
index 116660704..04ccb3548 100644
--- a/src/modules/aliaseditor/AliasEditorWindow.cpp
+++ b/src/modules/aliaseditor/AliasEditorWindow.cpp
@@ -442,7 +442,7 @@ void AliasEditorWidget::renameItem()
QMessageBox::information(this,
__tr2qs_ctx("Alias already exists","editor"),
__tr2qs_ctx("This name is already in use. Please choose another one.","editor"),
- __tr2qs_ctx("Ok, Let me try again...","editor"));
+ __tr2qs_ctx("OK, Let me try again...","editor"));
g_pAliasEditorModule->unlock();
return;
}
@@ -454,7 +454,7 @@ void AliasEditorWidget::renameItem()
QMessageBox::information(this,
__tr2qs_ctx("Namespace already exists","editor"),
__tr2qs_ctx("This name is already in use. Please choose another one.","editor"),
- __tr2qs_ctx("Ok, Let me try again...","editor"));
+ __tr2qs_ctx("OK, Let me try again...","editor"));
g_pAliasEditorModule->unlock();
return;
}
@@ -599,7 +599,7 @@ void AliasEditorWidget::customContextMenuRequested(const QPoint pnt)
m_pContextPopup->addAction(
*(g_pIconManager->getSmallIcon(KviIconManager::Search)),
- __tr2qs_ctx("Find In Aliases...","editor"),
+ __tr2qs_ctx("Find in Aliases...","editor"),
this,SLOT(slotFind()))
->setEnabled(bHasItems);
@@ -634,7 +634,7 @@ void AliasEditorWidget::slotFind()
bool bOk;
QString szSearch = QInputDialog::getText(this,
- __tr2qs_ctx("Find In Aliases","editor"),
+ __tr2qs_ctx("Find in Aliases","editor"),
__tr2qs_ctx("Please enter the text to be searched for. The matching aliases will be highlighted.","editor"),
QLineEdit::Normal,
"",
@@ -1004,7 +1004,7 @@ QString AliasEditorWidget::askForAliasName(const QString &szAction,const QString
QMessageBox::warning(this,
__tr2qs_ctx("Missing Alias Name","editor"),
__tr2qs_ctx("You must specify a valid name for the alias","editor"),
- __tr2qs_ctx("Ok, Let me try again...","editor"));
+ __tr2qs_ctx("OK, Let me try again...","editor"));
g_pAliasEditorModule->unlock();
continue;
}
@@ -1017,7 +1017,7 @@ QString AliasEditorWidget::askForAliasName(const QString &szAction,const QString
QMessageBox::information(this,
__tr2qs_ctx("Bad Alias Name","editor"),
__tr2qs_ctx("Alias names can contain only letters, digits, underscores and '::' namespace separators","editor"),
- __tr2qs_ctx("Ok, Let me try again...","editor"));
+ __tr2qs_ctx("OK, Let me try again...","editor"));
g_pAliasEditorModule->unlock();
szNewName = "";
continue;
@@ -1030,8 +1030,8 @@ QString AliasEditorWidget::askForAliasName(const QString &szAction,const QString
g_pAliasEditorModule->lock();
QMessageBox::information(this,
__tr2qs_ctx("Bad Alias Name","editor"),
- __tr2qs_ctx("Stray ':' character in alias name: did you mean ...<namespace>::<name> ?","editor"),
- __tr2qs_ctx("Ok, Let me try again...","editor"));
+ __tr2qs_ctx("Stray ':' character in alias name: did you mean ...<namespace>::<name>?","editor"),
+ __tr2qs_ctx("OK, Let me try again...","editor"));
g_pAliasEditorModule->unlock();
szNewName = "";
continue;
@@ -1042,7 +1042,7 @@ QString AliasEditorWidget::askForAliasName(const QString &szAction,const QString
QMessageBox::information(this,
__tr2qs_ctx("Bad Alias Name","editor"),
__tr2qs_ctx("Found an empty namespace in alias name","editor"),
- __tr2qs_ctx("Ok, Let me try again...","editor"));
+ __tr2qs_ctx("OK, Let me try again...","editor"));
g_pAliasEditorModule->unlock();
szNewName = "";
continue;
@@ -1072,7 +1072,7 @@ QString AliasEditorWidget::askForNamespaceName(const QString &szAction,const QSt
QMessageBox::warning(this,
__tr2qs_ctx("Missing Namespace Name","editor"),
__tr2qs_ctx("You must specify a valid name for the namespace","editor"),
- __tr2qs_ctx("Ok, Let me try again...","editor"));
+ __tr2qs_ctx("OK, Let me try again...","editor"));
g_pAliasEditorModule->unlock();
continue;
}
@@ -1085,7 +1085,7 @@ QString AliasEditorWidget::askForNamespaceName(const QString &szAction,const QSt
QMessageBox::information(this,
__tr2qs_ctx("Bad Namespace Name","editor"),
__tr2qs_ctx("Namespace names can contain only letters, digits, underscores and '::' namespace separators","editor"),
- __tr2qs_ctx("Ok, Let me try again...","editor"));
+ __tr2qs_ctx("OK, Let me try again...","editor"));
g_pAliasEditorModule->unlock();
szNewName = "";
continue;
@@ -1098,8 +1098,8 @@ QString AliasEditorWidget::askForNamespaceName(const QString &szAction,const QSt
g_pAliasEditorModule->lock();
QMessageBox::information(this,
__tr2qs_ctx("Bad Namespace Name","editor"),
- __tr2qs_ctx("Stray ':' character in namespace name: did you mean ...<namespace>::<name> ?","editor"),
- __tr2qs_ctx("Ok, Let me try again...","editor"));
+ __tr2qs_ctx("Stray ':' character in namespace name: did you mean ...<namespace>::<name>?","editor"),
+ __tr2qs_ctx("OK, Let me try again...","editor"));
g_pAliasEditorModule->unlock();
szNewName = "";
continue;
@@ -1110,7 +1110,7 @@ QString AliasEditorWidget::askForNamespaceName(const QString &szAction,const QSt
QMessageBox::information(this,
__tr2qs_ctx("Bad Namespace Name","editor"),
__tr2qs_ctx("Found an empty namespace in namespace name","editor"),
- __tr2qs_ctx("Ok, Let me try again...","editor"));
+ __tr2qs_ctx("OK, Let me try again...","editor"));
g_pAliasEditorModule->unlock();
szNewName = "";
continue;
diff --git a/src/modules/avatar/libkviavatar.cpp b/src/modules/avatar/libkviavatar.cpp
index 4c0ee2edc..16c6cd799 100644
--- a/src/modules/avatar/libkviavatar.cpp
+++ b/src/modules/avatar/libkviavatar.cpp
@@ -183,7 +183,7 @@ void KviAsyncAvatarSelectionDialog::closeEvent(QCloseEvent * e)
avatar.set [avatar:string]
@description:
Sets your avatar in the current connection to <avatar>.
- <avatar> may be a local filename or a http url.[br]
+ <avatar> may be a local filename or a http URL.[br]
If avatar is an empty string then an asynchronous dialog
will be opened that will allow choosing an avatar.[br]
Note that this command does NOT notify the avatar to
@@ -222,7 +222,7 @@ static bool avatar_kvs_cmd_set(KviKvsModuleCommandCall * c)
KviIrcUserEntry * e = c->window()->connection()->userDataBase()->find(c->window()->connection()->currentNickName());
if(!e)
{
- c->warning(__tr2qs("Internal error: ain't I in the user database ?"));
+ c->warning(__tr2qs("Internal error: am I not in the user database?"));
return true;
}
@@ -303,7 +303,7 @@ static bool avatar_kvs_cmd_unset(KviKvsModuleCommandCall * c)
KviIrcUserEntry * e = c->window()->connection()->userDataBase()->find(c->window()->connection()->currentNickName());
if(!e)
{
- c->warning(__tr2qs("Internal error: ain't I in the user database ?"));
+ c->warning(__tr2qs("Internal error: am I not in the user database?"));
return true;
}
@@ -336,11 +336,11 @@ static bool avatar_kvs_cmd_unset(KviKvsModuleCommandCall * c)
See the [doc:ctcp_avatar]avatar protocol documentation[/doc] for the
description of the protocol.[br]
This has the effect to notify your avatar image to the <target>.[br]
- The CTCP is sent thru a NOTICE and the current avatar image
+ The CTCP is sent through a NOTICE and the current avatar image
is added to the public offer list for <timeout> seconds (or a default timeout if the -t switch is not used).[br]
- If the -q switch is specified, the command executes in quet mode and
+ If the -q switch is specified, the command executes in quiet mode and
prints nothing in the current window.[br]
- If you don't have an avatar set, the ctcp will unset the previous avatar
+ If you don't have an avatar set, the CTCP will unset the previous avatar
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]
@@ -378,7 +378,7 @@ static bool avatar_kvs_cmd_notify(KviKvsModuleCommandCall * c)
KviIrcUserEntry * e = c->window()->connection()->userDataBase()->find(c->window()->connection()->currentNickName());
if(!e)
{
- c->warning(__tr2qs("Internal error: ain't I in the user database ?"));
+ c->warning(__tr2qs("Internal error: am I not in the user database?"));
return true;
}
@@ -415,7 +415,7 @@ static bool avatar_kvs_cmd_notify(KviKvsModuleCommandCall * c)
{
// Don't delete o...it has been already deleted by g_pFileTrader
if(!c->switches()->find('q',"quiet"))
- c->warning(__tr2qs("Can't add a file offer for file %Q (huh ? file not readable ?)"),&absPath);
+ c->warning(__tr2qs("Can't add a file offer for file %Q (huh? file not readable?)"),&absPath);
return true;
}
diff --git a/src/modules/config/libkviconfig.cpp b/src/modules/config/libkviconfig.cpp
index 79f712f7b..067d869ee 100644
--- a/src/modules/config/libkviconfig.cpp
+++ b/src/modules/config/libkviconfig.cpp
@@ -542,7 +542,7 @@ static bool config_kvs_cmd_close(KviKvsModuleCommandCall * c)
// we force a save here
if(!cfg->sync())
if(!c->hasSwitch('q',"quiet"))
- c->warning(__tr2qs("An error has occured while trying to save the config file with id '%Q'"),&szId);
+ c->warning(__tr2qs("An error has occurred while trying to save the config file with id '%Q'"),&szId);
}
g_pConfigDict->remove(szId);
} else {
@@ -590,7 +590,7 @@ static bool config_kvs_cmd_flush(KviKvsModuleCommandCall * c)
c->warning(__tr2qs("The config file with id '%Q' is read only"),&szId);
else
if(!cfg->sync())
- c->warning(__tr2qs("An error has occured while trying to save the config file with id '%Q'"),&szId);
+ c->warning(__tr2qs("An error has occurred while trying to save the config file with id '%Q'"),&szId);
} else {
c->warning(__tr2qs("The config file with id '%Q' is not open"),&szId);
}
diff --git a/src/modules/objects/KvsObject_file.cpp b/src/modules/objects/KvsObject_file.cpp
index cf46dc252..6fc521667 100644
--- a/src/modules/objects/KvsObject_file.cpp
+++ b/src/modules/objects/KvsObject_file.cpp
@@ -334,7 +334,7 @@ KVSO_CLASS_FUNCTION(file,putch)
KVSO_PARAMETERS_END(c)
if (szChar.length()>1)c->warning(__tr2qs_ctx("Argument too long, using only first char","objects"));
const char *ch=szChar.toUtf8().data();
- if (!m_pFile->putChar(ch[0])) c->warning(__tr2qs_ctx("Write error occured!","objects"));
+ if (!m_pFile->putChar(ch[0])) c->warning(__tr2qs_ctx("Write error occurred!","objects"));
return true;
}
@@ -343,7 +343,7 @@ KVSO_CLASS_FUNCTION(file,getch)
CHECK_INTERNAL_POINTER(m_pFile)
CHECK_FILE_IS_OPEN
char ch;
- if (!m_pFile->getChar(&ch)) c->warning(__tr2qs_ctx("Read error occured!","objects")); // c->error ?
+ if (!m_pFile->getChar(&ch)) c->warning(__tr2qs_ctx("Read error occurred!","objects")); // c->error ?
QString szChar = QChar(ch);
c->returnValue()->setString(szChar);
return true;
@@ -354,7 +354,7 @@ KVSO_CLASS_FUNCTION(file,readByte)
CHECK_INTERNAL_POINTER(m_pFile)
CHECK_FILE_IS_OPEN
char ch;
- if (!m_pFile->getChar(&ch)) c->warning(__tr2qs_ctx("Read error occured!","objects")); // c->error ?
+ if (!m_pFile->getChar(&ch)) c->warning(__tr2qs_ctx("Read error occurred!","objects")); // c->error ?
//QString szChar = QChar(ch);
c->returnValue()->setInteger((kvs_int_t) ch);
return true;
diff --git a/src/modules/objects/KvsObject_listWidget.cpp b/src/modules/objects/KvsObject_listWidget.cpp
index 972f563a2..6dba669c8 100644
--- a/src/modules/objects/KvsObject_listWidget.cpp
+++ b/src/modules/objects/KvsObject_listWidget.cpp
@@ -352,7 +352,7 @@ KVSO_CLASS_FUNCTION(listWidget,setIcon)
pix=g_pIconManager->getImage(szPix);
if(!pix)
{
- c->warning(__tr2qs_ctx("Error occured: the suitable file '%Q' is not of the correct format or it is not a valid icon number.","objects"),&szPix);
+ c->warning(__tr2qs_ctx("Error occurred: the suitable file '%Q' is not of the correct format or it is not a valid icon number.","objects"),&szPix);
return true;
}
}
diff --git a/src/modules/objects/KvsObject_tableWidget.cpp b/src/modules/objects/KvsObject_tableWidget.cpp
index 8b127e936..796d94694 100644
--- a/src/modules/objects/KvsObject_tableWidget.cpp
+++ b/src/modules/objects/KvsObject_tableWidget.cpp
@@ -347,17 +347,17 @@ KVSO_CLASS_FUNCTION(tableWidget,setForeground)
color.setNamedColor(szColor);
if (!color.isValid())
{
- // itsn't a color name: let try with an hex triplette
+ // isn't a color name: lets try with an hex triplet
color.setNamedColor("#"+szColor);
if (!color.isValid())
{
- c->warning(__tr2qs_ctx("Not a valid color !","objects"));
+ c->warning(__tr2qs_ctx("Not a valid color!","objects"));
return true;
}
}
}
else {
- c->warning(__tr2qs_ctx("Not a valid color !","objects"));
+ c->warning(__tr2qs_ctx("Not a valid color!","objects"));
return true;
}
QBrush brush(color);
@@ -499,7 +499,7 @@ KVSO_CLASS_FUNCTION(tableWidget,setIcon)
pix=g_pIconManager->getImage(szPix);
if(!pix)
{
- c->warning(__tr2qs_ctx("Error occured: the suitable file '%Q' is not of the correct format or it is not a valid icon number.","objects"),&szPix);
+ c->warning(__tr2qs_ctx("Error occurred: the suitable file '%Q' is not of the correct format or it is not a valid icon number.","objects"),&szPix);
return true;
}
}
diff --git a/src/modules/objects/KvsObject_treeWidgeteItem.cpp b/src/modules/objects/KvsObject_treeWidgeteItem.cpp
index 7da3a2920..5c8e08b85 100644
--- a/src/modules/objects/KvsObject_treeWidgeteItem.cpp
+++ b/src/modules/objects/KvsObject_treeWidgeteItem.cpp
@@ -420,7 +420,7 @@ KVSO_CLASS_FUNCTION(treeWidgetItem,setPixmap)
pix=g_pIconManager->getImage(szPix);
if(!pix)
{
- c->warning(__tr2qs_ctx("Error occured: the suitable file '%Q' is not of the correct format or it is not a valid icon number.","objects"),&szPix);
+ c->warning(__tr2qs_ctx("Error occurred: the suitable file '%Q' is not of the correct format or it is not a valid icon number.","objects"),&szPix);
return true;
}
}
diff --git a/src/modules/objects/KvsObject_widget.cpp b/src/modules/objects/KvsObject_widget.cpp
index 90222b8a5..977850d61 100644
--- a/src/modules/objects/KvsObject_widget.cpp
+++ b/src/modules/objects/KvsObject_widget.cpp
@@ -1276,13 +1276,13 @@ KVSO_CLASS_FUNCTION(widget,setForegroundColor)
color.setNamedColor("#"+szColor);
if (!color.isValid())
{
- c->warning(__tr2qs_ctx("Not a valid color !","objects"));
+ c->warning(__tr2qs_ctx("Not a valid color!","objects"));
return true;
}
}
}
else {
- c->warning(__tr2qs_ctx("Not a valid color !","objects"));
+ c->warning(__tr2qs_ctx("Not a valid color!","objects"));
return true;
}
QPalette p = widget()->palette();
@@ -1358,13 +1358,13 @@ KVSO_CLASS_FUNCTION(widget,setBackgroundColor)
color.setNamedColor("#"+szColor);
if (!color.isValid())
{
- c->warning(__tr2qs_ctx("Not a valid color !","objects"));
+ c->warning(__tr2qs_ctx("Not a valid color!","objects"));
return true;
}
}
}
else {
- c->warning(__tr2qs_ctx("Not a valid color !","objects"));
+ c->warning(__tr2qs_ctx("Not a valid color!","objects"));
return true;
}
QPalette p = widget()->palette();
diff --git a/src/modules/theme/ThemeFunctions.cpp b/src/modules/theme/ThemeFunctions.cpp
index fe47cce02..e0542534e 100644
--- a/src/modules/theme/ThemeFunctions.cpp
+++ b/src/modules/theme/ThemeFunctions.cpp
@@ -273,7 +273,7 @@ namespace ThemeFunctions
hd.szCaption = __tr2qs_ctx("Install Theme Pack - KVIrc","theme");
hd.szUpperLabelText = beginCenter + __tr2qs_ctx("You're about to install the following theme package","theme") + endCenter;
- hd.szLowerLabelText = beginCenter + __tr2qs_ctx("Do you want to proceed with the installation ?","theme") + endCenter;
+ hd.szLowerLabelText = beginCenter + __tr2qs_ctx("Do you want to proceed with the installation?","theme") + endCenter;
hd.szButton1Text = __tr2qs_ctx("Do Not Install","theme");
hd.szButton2Text = __tr2qs_ctx("Yes, Proceed","theme");
hd.iDefaultButton = 2;
diff --git a/src/modules/toolbareditor/CustomizeToolBarsDialog.cpp b/src/modules/toolbareditor/CustomizeToolBarsDialog.cpp
index bd6712887..65da7f42f 100644
--- a/src/modules/toolbareditor/CustomizeToolBarsDialog.cpp
+++ b/src/modules/toolbareditor/CustomizeToolBarsDialog.cpp
@@ -263,7 +263,7 @@ void CustomToolBarPropertiesDialog::okClicked()
if(QMessageBox::information(this,__tr2qs_ctx("Duplicate ToolBar Id","editor"),
__tr2qs_ctx("The specified ToolBar Id already exists.<br>" \
"Would you like KVIrc to assign it automatically (so it doesn't "
- "collide with any other toolbar) or you prefer to do it manually ?","editor"),
+ "collide with any other toolbar) or you prefer to do it manually?","editor"),
__tr2qs_ctx("Manually","editor"),__tr2qs_ctx("Automatically","editor")) == 0)return;
m_szId = KviCustomToolBarManager::instance()->idForNewToolBar(m_szLabel);
}
@@ -379,7 +379,7 @@ void CustomizeToolBarsDialog::deleteToolBar()
if(!t)return;
if(QMessageBox::question(this,
__tr2qs_ctx("Confirm ToolBar Deletion","editor"),
- __tr2qs_ctx("Do you really want to delete toolbar \"%1\" ?","editor").arg(t->windowTitle()),
+ __tr2qs_ctx("Do you really want to delete toolbar \"%1\"?","editor").arg(t->windowTitle()),
QMessageBox::Yes | QMessageBox::No,
QMessageBox::No) != QMessageBox::Yes)return;
KviCustomToolBarManager::instance()->destroyDescriptor(t->descriptor()->id());
@@ -403,7 +403,7 @@ void CustomizeToolBarsDialog::exportToolBar()
int ret = QMessageBox::question(this,
__tr2qs_ctx("ToolBar Export","editor"),
- __tr2qs_ctx("Do you want the associated actions to be exported with the toolbar ?","editor"),
+ __tr2qs_ctx("Do you want the associated actions to be exported with the toolbar?","editor"),
__tr2qs_ctx("Yes","editor"),
__tr2qs_ctx("No","editor"),
__tr2qs_ctx("Cancel","editor"));
diff --git a/src/modules/window/libkviwindow.cpp b/src/modules/window/libkviwindow.cpp
index 9f4c6769b..c3cc3afb8 100644
--- a/src/modules/window/libkviwindow.cpp
+++ b/src/modules/window/libkviwindow.cpp
@@ -1004,7 +1004,7 @@ static bool window_kvs_fnc_open(KviKvsModuleFunctionCall * c)
QPixmap *pPix=g_pIconManager->getImage(szIcon);
if(!pPix){
- c->warning(__tr2qs("The specified Icon does not exist: switching to 'none'"));
+ c->warning(__tr2qs("The specified icon does not exist: switching to 'none'"));
szIcon.prepend("$icon(");
szIcon.append(")");
}
@@ -1248,7 +1248,7 @@ static bool window_kvs_cmd_setBackground(KviKvsModuleCommandCall * c)
return true;
}
if(!ob->inherits("KviScriptPixmapObject")){
- c->warning(__tr("Pixmap objects required !"));
+ c->warning(__tr("Pixmap objects required!"));
return true;
}
QVariant pix1= ob->property("pixmap");