aboutsummaryrefslogtreecommitdiff
path: root/pages/settings
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2019-12-08 22:06:31 +0100
committerselsta <selsta@sent.at>2020-02-05 17:06:52 +0100
commit98ab4ea2aab7e680d8fa96f836c7d15c659ea082 (patch)
treebe8f4f85e9c09404070aaaeedbdef7bd1a0cf468 /pages/settings
parentd5469c824755447608279827e12f5fc73a4bf0e9 (diff)
downloadmonzero-gui-98ab4ea2aab7e680d8fa96f836c7d15c659ea082.tar.gz
monzero-gui-98ab4ea2aab7e680d8fa96f836c7d15c659ea082.tar.xz
monzero-gui-98ab4ea2aab7e680d8fa96f836c7d15c659ea082.zip
misc: strip html out of translatable strings
Diffstat (limited to 'pages/settings')
-rw-r--r--pages/settings/SettingsInfo.qml2
-rw-r--r--pages/settings/SettingsNode.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/pages/settings/SettingsInfo.qml b/pages/settings/SettingsInfo.qml
index 91b301ff..84d066e7 100644
--- a/pages/settings/SettingsInfo.qml
+++ b/pages/settings/SettingsInfo.qml
@@ -182,7 +182,7 @@ Rectangle {
color: MoneroComponents.Style.dimmedFontColor
font.pixelSize: 14
property var style: "<style type='text/css'>a {cursor:pointer;text-decoration: none; color: #FF6C3C}</style>"
- text: (currentWallet ? currentWallet.walletCreationHeight : "") + style + qsTr(" <a href='#'> (Click to change)</a>") + translationManager.emptyString
+ text: (currentWallet ? currentWallet.walletCreationHeight : "") + style + " <a href='#'> (%1)</a>".arg(qsTr("Change")) + translationManager.emptyString
onLinkActivated: {
inputDialog.labelText = qsTr("Set a new restore height.\nYou can enter a block height or a date (YYYY-MM-DD):") + translationManager.emptyString;
inputDialog.onAcceptedCallback = function() {
diff --git a/pages/settings/SettingsNode.qml b/pages/settings/SettingsNode.qml
index 5ca4d320..e00cb849 100644
--- a/pages/settings/SettingsNode.qml
+++ b/pages/settings/SettingsNode.qml
@@ -381,7 +381,7 @@ Rectangle{
fontSize: 15
labelFontSize: 14
property string style: "<style type='text/css'>a {cursor:pointer;text-decoration: none; color: #FF6C3C}</style>"
- labelText: qsTr("Blockchain location") + style + qsTr(" <a href='#'> (change)</a>") + translationManager.emptyString
+ labelText: qsTr("Blockchain location") + style + " <a href='#'> (%1)</a>".arg(qsTr("Change")) + translationManager.emptyString
placeholderText: qsTr("(default)") + translationManager.emptyString
placeholderFontSize: 15
readOnly: true