[NetworkManager-openconnect] properties: clarify multi-protocol nature of recent versions of openconnect



commit 1787584743f90f3aa353110e1a91928c0f79c51e
Author: Daniel Lenski <dlenski gmail com>
Date:   Wed Jun 6 10:26:20 2018 +0300

    properties: clarify multi-protocol nature of recent versions of openconnect

 properties/nm-openconnect-dialog.ui       |  4 ++--
 properties/nm-openconnect-editor-plugin.c | 12 ++++++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/properties/nm-openconnect-dialog.ui b/properties/nm-openconnect-dialog.ui
index dcc21d2..66671f9 100644
--- a/properties/nm-openconnect-dialog.ui
+++ b/properties/nm-openconnect-dialog.ui
@@ -310,7 +310,7 @@
                 <property name="border_width">2</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
-                <property name="label" translatable="yes">Allow Cisco Secure Desktop _trojan</property>
+                <property name="label" translatable="yes">Allow security scanner _trojan (CSD)</property>
                 <property name="use_underline">True</property>
                 <property name="relief">GTK_RELIEF_NORMAL</property>
                 <property name="focus_on_click">True</property>
@@ -379,7 +379,7 @@
                     <child>
                       <object class="GtkLabel" id="label29">
                         <property name="visible">True</property>
-                        <property name="label" translatable="yes">CSD _Wrapper Script:</property>
+                        <property name="label" translatable="yes">Trojan (CSD) _Wrapper Script:</property>
                         <property name="use_underline">True</property>
                         <property name="use_markup">False</property>
                         <property name="justify">GTK_JUSTIFY_LEFT</property>
diff --git a/properties/nm-openconnect-editor-plugin.c b/properties/nm-openconnect-editor-plugin.c
index ba8da00..f230a8b 100644
--- a/properties/nm-openconnect-editor-plugin.c
+++ b/properties/nm-openconnect-editor-plugin.c
@@ -53,8 +53,16 @@
 # include "nm-utils/nm-vpn-plugin-utils.h"
 #endif
 
-#define OPENCONNECT_PLUGIN_NAME    _("Cisco AnyConnect Compatible VPN (openconnect)")
-#define OPENCONNECT_PLUGIN_DESC    _("Compatible with Cisco AnyConnect SSL VPN.")
+#if OPENCONNECT_CHECK_VER(5,5)
+# define OPENCONNECT_PLUGIN_NAME    _("Multi-protocol VPN client (openconnect)")
+# define OPENCONNECT_PLUGIN_DESC    _("Compatible with Cisco AnyConnect, Juniper Network Connect and Junos 
Pulse, and PAN GlobalProtect SSL VPNs.")
+#elif OPENCONNECT_CHECK_VER(5,5)
+# define OPENCONNECT_PLUGIN_NAME    _("Multi-protocol VPN client (openconnect)")
+# define OPENCONNECT_PLUGIN_DESC    _("Compatible with Cisco AnyConnect and Juniper Network Connect and 
Junos Pulse SSL VPNs.")
+#else
+# define OPENCONNECT_PLUGIN_NAME    _("Cisco AnyConnect Compatible VPN (openconnect)")
+# define OPENCONNECT_PLUGIN_DESC    _("Compatible with Cisco AnyConnect SSL VPN.")
+#endif
 
 /************** plugin class **************/
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]