[Mapbender-commits] r7325 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Dec 17 05:24:14 EST 2010


Author: christoph
Date: 2010-12-17 02:24:14 -0800 (Fri, 17 Dec 2010)
New Revision: 7325

Modified:
   trunk/mapbender/http/plugins/mb_measure_widget.php
Log:
prepared i18n

Modified: trunk/mapbender/http/plugins/mb_measure_widget.php
===================================================================
--- trunk/mapbender/http/plugins/mb_measure_widget.php	2010-12-17 10:23:55 UTC (rev 7324)
+++ trunk/mapbender/http/plugins/mb_measure_widget.php	2010-12-17 10:24:14 UTC (rev 7325)
@@ -48,22 +48,22 @@
 			?></div></div>",
 		informationHtml =
 			"<div><?php
-				echo nl2br(htmlentities("Last point: ", ENT_QUOTES, "UTF-8"));
+				echo nl2br(htmlentities(_mb("Last point: "), ENT_QUOTES, "UTF-8"));
 			?><span class='mb-measure-clicked-point' /></div>" +
 			"<div><?php
-				echo nl2br(htmlentities("Current point: ", ENT_QUOTES, "UTF-8"));
+				echo nl2br(htmlentities(_mb("Current point: "), ENT_QUOTES, "UTF-8"));
 			?><span class='mb-measure-current-point' /></div>" +
 			"<div><?php
-				echo nl2br(htmlentities("Distance (to last point): ", ENT_QUOTES, "UTF-8"));
+				echo nl2br(htmlentities(_mb("Distance (to last point): "), ENT_QUOTES, "UTF-8"));
 			?><span class='mb-measure-distance-last' />  <span class='mb-measure-distance-last-unit' /></div>" +
 			"<div><?php
-				echo nl2br(htmlentities("Distance (total): ", ENT_QUOTES, "UTF-8"));
+				echo nl2br(htmlentities(_mb("Distance (total): "), ENT_QUOTES, "UTF-8"));
 			?><span class='mb-measure-distance-total' /> <span class='mb-measure-distance-total-unit' /></div>" +
 			"<div><?php
-				echo nl2br(htmlentities("Perimeter: ", ENT_QUOTES, "UTF-8"));
+				echo nl2br(htmlentities(_mb("Perimeter: "), ENT_QUOTES, "UTF-8"));
 			?><span class='mb-measure-perimeter' /> <span class='mb-measure-perimeter-unit' /></div>" +
 			"<div><?php
-				echo nl2br(htmlentities("Area: ", ENT_QUOTES, "UTF-8"));
+				echo nl2br(htmlentities(_mb("Area: "), ENT_QUOTES, "UTF-8"));
 			?><span class='mb-measure-area' /> <span class='mb-measure-area-unit' /></div>";
 
 	var hideMeasureData = function () {



More information about the Mapbender_commits mailing list