From a234a8ef5bf8564221f615d0010a810e501905bb Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Wed, 24 Nov 2021 20:35:09 +0100 Subject: [ui] remove old qml folder --- gui/qml/AboutDialog.qml | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 gui/qml/AboutDialog.qml (limited to 'gui/qml/AboutDialog.qml') diff --git a/gui/qml/AboutDialog.qml b/gui/qml/AboutDialog.qml deleted file mode 100644 index 544d375..0000000 --- a/gui/qml/AboutDialog.qml +++ /dev/null @@ -1,40 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Dialogs 1.2 - -MessageDialog { - title: qsTr("About") - text: getText() - informativeText: getVersion() - icon: StandardIcon.Information - - function getText() { - var _name = ctx ? ctx.appName : "vpn" - var _provider = ctx ? ctx.provider : "unknown" - var _donateURL = ctx ? ctx.donateURL : "" - var _tosURL = ctx ? ctx.tosURL : "…" - var _donateTXT = "" - 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) - } - //: 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) - return _txt - } - - function getVersion() { - var _name = ctx ? ctx.appName : "vpn" - var _ver = ctx ? ctx.version : "unknown" - //: %1 -> application name - //: %2 -> version string - var _txt = qsTr("%1 version: %2").arg(_name).arg(_ver) - return _txt - } -} -- cgit v1.2.3