diff options
author | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-27 14:35:12 -0300 |
---|---|---|
committer | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-27 14:35:12 -0300 |
commit | adf32c24cbb46f349041b7f401965956ed3527f5 (patch) | |
tree | d25b57079bb20405a6ac27b84790434e2cda75c2 /usr | |
parent | 108f16bf0cbad98e4ed78dea8989a0fed94d8927 (diff) | |
download | pfsense-adf32c24cbb46f349041b7f401965956ed3527f5.zip pfsense-adf32c24cbb46f349041b7f401965956ed3527f5.tar.gz |
Implement gettext() calls on vpn_l2tp.php
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/vpn_l2tp.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/usr/local/www/vpn_l2tp.php b/usr/local/www/vpn_l2tp.php index 2b61209..29aa3b8 100644 --- a/usr/local/www/vpn_l2tp.php +++ b/usr/local/www/vpn_l2tp.php @@ -266,13 +266,13 @@ function enable_change(enable_over) { <td width="78%" class="vtable"> <input name="mode" type="radio" onclick="enable_change(false)" value="off" <?php if (($pconfig['mode'] != "server") && ($pconfig['mode'] != "redir")) echo "checked=\"checked\"";?> /> - Off</td> + <?=gettext("Off"); ?></td> </tr> <tr> <td width="22%" valign="top" class="vtable"> </td> <td width="78%" class="vtable"> <input type="radio" name="mode" value="server" onclick="enable_change(false)" <?php if ($pconfig['mode'] == "server") echo "checked=\"checked\""; ?> /> - Enable l2tp server</td> + <?=gettext("Enable l2tp server"); ?></td> </tr> <tr> @@ -308,7 +308,7 @@ function enable_change(enable_over) { </td> </tr> <tr> - <td width="22%" valign="top" class="vncellreq">Subnet netmask</td> + <td width="22%" valign="top" class="vncellreq"><?=gettext("Subnet netmask"); ?></td> <td width="78%" class="vtable"> <select id="l2tp_subnet" name="l2tp_subnet"> <?php @@ -321,11 +321,11 @@ function enable_change(enable_over) { } ?> </select> - <br>Hint: 24 is 255.255.255.0 + <br><?=gettext("Hint"); ?>: 24 <?=gettext("is"); ?> 255.255.255.0 </td> </tr> <tr> - <td width="22%" valign="top" class="vncellreq">Number of L2TP users</td> + <td width="22%" valign="top" class="vncellreq"><?=gettext("Number of L2TP users"); ?></td> <td width="78%" class="vtable"> <select id="n_l2tp_units" name="n_l2tp_units"> <?php @@ -338,7 +338,7 @@ function enable_change(enable_over) { } ?> </select> - <br>Hint: 10 is ten L2TP clients + <br><?=gettext("Hint"); ?>: 10 <?=gettext("is ten L2TP clients"); ?> </td> </tr> <tr> @@ -353,15 +353,15 @@ function enable_change(enable_over) { <td width="22%" valign="top" class="vncellreq"><?=gettext("Encyrption type");?></td> <td width="78%" class="vtable"> <?=$mandfldhtml;?><select name="paporchap" id="paporchap"> - <option value='chap'<?php if($pconfig['paporchap'] == "chap") echo " SELECTED"; ?>>CHAP</option> - <option value='pap'<?php if($pconfig['paporchap'] == "pap") echo " SELECTED"; ?>>PAP</option> + <option value='chap'<?php if($pconfig['paporchap'] == "chap") echo " SELECTED"; ?>><?=gettext("CHAP"); ?></option> + <option value='pap'<?php if($pconfig['paporchap'] == "pap") echo " SELECTED"; ?>><?=gettext("PAP"); ?></option> </select> <br /> <?=gettext("Specifies which protocol to use for authentication.");?><br /> </td> </tr> <tr> - <td width="22%" valign="top" class="vncell">RADIUS</td> + <td width="22%" valign="top" class="vncell"><?=gettext("RADIUS"); ?></td> <td width="78%" class="vtable"> <input name="radiusenable" type="checkbox" id="radiusenable" onclick="enable_change(false)" value="yes" <?php if ($pconfig['radiusenable']) echo "checked=\"checked\""; ?> /> <strong> <?=gettext("Use a RADIUS server for authentication");?><br /></strong> @@ -396,7 +396,7 @@ function enable_change(enable_over) { <tr> <td width="22%" valign="top"> </td> <td width="78%"> - <input id="submit" name="Submit" type="submit" class="formbtn" value="Save" onclick="enable_change(true)" /> + <input id="submit" name="Submit" type="submit" class="formbtn" value="<?=gettext("Save"); ?>" onclick="enable_change(true)" /> </td> </tr> <tr> |