mirror of
https://github.com/monero-project/monero-gui
synced 2024-12-21 03:45:53 +01:00
SettingsNode: add translation to Address and Port strings
This commit is contained in:
parent
afe1ae9b9c
commit
f7271d1c7b
@ -265,8 +265,8 @@ Rectangle{
|
|||||||
Layout.minimumWidth: 100
|
Layout.minimumWidth: 100
|
||||||
placeholderFontSize: 15
|
placeholderFontSize: 15
|
||||||
|
|
||||||
daemonAddrLabelText: qsTr("Address")
|
daemonAddrLabelText: qsTr("Address") + translationManager.emptyString
|
||||||
daemonPortLabelText: qsTr("Port")
|
daemonPortLabelText: qsTr("Port") + translationManager.emptyString
|
||||||
|
|
||||||
property var rna: persistentSettings.remoteNodeAddress
|
property var rna: persistentSettings.remoteNodeAddress
|
||||||
daemonAddrText: rna.search(":") != -1 ? rna.split(":")[0].trim() : ""
|
daemonAddrText: rna.search(":") != -1 ? rna.split(":")[0].trim() : ""
|
||||||
@ -417,8 +417,8 @@ Rectangle{
|
|||||||
Layout.minimumWidth: 100
|
Layout.minimumWidth: 100
|
||||||
Layout.bottomMargin: 20
|
Layout.bottomMargin: 20
|
||||||
|
|
||||||
daemonAddrLabelText: qsTr("Bootstrap Address")
|
daemonAddrLabelText: qsTr("Bootstrap Address") + translationManager.emptyString
|
||||||
daemonPortLabelText: qsTr("Bootstrap Port")
|
daemonPortLabelText: qsTr("Bootstrap Port") + translationManager.emptyString
|
||||||
daemonAddrText: persistentSettings.bootstrapNodeAddress.split(":")[0].trim()
|
daemonAddrText: persistentSettings.bootstrapNodeAddress.split(":")[0].trim()
|
||||||
daemonPortText: {
|
daemonPortText: {
|
||||||
var node_split = persistentSettings.bootstrapNodeAddress.split(":");
|
var node_split = persistentSettings.bootstrapNodeAddress.split(":");
|
||||||
|
Loading…
Reference in New Issue
Block a user