Changeset 13149

Show
Ignore:
Timestamp:
10/31/09 08:43:52 (3 weeks ago)
Author:
eko
Message:

translate openVPN daemon GUI

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/router/openvpn/config2/openvpn.nvramconfig

    r1 r13149  
    77 "openvpn_client"  "Client Public Key"  "NULL"   "FALSE" "0" 
    88 "openvpn_key"  "Client Private Key"  "NULL"   "FALSE" "0" 
    9  "openvpn_proto" "Tunnel Protocol" "CHOICE" "2" "udp" "tcp" "FALSE" "0" 
    10  "openvpn_onwan" "Tunnel Protocol" "CHOICE" "2" "0" "1" "FALSE" "0" 
     9 "openvpn_proto" "Proto" "CHOICE" "2" "udp" "tcp" "FALSE" "0" 
     10 "openvpn_onwan" "Start type" "CHOICE" "2" "0" "1" "FALSE" "0" 
    1111 "openvpn_dh" "DH PEM" "NULL" "FALSE" "0" 
    12  "openvpn_config" "config" "NULL" "FALSE" "0" 
    13  "openvpn_tlsauth" "tlsauth" "NULL" "FALSE" "0" 
     12 "openvpn_config" "Config" "NULL" "FALSE" "0" 
     13 "openvpn_tlsauth" "Tlsauth" "NULL" "FALSE" "0" 
  • src/router/openvpn/config2/openvpn.webvpn

    r11059 r13149  
    1 <h2>OpenVPN Daemon</h2> 
     1<h2><% tran("service.vpnd_legend"); %></h2> 
    22<fieldset> 
    3         <legend>OpenVPN Daemon</legend> 
     3        <legend><% tran("service.vpnd_legend"); %></legend> 
    44        <div class="setting"> 
    5                 <div class="label">Start OpenVPN</div> 
     5                <div class="label"><% tran("service.vpnd_srv"); %></div> 
    66                <input class="spaceradio" type="radio" name="openvpn_enable" value="1" <% nvram_checked("openvpn_enable", "1"); %> onclick="show_layer_ext(this, 'idvpn', true)" /><% tran("share.enable"); %>&nbsp; 
    77                <input class="spaceradio" type="radio" name="openvpn_enable" value="0" <% nvram_checked("openvpn_enable", "0"); %> onclick="show_layer_ext(this, 'idvpn', false)" /><% tran("share.disable"); %> 
     
    99        <div id="idvpn"> 
    1010        <div class="setting"> 
    11                 <div class="label">Start type</div> 
    12                 <input type="radio" name="openvpn_onwan" value="1" <% nvram_checked("openvpn_onwan", "1"); %> />Wan Up 
    13                 <input type="radio" name="openvpn_onwan" value="0" <% nvram_checked("openvpn_onwan", "0"); %> />System 
     11                <div class="label"><% tran("service.vpnd_starttype"); %></div> 
     12                <input type="radio" name="openvpn_onwan" value="1" <% nvram_checked("openvpn_onwan", "1"); %> /><% tran("service.vpnd_startWanup"); %> 
     13                <input type="radio" name="openvpn_onwan" value="0" <% nvram_checked("openvpn_onwan", "0"); %> /><% tran("service.vpnd_startSystem"); %> 
    1414                </div> 
    1515         
    1616        <div class="setting">            
    17                 <div class="label">Public Server Cert</div> 
     17                <div class="label"><% tran("service.vpn_srvcert"); %></div> 
    1818                <textarea cols="60" rows="10" id="openvpn_ca" name="openvpn_ca"> </textarea> 
    1919                <script type="text/javascript"> 
     
    2525        </div> 
    2626        <div class="setting">            
    27                 <div class="label">Certificate Revoke List</div> 
     27                <div class="label"><% tran("service.vpnd_crl"); %></div> 
    2828                <textarea cols="60" rows="10" id="openvpn_crl" name="openvpn_crl"> </textarea> 
    2929                <script type="text/javascript"> 
     
    3535        </div> 
    3636        <div class="setting">            
    37                 <div class="label">Public Client Cert</div> 
     37                <div class="label"><% tran("service.vpn_clicert"); %></div> 
    3838                <textarea cols="60" rows="10" id="openvpn_client" name="openvpn_client"> </textarea> 
    3939                <script type="text/javascript"> 
     
    4545        </div> 
    4646        <div class="setting">            
    47                 <div class="label">Private Client Key</div> 
     47                <div class="label"><% tran("service.vpn_clikey"); %></div> 
    4848                <textarea cols="60" rows="10" id="openvpn_key" name="openvpn_key"> </textarea> 
    4949                <script type="text/javascript"> 
     
    5555        </div> 
    5656        <div class="setting">            
    57                 <div class="label">DH PEM </div> 
     57                <div class="label"><% tran("service.vpnd_dhpem"); %></div> 
    5858                <textarea cols="60" rows="10" id="openvpn_dh" name="openvpn_dh"> </textarea> 
    5959                <script type="text/javascript"> 
     
    6565        </div> 
    6666        <div class="setting">            
    67                 <div class="label">OpenVPN Config </div> 
     67                <div class="label"><% tran("service.vpnd_config"); %></div> 
    6868                <textarea cols="60" rows="10" id="openvpn_config" name="openvpn_config"> </textarea> 
    6969                <script type="text/javascript"> 
     
    7575        </div> 
    7676        <div class="setting">            
    77                 <div class="label">OpenVPN TLS Auth </div> 
     77                <div class="label"><% tran("service.vpnd_tlsauth"); %></div> 
    7878                <textarea cols="60" rows="10" id="openvpn_tlsauth" name="openvpn_tlsauth"> </textarea> 
    7979                <script type="text/javascript">