X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Faliasesmodel.cpp;fp=src%2Fqtui%2Fsettingspages%2Faliasesmodel.cpp;h=4d00d375b19ae588a6cf05694a418d8fd35f7b00;hp=c36bebdd99f97064172e37b26e2ac3a77f0910b1;hb=e221b04965b0d278c166418436879fc0c07759d5;hpb=dfa51be2d8908057bad5e82f561bedfc28901aba 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(); }