diff options
| author | selsta <selsta@sent.at> | 2019-04-16 16:35:30 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2019-04-16 16:35:30 +0200 |
| commit | 15a5f763349c6e3b3d3570fd4de6a83a03d726ad (patch) | |
| tree | c425d914730cb2debe0b2f7e248199fc1a445111 /components | |
| parent | d2c47606ca8446e58ef122117f8f84b578691bab (diff) | |
| download | monzero-gui-15a5f763349c6e3b3d3570fd4de6a83a03d726ad.tar.gz monzero-gui-15a5f763349c6e3b3d3570fd4de6a83a03d726ad.tar.xz monzero-gui-15a5f763349c6e3b3d3570fd4de6a83a03d726ad.zip | |
add missing TranslationManager.emptyString
Diffstat (limited to 'components')
| -rw-r--r-- | components/DaemonManagerDialog.qml | 6 | ||||
| -rw-r--r-- | components/InputDialog.qml | 2 | ||||
| -rw-r--r-- | components/LineEdit.qml | 2 | ||||
| -rw-r--r-- | components/LineEditMulti.qml | 4 | ||||
| -rw-r--r-- | components/NewPasswordDialog.qml | 6 | ||||
| -rw-r--r-- | components/PassphraseDialog.qml | 8 | ||||
| -rw-r--r-- | components/PasswordDialog.qml | 4 |
7 files changed, 16 insertions, 16 deletions
diff --git a/components/DaemonManagerDialog.qml b/components/DaemonManagerDialog.qml index 07dec4a0..92298e3e 100644 --- a/components/DaemonManagerDialog.qml +++ b/components/DaemonManagerDialog.qml @@ -90,7 +90,7 @@ Window { } Text { - text: qsTr("Starting local node in %1 seconds").arg(countDown); + text: qsTr("Starting local node in %1 seconds").arg(countDown) + translationManager.emptyString; font.pixelSize: 18 Layout.alignment: Qt.AlignHCenter Layout.fillWidth: true @@ -108,7 +108,7 @@ Window { id: okButton visible:false fontSize: 14 - text: qsTr("Start daemon (%1)").arg(countDown) + text: qsTr("Start daemon (%1)").arg(countDown) + translationManager.emptyString KeyNavigation.tab: cancelButton onClicked: { timer.stop(); @@ -121,7 +121,7 @@ Window { MoneroComponents.StandardButton { id: cancelButton fontSize: 14 - text: qsTr("Use custom settings") + text: qsTr("Use custom settings") + translationManager.emptyString onClicked: { timer.stop(); diff --git a/components/InputDialog.qml b/components/InputDialog.qml index 65d249e3..26e1f18a 100644 --- a/components/InputDialog.qml +++ b/components/InputDialog.qml @@ -145,7 +145,7 @@ Item { small: true width: 120 fontSize: 14 - text: qsTr("Ok") + text: qsTr("Ok") + translationManager.emptyString KeyNavigation.tab: cancelButton onClicked: { root.close() diff --git a/components/LineEdit.qml b/components/LineEdit.qml index c76f46f9..95ba1369 100644 --- a/components/LineEdit.qml +++ b/components/LineEdit.qml @@ -126,7 +126,7 @@ Item { MoneroComponents.LabelButton { id: copyButtonId - text: qsTr("Copy") + text: qsTr("Copy") + translationManager.emptyString anchors.right: parent.right onClicked: { if (input.text.length > 0) { diff --git a/components/LineEditMulti.qml b/components/LineEditMulti.qml index d251fe26..e28d9e75 100644 --- a/components/LineEditMulti.qml +++ b/components/LineEditMulti.qml @@ -134,7 +134,7 @@ ColumnLayout { MoneroComponents.LabelButton { id: copyButtonId visible: copyButton && input.text !== "" - text: qsTr("Copy") + text: qsTr("Copy") + translationManager.emptyString onClicked: { if (input.text.length > 0) { console.log("Copied to clipboard"); @@ -147,7 +147,7 @@ ColumnLayout { MoneroComponents.LabelButton { id: pasteButtonId onClicked: item.onPaste(clipboard.text()) - text: qsTr("Paste") + text: qsTr("Paste") + translationManager.emptyString visible: pasteButton } } diff --git a/components/NewPasswordDialog.qml b/components/NewPasswordDialog.qml index 2ee1fb8a..d0cb6dca 100644 --- a/components/NewPasswordDialog.qml +++ b/components/NewPasswordDialog.qml @@ -102,7 +102,7 @@ Item { Layout.maximumWidth: 400 * scaleRatio Label { - text: qsTr("Please enter new password") + text: qsTr("Please enter new password") + translationManager.emptyString Layout.fillWidth: true font.pixelSize: 16 * scaleRatio @@ -180,7 +180,7 @@ Item { } Label { - text: qsTr("Please confirm new password") + text: qsTr("Please confirm new password") + translationManager.emptyString Layout.fillWidth: true font.pixelSize: 16 * scaleRatio @@ -281,7 +281,7 @@ Item { } MoneroComponents.StandardButton { id: okButton - text: qsTr("Continue") + text: qsTr("Continue") + translationManager.emptyString KeyNavigation.tab: cancelButton enabled: passwordInput1.text === passwordInput2.text onClicked: { diff --git a/components/PassphraseDialog.qml b/components/PassphraseDialog.qml index c7af29f9..721a2b25 100644 --- a/components/PassphraseDialog.qml +++ b/components/PassphraseDialog.qml @@ -112,7 +112,7 @@ Item { Layout.maximumWidth: 400 * scaleRatio Label { - text: root.walletName.length > 0 ? qsTr("Please enter wallet device passphrase for: ") + root.walletName : qsTr("Please enter wallet device passphrase") + text: (root.walletName.length > 0 ? qsTr("Please enter wallet device passphrase for: ") + root.walletName : qsTr("Please enter wallet device passphrase")) + translationManager.emptyString Layout.fillWidth: true font.pixelSize: 16 * scaleRatio @@ -122,7 +122,7 @@ Item { } Label { - text: qsTr("Warning: passphrase entry on host is a security risk as it can be captured by malware. It is advised to prefer device-based passphrase entry."); + text: qsTr("Warning: passphrase entry on host is a security risk as it can be captured by malware. It is advised to prefer device-based passphrase entry.") + translationManager.emptyString Layout.fillWidth: true wrapMode: Text.Wrap @@ -212,7 +212,7 @@ Item { } Label { - text: qsTr("Please re-enter") + text: qsTr("Please re-enter") + translationManager.emptyString Layout.fillWidth: true font.pixelSize: 16 * scaleRatio @@ -313,7 +313,7 @@ Item { } MoneroComponents.StandardButton { id: okButton - text: qsTr("Continue") + text: qsTr("Continue") + translationManager.emptyString KeyNavigation.tab: cancelButton enabled: passphaseInput1.text === passphaseInput2.text onClicked: { diff --git a/components/PasswordDialog.qml b/components/PasswordDialog.qml index f820e4df..e4633c06 100644 --- a/components/PasswordDialog.qml +++ b/components/PasswordDialog.qml @@ -100,7 +100,7 @@ Item { Layout.maximumWidth: 400 * scaleRatio Label { - text: root.walletName.length > 0 ? qsTr("Please enter wallet password for: ") + root.walletName : qsTr("Please enter wallet password") + text: (root.walletName.length > 0 ? qsTr("Please enter wallet password for: ") + root.walletName : qsTr("Please enter wallet password")) + translationManager.emptyString Layout.fillWidth: true font.pixelSize: 16 * scaleRatio @@ -233,7 +233,7 @@ Item { MoneroComponents.StandardButton { id: okButton small: true - text: qsTr("Continue") + text: qsTr("Continue") + translationManager.emptyString KeyNavigation.tab: cancelButton onClicked: { root.close() |
