X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Faliasesmodel.cpp;h=4d00d375b19ae588a6cf05694a418d8fd35f7b00;hp=416414d571b1493c2c5e5a11ad563bf1c35cb2a7;hb=66c5feaf7c9f480f06dfb45df2cf54e44c8b487b;hpb=a7cd976ca45c83fdc2c0ba1142443bc72157a2ee diff --git a/src/qtui/settingspages/aliasesmodel.cpp b/src/qtui/settingspages/aliasesmodel.cpp index 416414d5..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(); } @@ -232,7 +232,7 @@ void AliasesModel::initDone() { } void AliasesModel::clientConnected() { - connect(Client::aliasManager(), SIGNAL(updated(QVariantMap)), SLOT(revert())); + connect(Client::aliasManager(), SIGNAL(updated()), SLOT(revert())); if(Client::aliasManager()->isInitialized()) initDone(); else