From 8b4d653663aa193bcc7c32ed7da5f4fa3f5e6746 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Wed, 16 May 2012 15:34:29 +0200 Subject: allow translation of "options" used in the --help message / split translation of RPC console welcome message and remove the need to take care of "
" / remove some spaces in strings and misc other stuff related to translations --- src/qt/rpcconsole.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/qt/rpcconsole.cpp') 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.
" - "Use up and down arrows to navigate history, and Ctrl-L to clear screen.
" - "Type help for an overview of available commands."), true); + message(CMD_REPLY, (tr("Welcome to the Bitcoin RPC console.") + "
" + + tr("Use up and down arrows to navigate history, and Ctrl-L to clear screen.") + "
" + + tr("Type help for an overview of available commands.")), true); } void RPCConsole::message(int category, const QString &message, bool html) -- cgit v1.2.3