aboutsummaryrefslogtreecommitdiff
path: root/src/qt/peertablemodel.h
diff options
context:
space:
mode:
authorJarol Rodriguez <jarolrod@tutanota.com>2021-05-21 22:42:28 -0400
committerJarol Rodriguez <jarolrod@tutanota.com>2021-05-25 21:09:39 -0400
commit657b33ef2de77acd1061cdf4d1d64d0e086d75df (patch)
tree3d501cc0196f842043c038e1a391bf31b843266c /src/qt/peertablemodel.h
parent73a91c63ec72e62ef76fbc857baff14b099a1358 (diff)
downloadbitcoin-657b33ef2de77acd1061cdf4d1d64d0e086d75df.tar.xz
qt: add translator comments for peers table columns
Adds Qt Translator Comments to each Peers Table column to aid translators by providing context.
Diffstat (limited to 'src/qt/peertablemodel.h')
-rw-r--r--src/qt/peertablemodel.h26
1 files changed, 25 insertions, 1 deletions
diff --git a/src/qt/peertablemodel.h b/src/qt/peertablemodel.h
index 2ba51e6246..3d195342f1 100644
--- a/src/qt/peertablemodel.h
+++ b/src/qt/peertablemodel.h
@@ -74,7 +74,31 @@ public Q_SLOTS:
private:
interfaces::Node& m_node;
- const QStringList columns{tr("Peer"), tr("Address"), tr("Type"), tr("Network"), tr("Ping"), tr("Sent"), tr("Received"), tr("User Agent")};
+ const QStringList columns{
+ /*: Title of Peers Table column which contains a
+ unique number used to identify a connection. */
+ tr("Peer"),
+ /*: Title of Peers Table column which contains the
+ IP/Onion/I2P address of the connected peer. */
+ tr("Address"),
+ /*: Title of Peers Table column which describes the type of
+ peer connection. The "type" describes why the connection exists. */
+ tr("Type"),
+ /*: Title of Peers Table column which states the network the peer
+ connected through. */
+ tr("Network"),
+ /*: Title of Peers Table column which indicates the current latency
+ of the connection with the peer. */
+ tr("Ping"),
+ /*: Title of Peers Table column which indicates the total amount of
+ network information we have sent to the peer. */
+ tr("Sent"),
+ /*: Title of Peers Table column which indicates the total amount of
+ network information we have received from the peer. */
+ tr("Received"),
+ /*: Title of Peers Table column which contains the peer's
+ User Agent string. */
+ tr("User Agent")};
std::unique_ptr<PeerTablePriv> priv;
QTimer *timer;
};