aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-05-16 15:34:29 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-05-17 15:49:00 +0200
commit8b4d653663aa193bcc7c32ed7da5f4fa3f5e6746 (patch)
tree2da5961047f3c787ab734bac715ad18dd31487cb /src/qt/rpcconsole.cpp
parent49232d1abf96f85f785e0ee95fbb79d0338855bc (diff)
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
Diffstat (limited to 'src/qt/rpcconsole.cpp')
-rw-r--r--src/qt/rpcconsole.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 78dbcd7daa..47fdac4208 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -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)