From 215bd792657c9a203f55dd1a9f5f3bcfd49ce69f Mon Sep 17 00:00:00 2001 From: Aleksandr Dezhin Date: Tue, 19 Apr 2022 15:15:33 +0300 Subject: [PATCH 1/2] Add UTM parameters for better analytics --- src/qms_service_toolbox.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/qms_service_toolbox.py b/src/qms_service_toolbox.py index 25e6b26..cb7dbca 100644 --- a/src/qms_service_toolbox.py +++ b/src/qms_service_toolbox.py @@ -159,7 +159,10 @@ def show_news(self): client.set_proxy(*QGISSettings.get_qgis_proxy()) #qms_news = client.get_news() - qms_news = QmsNews({'ru': u'\u0421\u0432\u0435\u0436\u0438\u0435 \u0433\u0435\u043e\u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430', 'en': u'Fresh geodata for your project'}) + qms_news = QmsNews({ + 'ru': u'\u0421\u0432\u0435\u0436\u0438\u0435 \u0433\u0435\u043e\u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430', + 'en': u'Fresh geodata for your project', + }) if qms_news is None: self.newsFrame.setVisible(False) From bc582f496ab1f2494ff0ac2c06103ddceed5cdaa Mon Sep 17 00:00:00 2001 From: Aleksandr Dezhin Date: Tue, 19 Apr 2022 16:08:20 +0300 Subject: [PATCH 2/2] Replace 'fresh' with 'download' in data banner --- src/qms_service_toolbox.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qms_service_toolbox.py b/src/qms_service_toolbox.py index cb7dbca..c4acbce 100644 --- a/src/qms_service_toolbox.py +++ b/src/qms_service_toolbox.py @@ -160,8 +160,8 @@ def show_news(self): #qms_news = client.get_news() qms_news = QmsNews({ - 'ru': u'\u0421\u0432\u0435\u0436\u0438\u0435 \u0433\u0435\u043e\u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430', - 'en': u'Fresh geodata for your project', + 'ru': u'\u0421\u043a\u0430\u0447\u0430\u0439\u0442\u0435 \u0433\u0435\u043e\u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430', + 'en': u'Download geodata for your project', }) if qms_news is None: