[Mapbender-commits] r4727 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sat Sep 26 12:02:02 EDT 2009
Author: astrid_emde
Date: 2009-09-26 12:02:02 -0400 (Sat, 26 Sep 2009)
New Revision: 4727
Modified:
trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php
Log:
translations added
Modified: trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php 2009-09-26 16:01:21 UTC (rev 4726)
+++ trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php 2009-09-26 16:02:02 UTC (rev 4727)
@@ -408,7 +408,7 @@
//imgNode.src = "../img/button_digitize/geomInfo.png";
imgNode.src = "../img/tree_new/info.png";
imgNode.border = 0;
- imgNode.title = "show metadata";
+ imgNode.title = '<?php echo _mb("show metadata");?>';
bulbNode.appendChild(imgNode);
bulbNode.href = "javascript:openwindow('../php/mod_featuretypeMetadata.php?wfs_conf_id=" + global_selectedWfsConfId.toString() + "');";
bulbNode.style.visibility = "visible";
@@ -417,7 +417,7 @@
var wfsRemoveNode = document.createElement("img");
wfsRemoveNode.name = "wfsRemove";
wfsRemoveNode.id = "wfsRemove";
- wfsRemoveNode.title = "remove WFS Conf";
+ wfsRemoveNode.title ='<?php echo _mb("remove WFS Conf");?>';
bodyNode.appendChild(wfsRemoveNode);
//wfsRemoveNode.src = "../img/button_digitize/geomRemove.png";
wfsRemoveNode.src = "../img/tree_new/delete_wms.png";
@@ -452,15 +452,15 @@
if (wfsGeomType.match(/Point/)) {
wfsGeomTypeNode.src = "../img/button_digitize/point.png";
wfsGeomTypeNode.style.visibility = 'visible';
- wfsGeomTypeNode.title = 'Point';
+ wfsGeomTypeNode.title = '<?php echo _mb("Point");?>';
}
else if (wfsGeomType.match(/Line/)) {
wfsGeomTypeNode.src = "../img/button_digitize/line.png";
- wfsGeomTypeNode.title = 'Line';
+ wfsGeomTypeNode.title = '<?php echo _mb("Line");?>';
}
else if (wfsGeomType.match(/Polygon/)) {
wfsGeomTypeNode.src = "../img/button_digitize/polygon.png";
- wfsGeomTypeNode.title = 'Polygon';
+ wfsGeomTypeNode.title = '<?php echo _mb("Polygon");?>';
}
else {
var e = new parent.Mb_exception("WFS gazetteer: geometry type unknown.");
More information about the Mapbender_commits
mailing list