</context>
<context>
<name>AliasesModel</name>
+ <message>
+ <location filename="../src/qtui/settingspages/aliasesmodel.cpp" line="55"/>
+ <source><b>The shortcut for the alias</b><br />It can be used as a regular slash command.<br /><br /><b>Example:</b> "foo" can be used per /foo</source>
+ <translation><b>Kurzbefehl des Alias</b><br />Kann als normaler Slash-Befehl verwendet werden.<br /><br /><b>Beispiel:</b> Der Alias "foo" wird mit /foo ausgeführt.</translation>
+ </message>
+ <message>
+ <location filename="../src/qtui/settingspages/aliasesmodel.cpp" line="59"/>
+ <source><b>The string the shortcut will be expanded to</b><br /><b>special variables:</b><br /> - <b>$i</b> represents the i'th parameter.<br /> - <b>$i..j</b> represents the i'th to j'th parameter separated by spaces.<br /> - <b>$i..</b> represents all parameters from i on separated by spaces.<br /> - <b>$i:hostname</b> represents the hostname of the user identified by the i'th parameter or a * if unknown.<br /> - <b>$0</b> the whole string.<br /> - <b>$nick</b> your current nickname<br /> - <b>$channel</b> the name of the selected channel<br /><br />Multiple commands can be separated with semicolons<br /><br /><b>Example:</b> "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</source>
+ <translation><b>Der Befehl, zudem der Alias erweitert wird</b><br /><b> Besondere Variablen:</b><br /> - <b>$i</b> steht für den i-ten Parameter.<br /> - <b>$i..j</b> steht für den i-ten bis zum j-ten Parameter, mit Leerzeichen getrennt.<br /> - <b>$i..</b> steht für alle Parameter ab dem i-ten, mit Leerzeichen getrennt.<br /> - <b>$i:hostname</b> steht für den Hostnamen des Bentuzers, der im i-ten Parameter übergeben wird oder * falls es unbekannt ist.<br /> - <b>$0</b> steht für die gesamte Zeichenkette.<br /> - <b>$nick</b> steht für Ihren momentanen Spitznamen.<br /> - <b>$channel</b> steht für den Namen des momentan ausgewählten Chats.<br /><br />Mehrere Befehle können mit Strichkommata getrennt werden.<br /><br /><b>Beispiel:</b> "Test $1; Test $2; Test All $0" wird erweitert zu den drei getrennten Meldungen "Test 1", "Test 2" und "Test All 1 2 3", wenn /test 1 2 3 aufgerufen wird.</translation>
+ </message>
<message>
<location filename="../src/qtui/settingspages/aliasesmodel.cpp" line="170"/>
<source>Alias</source>
case Qt::ToolTipRole:
switch(index.column()) {
case 0:
- return "<b>The shortcut for the alias</b><br />"
+ return tr("<b>The shortcut for the alias</b><br />"
"It can be used as a regular slash command.<br /><br />"
- "<b>Example:</b> \"foo\" can be used per /foo";
+ "<b>Example:</b> \"foo\" can be used per /foo");
case 1:
- return "<b>The string the shortcut will be expanded to</b><br />"
+ return tr("<b>The string the shortcut will be expanded to</b><br />"
"<b>special variables:</b><br />"
" - <b>$i</b> represents the i'th parameter.<br />"
" - <b>$i..j</b> represents the i'th to j'th parameter separated by spaces.<br />"
" - <b>$nick</b> your current nickname<br />"
" - <b>$channel</b> the name of the selected channel<br /><br />"
"Multiple commands can be separated with semicolons<br /><br />"
- "<b>Example:</b> \"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";
+ "<b>Example:</b> \"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();
}