summaryrefslogtreecommitdiffstats
path: root/src/modules/addon/libkviaddon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/addon/libkviaddon.cpp')
-rw-r--r--src/modules/addon/libkviaddon.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/addon/libkviaddon.cpp b/src/modules/addon/libkviaddon.cpp
index 9d3b0ebc..08f18081 100644
--- a/src/modules/addon/libkviaddon.cpp
+++ b/src/modules/addon/libkviaddon.cpp
@@ -195,7 +195,7 @@ static bool addon_kvs_cmd_uninstall(KviKvsModuleCommandCall * c)
KviKvsScriptAddonManager::instance()->unregisterAddon(szName,c->window(),!c->switches()->find('n',"no-callback"));
} else {
if(!c->switches()->find('q',"quiet"))
- c->warning(__tr2qs("The addon \"%1\" does not exist").arg(szName));
+ c->warning(__tr2qs("The addon \"%1\" does not exist").tqarg(szName));
}
return true;
@@ -235,13 +235,13 @@ static bool addon_kvs_cmd_configure(KviKvsModuleCommandCall * c)
if(ss.isEmpty())
{
if(!c->switches()->find('q',"quiet"))
- c->warning(__tr2qs("The addon \"%1\" has no configure callback set").arg(szName));
+ c->warning(__tr2qs("The addon \"%1\" has no configure callback set").tqarg(szName));
} else {
a->executeConfigureCallback(c->window());
}
} else {
if(!c->switches()->find('q',"quiet"))
- c->warning(__tr2qs("The addon \"%1\" does not exist").arg(szName));
+ c->warning(__tr2qs("The addon \"%1\" does not exist").tqarg(szName));
}
return true;
@@ -282,13 +282,13 @@ static bool addon_kvs_cmd_help(KviKvsModuleCommandCall * c)
if(ss.isEmpty())
{
if(!c->switches()->find('q',"quiet"))
- c->warning(__tr2qs("The addon \"%1\" has no help callback set").arg(szName));
+ c->warning(__tr2qs("The addon \"%1\" has no help callback set").tqarg(szName));
} else {
a->executeHelpCallback(c->window());
}
} else {
if(!c->switches()->find('q',"quiet"))
- c->warning(__tr2qs("The addon \"%1\" does not exist").arg(szName));
+ c->warning(__tr2qs("The addon \"%1\" does not exist").tqarg(szName));
}
return true;
@@ -334,7 +334,7 @@ static bool addon_kvs_cmd_setconfigurecallback(KviKvsModuleCallbackCommandCall *
a->setConfigureCallback(c->callback()->code());
} else {
if(!c->switches()->find('q',"quiet"))
- c->warning(__tr2qs("The addon \"%1\" does not exist").arg(szName));
+ c->warning(__tr2qs("The addon \"%1\" does not exist").tqarg(szName));
}
return true;
@@ -381,7 +381,7 @@ static bool addon_kvs_cmd_sethelpcallback(KviKvsModuleCallbackCommandCall * c)
a->setHelpCallback(c->callback()->code());
} else {
if(!c->switches()->find('q',"quiet"))
- c->warning(__tr2qs("The addon \"%1\" does not exist").arg(szName));
+ c->warning(__tr2qs("The addon \"%1\" does not exist").tqarg(szName));
}
return true;