diff options
author | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-22 14:04:31 -0300 |
---|---|---|
committer | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-22 14:04:31 -0300 |
commit | 1d80829e1193ccaa427007fbb63f9cd70d1e125b (patch) | |
tree | 9d16a24439634426e07183633156d66c11d31516 /usr | |
parent | ea769804446bba81e7cfd73b3a266d95490165f4 (diff) | |
download | pfsense-1d80829e1193ccaa427007fbb63f9cd70d1e125b.zip pfsense-1d80829e1193ccaa427007fbb63f9cd70d1e125b.tar.gz |
Corrections gettext implementation on status_rrd_graph.php
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/status_rrd_graph.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php index 49e2d41..a52cc86 100755 --- a/usr/local/www/status_rrd_graph.php +++ b/usr/local/www/status_rrd_graph.php @@ -181,7 +181,7 @@ $styles = array('inverse' => 'Inverse', $graphs = array("day", "week", "month", "quarter", "year", "4year"); $periods = array("current" => "Current Period", "previous" => "Previous Period"); -$pgtitle = array("Status","RRD Graphs"); +$pgtitle = array(gettext("Status"),gettext("RRD Graphs")); include("head.inc"); function get_dates($curperiod, $graph) { @@ -283,7 +283,7 @@ function get_dates($curperiod, $graph) { </tr> <tr> <td colspan="2" class="list"> - <?=gettext("Graphs:");?> + <?=gettext("Graphs");?>: <select name="option" class="formselect" style="z-index: -10;" onchange="document.form1.submit()"> <?php @@ -295,7 +295,7 @@ function get_dates($curperiod, $graph) { echo "<option value=\"{$database}\""; $prettyprint = ucwords(str_replace($search, $replace, $database)); if($curoption == $database) { - echo gettext(" selected "); + echo " selected"; } echo ">" . htmlspecialchars($prettyprint) . "</option>\n"; } @@ -327,7 +327,7 @@ function get_dates($curperiod, $graph) { $prettyprint = ucwords(str_replace($search, $replace, $friendly)); } if($curoption == $optionc) { - echo gettext(" selected "); + echo " selected"; } echo ">" . htmlspecialchars($prettyprint) . "</option>\n"; @@ -336,7 +336,7 @@ function get_dates($curperiod, $graph) { ?> </select> - <?=gettext("Style:");?> + <?=gettext("Style");?>: <select name="style" class="formselect" style="z-index: -10;" onchange="document.form1.submit()"> <?php foreach ($styles as $style => $styled) { @@ -350,12 +350,12 @@ function get_dates($curperiod, $graph) { <? if($curcat <> "custom") { ?> - <?=gettext("Period:");?> + <?=gettext("Period");?>: <select name="period" class="formselect" style="z-index: -10;" onchange="document.form1.submit()"> <?php foreach ($periods as $period => $value) { echo "<option value=\"$period\""; - if ($period == $curperiod) echo gettext(" selected"); + if ($period == $curperiod) echo " selected"; echo ">" . htmlspecialchars($value) . "</option>\n"; } } |