[Mapbender-commits] r5434 - trunk/mapbender/http/html

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 26 08:24:26 EST 2010


Author: astrid_emde
Date: 2010-01-26 08:24:25 -0500 (Tue, 26 Jan 2010)
New Revision: 5434

Modified:
   trunk/mapbender/http/html/mod_treefolderPlain.php
Log:
providing _mb() for new functionality change_style

http://www.mapbender.org/TreeGDE2

http://trac.osgeo.org/mapbender/ticket/589

Modified: trunk/mapbender/http/html/mod_treefolderPlain.php
===================================================================
--- trunk/mapbender/http/html/mod_treefolderPlain.php	2010-01-26 11:20:52 UTC (rev 5433)
+++ trunk/mapbender/http/html/mod_treefolderPlain.php	2010-01-26 13:24:25 UTC (rev 5434)
@@ -468,13 +468,13 @@
 	dialogHtml += "</select>";
 	
 	if(my.layer_style.length > 1) {
-		$("<div id='changeStyleDialog' title='Change style'>Please change style: </div>").dialog(
+		$("<div id='changeStyleDialog' title='<?php echo _mb('Change layer style');?>'><?php echo _mb('Please select a style');?>: </div>").dialog(
 			{
 				bgiframe: true,
 				autoOpen: true,
 				modal: false,
 				buttons: {
-					"Close": function(){
+					"<?php echo _mb('Close');?>": function(){
 						$(this).dialog('close').remove();
 					}
 				}
@@ -487,7 +487,7 @@
 		});
 	}
 	else {
-		alert("No style selectable.");
+		alert("<?php echo _mb('There is no different style available for this layer.');?>");
 	}
 	
 }



More information about the Mapbender_commits mailing list