From a18032550d38b3530b6488c7c845bda3132b5075 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Sat, 12 May 2012 21:18:37 +0200 Subject: Almost working configuration import --- res/menu/import_menu.xml | 18 ++++++++++++++++++ res/values/strings.xml | 13 ++++++++++++- res/xml/vpn_headers.xml | 1 - 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 res/menu/import_menu.xml (limited to 'res') diff --git a/res/menu/import_menu.xml b/res/menu/import_menu.xml new file mode 100644 index 00000000..27498da3 --- /dev/null +++ b/res/menu/import_menu.xml @@ -0,0 +1,18 @@ + + + + + + + + \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 5d605e08..a5a88219 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -195,5 +195,16 @@ Error importing File Could not import File from Filesystem [[Inline file data]] - Refusing to open tun device without IP information + Refusing to open tun device without IP information + Import Profile from ovpn file + Import + Could not read Profile to import + Error reading Config file + add Profile + Trying to read file: %1$s + Could not find file %1$s mentioned in the imported Config file + Importing config file from source %1$s + Your config file specified a pkcs12 file. Please import the file by selecting select in the Basic Settings configuration of the converted VPN + Your configuration had a few configuration options that could be parsed. These options were added as custom configuration options. The custom configuration is displayed below: + Done reading config file. diff --git a/res/xml/vpn_headers.xml b/res/xml/vpn_headers.xml index 60ddce7c..c299d2a5 100644 --- a/res/xml/vpn_headers.xml +++ b/res/xml/vpn_headers.xml @@ -4,7 +4,6 @@
-- cgit v1.2.3