[Mapbender-commits] r7578 - in trunk/mapbender: http/php
resources/locale/de_DE/LC_MESSAGES
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sat Feb 12 08:59:18 EST 2011
Author: armin11
Date: 2011-02-12 05:59:18 -0800 (Sat, 12 Feb 2011)
New Revision: 7578
Modified:
trunk/mapbender/http/php/mod_monitorCapabilities_read_single.php
trunk/mapbender/http/php/mod_subscribersServiceList.php
trunk/mapbender/resources/locale/de_DE/LC_MESSAGES/Mapbender.po
Log:
some i18 for monitor module
Modified: trunk/mapbender/http/php/mod_monitorCapabilities_read_single.php
===================================================================
--- trunk/mapbender/http/php/mod_monitorCapabilities_read_single.php 2011-02-12 13:32:58 UTC (rev 7577)
+++ trunk/mapbender/http/php/mod_monitorCapabilities_read_single.php 2011-02-12 13:59:18 UTC (rev 7578)
@@ -76,15 +76,15 @@
}
-$str = "<span style='font-size:30'>monitoring results</span><hr><br>\n";
+$str = "<span style='font-size:30'>"._mb("Monitoring results")."</span><hr><br>\n";//Monitoring Ergebnisse
$str .= "<b>" . $wms_id . "</b><br>" . $admin->getWmsTitleByWmsId($wms_id) . "<br><br><br>\n";
$str .= "<table cellpadding=10 cellspacing=0 border=0>";
-$str .= "<tr bgcolor='#dddddd'><th align='left'>date</th><th align='left' colspan = 2>status</th><th align='center'>response time</th></tr>";
+$str .= "<tr bgcolor='#dddddd'><th align='left'>date</th><th align='left' colspan = 2>"._mb("Status")."</th><th align='center'>"._mb("Response time")."</th></tr>";//Status Antwortzeit
for ($k=0; $k<count($upload_id); $k++) {
- $img = "stop.bmp";
- if ($status[$k]==0) $img = "wait.bmp";
- elseif ($status[$k]==1) $img = "go.bmp";
+ $img = "stop.png";
+ if ($status[$k]==0) $img = "wait.png";
+ elseif ($status[$k]==1) $img = "go.png";
if (fmod($k, 2) == 1) {
$str .= "\n\t\t<tr bgcolor='#e6e6e6'>";
@@ -103,4 +103,4 @@
echo $str;
?>
-</body></html>
\ No newline at end of file
+</body></html>
Modified: trunk/mapbender/http/php/mod_subscribersServiceList.php
===================================================================
--- trunk/mapbender/http/php/mod_subscribersServiceList.php 2011-02-12 13:32:58 UTC (rev 7577)
+++ trunk/mapbender/http/php/mod_subscribersServiceList.php 2011-02-12 13:59:18 UTC (rev 7578)
@@ -106,7 +106,7 @@
#$str .= "\n\t<input type=submit value='update selected WMS'>\n";
#$str .= "\n\t<input type=button onclick=\"self.location.href='".$_SERVER["SCRIPT_NAME"]."?sortby=".$_GET['sortby']."'\" value='refresh'>\n<br/><br/>\n ";
$str .= "<table cellpadding=10 cellspacing=0 border=0 style='font-family:verdana;font-size:0.8em;'>";
-$str .= "<tr bgcolor='#dddddd'><th align='left'><a href='".$_SERVER["SCRIPT_NAME"]."?sortby=wms'>"._mb("WebMapService")."</a></th>";
+$str .= "<tr bgcolor='#f0f0f0'><th align='left'><a href='".$_SERVER["SCRIPT_NAME"]."?sortby=wms'>"._mb("WebMapService")."</a></th>";
$str .= "<th align='left' colspan = 2><a href='".$_SERVER["SCRIPT_NAME"]."?sortby=status'>"._mb("Availability of Capabilities")."</a></th>";//Verfügbarkeit Dienstebeschreibung
$str .= "<th align='left'><a href='".$_SERVER["SCRIPT_NAME"]."?sortby=avgresp'>"._mb("Average Response Time for GetCapabilities")."</a></th>";//Durchschnittliche Antwortzeit Beschreibung
$str .= "<th align='left'><a href='".$_SERVER["SCRIPT_NAME"]."?sortby=image'>"._mb("Availability of GetMap")."</a></th>";//Verfügbarkeit Kartenbild
@@ -151,7 +151,7 @@
$str .= "<a href='".$map_url[$k]."' target=_blank><img title='"._mb("Tested GetMap Request")."' border=0 src = '../img/trafficlights/". $img_map. "'></a>";//Getesteter GetMap Aufruf
$str .= "</td>";
- $str .= "\n\t\t\t<td valign='top'><b>" . $percentage[$k] . " %</b> <span style='font-size:12'>(" . $total[$k] . " cycles)</span><br>";
+ $str .= "\n\t\t\t<td valign='top'><b>" . $percentage[$k] . " %</b> <span style='font-size:12'>(" . $total[$k] . " "._mb('cycles').")</span><br>";
$str .= "<table bgcolor='black' border=1 cellspacing=1 cellpadding=0><tr>";
$val = $percentage[$k];
for ($i=0; $i<10; $i++) {
Modified: trunk/mapbender/resources/locale/de_DE/LC_MESSAGES/Mapbender.po
===================================================================
--- trunk/mapbender/resources/locale/de_DE/LC_MESSAGES/Mapbender.po 2011-02-12 13:32:58 UTC (rev 7577)
+++ trunk/mapbender/resources/locale/de_DE/LC_MESSAGES/Mapbender.po 2011-02-12 13:59:18 UTC (rev 7578)
@@ -2277,3 +2277,16 @@
msgid "Service ID"
msgstr "Dienst ID"
+msgid "cycles"
+msgstr "Zyklen"
+
+#:../http/php/mod_monitorCapabilities_read_single.php
+msgid "Monitoring results"
+msgstr "Monitoring Ergebnisse"
+
+msgid "Status"
+msgstr "Status"
+
+msgid "Response time"
+msgstr "Antwortzeit"
+
More information about the Mapbender_commits
mailing list