X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Faliasesmodel.cpp;h=4d00d375b19ae588a6cf05694a418d8fd35f7b00;hb=55362eeaa19678bd8ba36ecce134d98cc0d7eccd;hp=c36bebdd99f97064172e37b26e2ac3a77f0910b1;hpb=39eb2fda3eaef2de78a8134556015ff86e9b85d4;p=quassel.git
diff --git a/src/qtui/settingspages/aliasesmodel.cpp b/src/qtui/settingspages/aliasesmodel.cpp
index c36bebdd..4d00d375 100644
--- a/src/qtui/settingspages/aliasesmodel.cpp
+++ b/src/qtui/settingspages/aliasesmodel.cpp
@@ -52,11 +52,11 @@ QVariant AliasesModel::data(const QModelIndex &index, int role) const {
case Qt::ToolTipRole:
switch(index.column()) {
case 0:
- return "The shortcut for the alias
"
+ return tr("The shortcut for the alias
"
"It can be used as a regular slash command.
"
- "Example: \"foo\" can be used per /foo";
+ "Example: \"foo\" can be used per /foo");
case 1:
- return "The string the shortcut will be expanded to
"
+ return tr("The string the shortcut will be expanded to
"
"special variables:
"
" - $i represents the i'th parameter.
"
" - $i..j represents the i'th to j'th parameter separated by spaces.
"
@@ -66,7 +66,7 @@ QVariant AliasesModel::data(const QModelIndex &index, int role) const {
" - $nick your current nickname
"
" - $channel the name of the selected channel
"
"Multiple commands can be separated with semicolons
"
- "Example: \"Test $1; Test $2; Test All $0\" will be expanded to three separate messages \"Test 1\", \"Test 2\" and \"Test All 1 2 3\" when called like /test 1 2 3";
+ "Example: \"Test $1; Test $2; Test All $0\" will be expanded to three separate messages \"Test 1\", \"Test 2\" and \"Test All 1 2 3\" when called like /test 1 2 3");
default:
return QVariant();
}