Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab3a6b46 authored by takuo's avatar takuo
Browse files

Added interface to select openvpn device tun or tap.

parent c54af67d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1022,6 +1022,7 @@
    <!-- OpenVPN settings -->
    <string name="vpn_openvpn_port">"サーバポート番号"</string>
    <string name="vpn_openvpn_protocol">"使用するプロトコル"</string>
    <string name="vpn_openvpn_device">"使用するデバイス"</string>
    <string name="vpn_openvpn_userauth">"ユーザ認証"</string>
    <string name="vpn_openvpn_userauth_summary">"追加のユーザ認証が必要な場合設定する"</string>
    <string name="vpn_openvpn_advanced_titlebar">"追加のOpenVPN設定"</string>
+7 −0
Original line number Diff line number Diff line
@@ -374,6 +374,13 @@
        <item>tcp</item>
    </string-array>

    <!-- openvpn advanced menu device entries -->
    <!-- Do not translate. -->
    <string-array name="vpn_openvpn_device_entries">
        <item>tun</item>
        <item>tap</item>
    </string-array>

    <!-- Locales in this list are displayed with the corresponding
         name from special_locale_names instead of using the name
         from Locale.getDisplayName(). -->
+1 −0
Original line number Diff line number Diff line
@@ -2113,6 +2113,7 @@ found in the list of installed applications.</string>
    <string name="vpn_pptp_encryption">PPTP encryption</string>
    <string name="vpn_openvpn_port">Server port</string>
    <string name="vpn_openvpn_protocol">Protocol to use</string>
    <string name="vpn_openvpn_device">Device to use</string>
    <string name="vpn_openvpn_userauth">User authentication</string>
    <string name="vpn_openvpn_userauth_summary">Set if additional username/password authentication needs to be used</string>
    <string name="vpn_openvpn_advanced_titlebar">Advanced Openvpn Settings</string>
+8 −0
Original line number Diff line number Diff line
@@ -33,6 +33,14 @@
       android:entryValues="@array/vpn_openvpn_protocol_entries"
       />

    <ListPreference
       android:key="set_device"
       android:title="@string/vpn_openvpn_device"
       android:dialogTitle="@string/vpn_openvpn_device"
       android:entries="@array/vpn_openvpn_device_entries"
       android:entryValues="@array/vpn_openvpn_device_entries"
       />

    <CheckBoxPreference
       android:key="set_comp_lzo"
       android:title="@string/vpn_openvpn_comp_lzo"