Browse Source

qml: small change to some qsTr() strings to reuse existing translations

not all ":" suffixes are removed, only the ones where this allows reusing translations
master
SomberNight 3 years ago
parent
commit
5c83327eb0
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 4
      electrum/gui/qml/components/Channels.qml
  2. 10
      electrum/gui/qml/components/NetworkOverview.qml
  3. 6
      electrum/gui/qml/components/controls/BalanceSummary.qml

4
electrum/gui/qml/components/Channels.qml

@ -40,7 +40,7 @@ Pane {
}
Label {
text: qsTr('You can send:')
text: qsTr('You can send') + ':'
color: Material.accentColor
}
@ -49,7 +49,7 @@ Pane {
}
Label {
text: qsTr('You can receive:')
text: qsTr('You can receive') + ':'
color: Material.accentColor
}

10
electrum/gui/qml/components/NetworkOverview.qml

@ -37,21 +37,21 @@ Pane {
text: qsTr('On-chain')
}
Label {
text: qsTr('Network:');
text: qsTr('Network') + ':'
color: Material.accentColor
}
Label {
text: Network.networkName
}
Label {
text: qsTr('Status:');
text: qsTr('Status') + ':'
color: Material.accentColor
}
Label {
text: Network.status
}
Label {
text: qsTr('Server:');
text: qsTr('Server') + ':'
color: Material.accentColor
}
Label {
@ -165,7 +165,7 @@ Pane {
}
Label {
text: Config.useGossip ? qsTr('Gossip:') : qsTr('Trampoline:')
text: (Config.useGossip ? qsTr('Gossip') : qsTr('Trampoline')) + ':'
color: Material.accentColor
}
ColumnLayout {
@ -201,7 +201,7 @@ Pane {
}
Label {
text: qsTr('Proxy:');
text: qsTr('Proxy') + ':'
color: Material.accentColor
}
Label {

6
electrum/gui/qml/components/controls/BalanceSummary.qml

@ -35,7 +35,7 @@ Item {
Label {
font.pixelSize: constants.fontSizeXLarge
text: qsTr('Balance:')
text: qsTr('Balance') + ':'
color: Material.accentColor
}
@ -79,7 +79,7 @@ Item {
source: '../../../icons/lightning.png'
}
Label {
text: qsTr('Lightning:')
text: qsTr('Lightning') + ':'
font.pixelSize: constants.fontSizeSmall
color: Material.accentColor
}
@ -106,7 +106,7 @@ Item {
source: '../../../icons/bitcoin.png'
}
Label {
text: qsTr('On-chain:')
text: qsTr('On-chain') + ':'
font.pixelSize: constants.fontSizeSmall
color: Material.accentColor
}

Loading…
Cancel
Save