summaryrefslogtreecommitdiff
path: root/gui/qml/DonateDialog.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-06-17 13:17:16 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-06-26 12:13:41 +0200
commit253b12e140905d3a38bcd09d55b9c5dbf0601d66 (patch)
tree3c2da8b70ebe0536cb4382b54d8a1a8c04f5cc4a /gui/qml/DonateDialog.qml
parent35971c9a80879728a7bec38494a1edc1ecbf740f (diff)
[feat] working about dialog
Diffstat (limited to 'gui/qml/DonateDialog.qml')
-rw-r--r--gui/qml/DonateDialog.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/qml/DonateDialog.qml b/gui/qml/DonateDialog.qml
index eb761a4..fd27a6b 100644
--- a/gui/qml/DonateDialog.qml
+++ b/gui/qml/DonateDialog.qml
@@ -3,15 +3,15 @@ import QtQuick.Dialogs 1.2
MessageDialog {
standardButtons: StandardButton.No | StandardButton.Yes
- title: "Donate"
+ title: qsTr("Donate")
icon: StandardIcon.Warning
text: getText()
function getText() {
var _name = ctx ? ctx.appName : "vpn"
- var donateTxt = qsTr(
+ var _txt = qsTr(
"The %1 service is expensive to run. Because we don't want to store personal information about you, there are no accounts or billing for this service. But if you want the service to continue, donate at least $5 each month.\n\nDo you want to donate now?").arg(_name)
- return donateTxt
+ return _txt
}
onAccepted: {