@@ -6,7 +6,7 @@ import QtQuick.Layouts 1.13
6
6
7
7
AbstractDialog {
8
8
id: self
9
- title: ' Help improve Green '
9
+ title: qsTrId ( ' id_help_green_improve ' )
10
10
modal: false
11
11
showRejectButton: true
12
12
closePolicy: Dialog .NoAutoClose
@@ -21,7 +21,7 @@ AbstractDialog {
21
21
Label {
22
22
Layout .fillWidth : true
23
23
Layout .preferredWidth : 0
24
- text: ' If you agree, Green will collect anonymous data to optimize the user experience. No individual user or wallet can be identified. '
24
+ text: qsTrId ( ' id_if_you_agree_green_will_collect ' )
25
25
wrapMode: Label .WordWrap
26
26
}
27
27
Pane {
@@ -49,7 +49,7 @@ AbstractDialog {
49
49
Label {
50
50
id: details_label
51
51
Layout .fillWidth : true
52
- text: collapsible .collapsed ? qsTrId (' Show details ' ) : qsTrId (' Hide details ' )
52
+ text: collapsible .collapsed ? qsTrId (' id_show_details ' ) : qsTrId (' id_hide_details ' )
53
53
Image {
54
54
anchors .right : parent .right
55
55
anchors .verticalCenter : parent .verticalCenter
@@ -81,39 +81,39 @@ AbstractDialog {
81
81
Layout .maximumWidth : 420
82
82
topPadding: constants .p3 + constants .p2
83
83
font .bold : true
84
- text: " What's collected "
84
+ text: qsTrId ( ' id_whats_collected ' )
85
85
}
86
86
Label {
87
87
Layout .maximumWidth : 420
88
- text: " • Page visits, button presses, general application configurations "
88
+ text: " • " + qsTrId ( ' id_page_visits_button_presses ' )
89
89
wrapMode: Label .WordWrap
90
90
}
91
91
Label {
92
92
Layout .maximumWidth : 420
93
- text: " • Operative System and application version, loading times, crashes "
93
+ text: " • " + qsTrId ( ' id_os__app_version_loading_times ' )
94
94
wrapMode: Label .WordWrap
95
95
}
96
96
Label {
97
97
Layout .maximumWidth : 420
98
98
topPadding: constants .p2
99
99
font .bold : true
100
- text: " What's NOT collected "
100
+ text: qsTrId ( ' id_whats_not_collected ' )
101
101
}
102
102
Label {
103
103
Layout .maximumWidth : 420
104
- text: " • Recovery phrases, key material, addresses "
104
+ text: " • " + qsTrId ( ' id_recovery_phrases_key_material ' )
105
105
wrapMode: Label .WordWrap
106
106
}
107
107
Label {
108
108
Layout .maximumWidth : 420
109
- text: " • User contact info, IP address, location "
109
+ text: " • " + qsTrId ( ' id_user_contact_info_ip_address ' )
110
110
wrapMode: Label .WordWrap
111
111
}
112
112
Label {
113
113
Layout .maximumWidth : 420
114
114
textFormat: Text .RichText
115
115
onLinkActivated: Qt .openUrlExternally (link)
116
- text: link (' https://help.blockstream.com/hc/en-us/articles/5988514431897' , qsTrId (' Learn more ' ))
116
+ text: link (' https://help.blockstream.com/hc/en-us/articles/5988514431897' , qsTrId (' id_learn_more ' ))
117
117
background: MouseArea {
118
118
acceptedButtons: Qt .NoButton
119
119
cursorShape: parent .hoveredLink ? Qt .PointingHandCursor : Qt .ArrowCursor
@@ -134,7 +134,7 @@ AbstractDialog {
134
134
}
135
135
GButton {
136
136
large: true
137
- text: qsTrId (" Don't collect data " )
137
+ text: qsTrId (' id_dont_collect_data ' )
138
138
onClicked: {
139
139
Settings .analytics = ' disabled'
140
140
self .accept ()
@@ -143,7 +143,7 @@ AbstractDialog {
143
143
GButton {
144
144
highlighted: true
145
145
large: true
146
- text: qsTrId (' Allow collection ' )
146
+ text: qsTrId (' id_allow_collection ' )
147
147
onClicked: {
148
148
Settings .analytics = ' enabled'
149
149
self .accept ()
0 commit comments