diff options
author | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-01 20:29:19 -0300 |
---|---|---|
committer | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-01 20:29:19 -0300 |
commit | b705a25b4c9e238300a75da866353bb807be1333 (patch) | |
tree | ad1400afc633f539f64e66f1e221830c9a5d1ace /usr/local/www | |
parent | 308a858915e16d7f4812a1af07ea60210b534581 (diff) | |
download | pfsense-b705a25b4c9e238300a75da866353bb807be1333.zip pfsense-b705a25b4c9e238300a75da866353bb807be1333.tar.gz |
Implement gettext() calls
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/interfaces_lagg.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/usr/local/www/interfaces_lagg.php b/usr/local/www/interfaces_lagg.php index f09c59e..190c787 100644 --- a/usr/local/www/interfaces_lagg.php +++ b/usr/local/www/interfaces_lagg.php @@ -67,7 +67,7 @@ function lagg_inuse($num) { if ($_GET['act'] == "del") { /* check if still in use */ if (lagg_inuse($_GET['id'])) { - $input_errors[] = "This LAGG interface cannot be deleted because it is still being used."; + $input_errors[] = gettext("This LAGG interface cannot be deleted because it is still being used."); } else { mwexec_bg("/sbin/ifconfig " . $a_laggs[$_GET['id']]['laggif'] . " destroy"); unset($a_laggs[$_GET['id']]); @@ -79,7 +79,7 @@ if ($_GET['act'] == "del") { } } -$pgtitle = array("Interfaces","LAGG"); +$pgtitle = array(gettext("Interfaces"),gettext("LAGG")); include("head.inc"); ?> @@ -91,15 +91,15 @@ include("head.inc"); <tr><td> <?php $tab_array = array(); - $tab_array[0] = array("Interface assignments", false, "interfaces_assign.php"); - $tab_array[1] = array("Interface Groups", false, "interfaces_groups.php"); - $tab_array[2] = array("Wireless", false, "interfaces_wireless.php"); + $tab_array[0] = array(gettext("Interface assignments"), false, "interfaces_assign.php"); + $tab_array[1] = array(gettext("Interface Groups"), false, "interfaces_groups.php"); + $tab_array[2] = array(gettext("Wireless"), false, "interfaces_wireless.php"); $tab_array[3] = array("VLANs", false, "interfaces_vlan.php"); $tab_array[4] = array("QinQs", false, "interfaces_qinq.php"); $tab_array[5] = array("PPPs", false, "interfaces_ppps.php"); $tab_array[6] = array("GRE", false, "interfaces_gre.php"); $tab_array[7] = array("GIF", false, "interfaces_gif.php"); - $tab_array[8] = array("Bridges", false, "interfaces_bridge.php"); + $tab_array[8] = array(gettext("Bridges"), false, "interfaces_bridge.php"); $tab_array[9] = array("LAGG", true, "interfaces_lagg.php"); display_top_tabs($tab_array); ?> @@ -109,9 +109,9 @@ include("head.inc"); <div id="mainarea"> <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> - <td width="20%" class="listhdrr">Interface</td> - <td width="20%" class="listhdrr">Members</td> - <td width="50%" class="listhdr">Description</td> + <td width="20%" class="listhdrr"><?=gettext("Interface"); ?></td> + <td width="20%" class="listhdrr"><?=gettext("Members"); ?></td> + <td width="50%" class="listhdr"><?=gettext("Description"); ?></td> <td width="10%" class="list"></td> </tr> <?php $i = 0; foreach ($a_laggs as $lagg): ?> @@ -135,9 +135,9 @@ include("head.inc"); </tr> <tr> <td colspan="3" class="list"><p class="vexpl"><span class="red"><strong> - Note:<br> + <?=gettext("Note"); ?>:<br> </strong></span> - LAGG allows for link aggregation, bonding and fault tolerance. Only unassigned interfaces can be added to LAGG. + <?=gettext("LAGG allows for link aggregation, bonding and fault tolerance. Only unassigned interfaces can be added to LAGG"); ?>. </td> <td class="list"> </td> </tr> |