allow translation of "options" used in the --help message / split translation of RPC console welcome message and remove the need to take care of "<br>" / remove some spaces in strings and misc other stuff related to translations

This commit is contained in:
Philip Kaufmann
2012-05-16 15:34:29 +02:00
parent 49232d1abf
commit 8b4d653663
7 changed files with 16 additions and 16 deletions

View File

@@ -207,9 +207,9 @@ void RPCConsole::clear()
"b { color: #006060; } "
);
message(CMD_REPLY, tr("Welcome to the Bitcoin RPC console.<br>"
"Use up and down arrows to navigate history, and <b>Ctrl-L</b> to clear screen.<br>"
"Type <b>help</b> for an overview of available commands."), true);
message(CMD_REPLY, (tr("Welcome to the Bitcoin RPC console.") + "<br>" +
tr("Use up and down arrows to navigate history, and <b>Ctrl-L</b> to clear screen.") + "<br>" +
tr("Type <b>help</b> for an overview of available commands.")), true);
}
void RPCConsole::message(int category, const QString &message, bool html)