From dcf660f343a7ba85feb693ee5db40894829e7804 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Mon, 29 Nov 2021 17:12:06 +0100 Subject: [ui] ui fixes after field test recommendations --- gui/components/About.qml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'gui/components/About.qml') diff --git a/gui/components/About.qml b/gui/components/About.qml index cceaad4..291c491 100644 --- a/gui/components/About.qml +++ b/gui/components/About.qml @@ -26,6 +26,7 @@ ThemedPage { width: parent.width Text { + textFormat: Text.RichText width: parent.width - 40 color: Theme.fontColor font.pixelSize: 12 @@ -58,8 +59,6 @@ ThemedPage { readOnly: true selectByMouse: true text: getVersion() - //horizontalAlignment: Text.AlignCenter - //anchors.horizontalCenter: parent.horizontalCenter } } @@ -79,16 +78,19 @@ ThemedPage { if (_donateURL) { //: donation text of the about dialog _donateTXT = qsTr( - "

This service is paid for entirely by donations from users like you. Please donate.

").arg( - _donateURL) + "

This service is paid for entirely by donations from users like you. Please donate.

").arg(_donateURL) + } + if (_provider == "Riseup") { + // XXX this is a quick workaround. About-us should be parametrized too. + _provider = "" + ctx.provider + "" } //: about dialog //: %1 -> application name //: %2 -> provider name //: %3 -> donation text if activated - var _txt = qsTr( - "

%1 is an easy, fast, and secure VPN service from %2. %1 does not require a user account, keep logs, or track you in any way.

%3

By using this application, you agree to the Terms of Service. This service is provided as-is, without any warranty, and is intended for people who work to make the world a better place.

").arg( - _name).arg(_provider).arg(_donateTXT).arg(_tosURL) + //: %4 -> terms of service + let _txt = qsTr( + "

%1 is an easy, fast, and secure VPN service from %2. %1 does not require a user account, keep logs, or track you in any way.

%3

By using this application, you agree to the Terms of Service. This service is provided as-is, without any warranty, and is intended for people who work to make the world a better place.

").arg(_name).arg(_provider).arg(_donateTXT).arg(_tosURL) return _txt } -- cgit v1.2.3