[Mapbender-commits] r3726 - trunk/mapbender/conf

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sat Mar 14 11:34:39 EDT 2009


Author: astrid_emde
Date: 2009-03-14 11:34:39 -0400 (Sat, 14 Mar 2009)
New Revision: 3726

Modified:
   trunk/mapbender/conf/wfs_additional_spatial_search.conf
Log:
changes for i18n - translations for spatial buttons, messages

Modified: trunk/mapbender/conf/wfs_additional_spatial_search.conf
===================================================================
--- trunk/mapbender/conf/wfs_additional_spatial_search.conf	2009-03-14 15:15:03 UTC (rev 3725)
+++ trunk/mapbender/conf/wfs_additional_spatial_search.conf	2009-03-14 15:34:39 UTC (rev 3726)
@@ -7,17 +7,17 @@
  * [@param {string} filteroption type of filter for search (values: "intersects" or "within"), used for buttons buttonRectangle and buttonPolygon 
  */
  
-var buttonRectangle = {"status":1,"img":"select_rectangle_off.png","title":"select by rectangle","filteroption":"intersects"};
-var buttonPolygon = {"status":1,"img":"select_polygon_off.png","title":"select by polygon","filteroption":"intersects"};
-var buttonPoint = {"status":1, "img":"select_point_off.png","title":"select by point"};
-var buttonExtent = {"status":1,"img":"select_extent_off.png","title":"select by extent"};
+var buttonRectangle = {"status":1,"img":"select_rectangle_off.png","title":"<?php echo _mb("select by rectangle");?>","filteroption":"intersects"};
+var buttonPolygon = {"status":1,"img":"select_polygon_off.png","title":"<?php echo _mb("select by polygon");?>","filteroption":"intersects"};
+var buttonPoint = {"status":1, "img":"select_point_off.png","title":"<?php echo _mb("select by point");?>"};
+var buttonExtent = {"status":1,"img":"select_extent_off.png","title":"<?php echo _mb("select by extent");?>"};
 
 var mb_wfs_tolerance = 8;
 
-var spatialRequestIsSetMessage = "Spatial filter is set.";
-var clearFilterButtonLabel = "New";
+var spatialRequestIsSetMessage = '<?php echo _mb("Spatial filter is set.");?>';
+var clearFilterButtonLabel = '<?php echo _mb("New");?>';
 
-var noResultMsg = "No result";
+var noResultMsg = '<?php _mb("No result");?>';
 
 var buttonWfs_imgdir = "../img/button_gray/";
 var buttonWfs_zIndex = 10;
@@ -28,13 +28,13 @@
 var wfsResultModulePath = "php/";
 var wfsResultModuleFilename = "mod_wfs_result.php";
 
-var searchPopupTitle = "Search results";
+var searchPopupTitle = '<?php echo _mb("Search results");?>';
 var searchPopupWidth = 400;
 var searchPopupHeight =250;
 var searchPopupX = 750; 
 var searchPopupY = 80; 
 
-var detailPopupTitle = "Details";
+var detailPopupTitle = '<?php echo _mb("Details");?>';
 var detailPopupWidth = 400;
 var detailPopupHeight = 200;
 var detailPopupX = 750; 



More information about the Mapbender_commits mailing list