mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-03 07:52:33 +02:00
qt: add translator comments for peers table columns
Adds Qt Translator Comments to each Peers Table column to aid translators by providing context.
This commit is contained in:
parent
73a91c63ec
commit
657b33ef2d
@ -74,7 +74,31 @@ public Q_SLOTS:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
interfaces::Node& m_node;
|
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;
|
std::unique_ptr<PeerTablePriv> priv;
|
||||||
QTimer *timer;
|
QTimer *timer;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user