From a2a36bd63300b2c116c01af50bfd764befa90caa Mon Sep 17 00:00:00 2001
From: RealElBarto <143960925+RealElBarto@users.noreply.github.com>
Date: Tue, 10 Oct 2023 10:08:04 +0200
Subject: [PATCH] gui:drop scammer warning
---
src/qt/locale/bitcoin_da.ts | 4 ++--
src/qt/rpcconsole.cpp | 9 ++-------
2 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/src/qt/locale/bitcoin_da.ts b/src/qt/locale/bitcoin_da.ts
index 651ac0e2ae4a..dfd4761cec26 100644
--- a/src/qt/locale/bitcoin_da.ts
+++ b/src/qt/locale/bitcoin_da.ts
@@ -2420,7 +2420,7 @@ Use %3 and %4 to increase or decrease the font size.
Type %5 for an overview of available commands.
For more information on using this console, type %6.
-%7WARNING: Scammers have been active, telling users to type commands here, stealing their wallet contents. Do not use this console without fully understanding the ramifications of a command.%8
+
RPC console welcome message. Placeholders %7 and %8 are style tags for the warning content, and they are not space separated from the rest of the text intentionally.Velkommen til %1 RPC-konsollen.
Brug op- og nedpilene til at navigere i historikken og %2 til at rydde skærmen.
@@ -2428,7 +2428,7 @@ Brug %3 og %4 til at øge eller formindske skriftstørrelsen.
Skriv %5 for at få en oversigt over tilgængelige kommandoer.
For mere information om brug af denne konsol, skriv %6.
-%7 ADVARSEL: Svindlere har været aktive og bedt brugerne om at skrive kommandoer her og stjæle deres tegnebogsindhold. Brug ikke denne konsol uden fuldt ud at forstå konsekvenserne af en kommando.%8
+
Executing…
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index cb4ecfb6fbed..21002172da28 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -894,18 +894,13 @@ void RPCConsole::clear(bool keep_prompt)
"Use %3 and %4 to increase or decrease the font size.\n"
"Type %5 for an overview of available commands.\n"
"For more information on using this console, type %6.\n"
- "\n"
- "%7WARNING: Scammers have been active, telling users to type"
- " commands here, stealing their wallet contents. Do not use this console"
- " without fully understanding the ramifications of a command.%8")
+ "\n")
.arg(PACKAGE_NAME,
"" + ui->clearButton->shortcut().toString(QKeySequence::NativeText) + "",
"" + ui->fontBiggerButton->shortcut().toString(QKeySequence::NativeText) + "",
"" + ui->fontSmallerButton->shortcut().toString(QKeySequence::NativeText) + "",
"help",
- "help-console",
- "",
- "");
+ "help-console");
message(CMD_REPLY, welcome_message, true);
}