summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-02-02 16:37:43 +0100
committerArne Schwabe <arne@rfc2549.org>2013-02-02 16:37:43 +0100
commitf00cd03f5aa1f8042b55ebee5050d297cef6bb8a (patch)
treed6366f6696889de81932df08bec243f06e547cf2 /res
parentdbd9cf8fadb8d2911a20ad4fd3ddb708a7b77dba (diff)
Add the --auth option to the auth/enc dialog
Diffstat (limited to 'res')
-rwxr-xr-xres/values/strings.xml9
-rw-r--r--res/xml/vpn_authentification.xml8
2 files changed, 14 insertions, 3 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index ff9db139..f1bd9bd9 100755
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -126,7 +126,8 @@
<string name="no_vpn_support_image">Your image does not support the VPNService API, sorry :(</string>
<string name="encryption">Encryption</string>
<string name="cipher_dialog_title">Enter encryption method</string>
- <string name="chipher_dialog_message">Enter the cipher key for OpenVPN. Leave empty to use default cipher</string>
+ <string name="chipher_dialog_message">Enter the encryption cipher alogithm used by OpenVPN. Leave empty to use default cipher.</string>
+ <string name="auth_dialog_message">Enter the authentication digest used for OpenVPN. Leave empty to use default digest.</string>
<string name="settings_auth">Authentication/Encryption</string>
<string name="file_explorer_tab">File Explorer</string>
<string name="inline_file_tab">Inline File</string>
@@ -256,4 +257,8 @@
<string name="statusline_bytecount">In: %8$1s %8$2s/s Out: %8$3s %8$4s/s</string>
<string name="notifcation_title_notconnect">Not connected</string>
<string name="jelly_keystore_alphanumeric_bug">Some versions of Android 4.1 have problem if the name of the keystore certificate contains non alphanumeric character (like spaces or dashes)</string>
-</resources>
+ <string name="encryption_cipher">Encryption cipher</string>
+ <string name="packet_auth">Packets authentication</string>
+ <string name="auth_dialog_title">Enter packet authentication method</string>
+
+</resources> \ No newline at end of file
diff --git a/res/xml/vpn_authentification.xml b/res/xml/vpn_authentification.xml
index 99e0f3e8..619890c7 100644
--- a/res/xml/vpn_authentification.xml
+++ b/res/xml/vpn_authentification.xml
@@ -41,7 +41,13 @@
android:dialogTitle="@string/cipher_dialog_title"
android:key="cipher"
android:persistent="false"
- android:title="Encryption cipher" />
+ android:title="@string/encryption_cipher" />
+ <EditTextPreference
+ android:dialogMessage="@string/auth_dialog_message"
+ android:dialogTitle="@string/auth_dialog_title"
+ android:key="auth"
+ android:persistent="false"
+ android:title="@string/packet_auth" />
</PreferenceCategory>
</PreferenceScreen> \ No newline at end of file