diff options
| author | Patrick Lodder <[email protected]> | 2021-08-11 22:29:25 +0200 |
|---|---|---|
| committer | Patrick Lodder <[email protected]> | 2021-08-11 23:09:13 +0200 |
| commit | 9370db962bafe3c9c60eebcb633feffc641b5cdf (patch) | |
| tree | bf51c300425b3a1fb3acae9b5496e41356034d6b /src/qt/rpcconsole.cpp | |
| parent | Merge pull request #2439 from rnicoll/1.14.4-dust-limit-type-alt (diff) | |
| download | discoin-9370db962bafe3c9c60eebcb633feffc641b5cdf.tar.xz discoin-9370db962bafe3c9c60eebcb633feffc641b5cdf.zip | |
qt: translate all user-exposed strings
Diffstat (limited to 'src/qt/rpcconsole.cpp')
| -rw-r--r-- | src/qt/rpcconsole.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index dacbeacdf..16b86ab1f 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -946,14 +946,14 @@ void RPCConsole::on_removePeer_clicked() { QString address = ips[0].data().toString(); - if(QMessageBox::Yes == QMessageBox::question(this, "Remove Peer", "Are you sure you want to remove the peer: " + address + "?", QMessageBox::Yes | QMessageBox::No)) + if(QMessageBox::Yes == QMessageBox::question(this, tr("Remove Peer"), tr("Are you sure you want to remove the peer: ") + address + "?", QMessageBox::Yes | QMessageBox::No)) { - QMessageBox::information(this, "Remove Peer", PeerTools::ManagePeer("remove", address), QMessageBox::Ok, QMessageBox::Ok); + QMessageBox::information(this, tr("Remove Peer"), PeerTools::ManagePeer("remove", address), QMessageBox::Ok, QMessageBox::Ok); } } else { - QMessageBox::information(this, "Remove Peer", "No peer was selected.", QMessageBox::Ok, QMessageBox::Ok); + QMessageBox::information(this, tr("Remove Peer"), tr("No peer was selected."), QMessageBox::Ok, QMessageBox::Ok); } } |