[Commits] r2086 - sandbox/cmoullet/ux/RoutingPanel/ux/widgets

commits at geoext.org commits at geoext.org
Fri Apr 16 14:09:27 CEST 2010


Author: pgiraud
Date: 2010-04-16 14:09:27 +0200 (Fri, 16 Apr 2010)
New Revision: 2086

Modified:
   sandbox/cmoullet/ux/RoutingPanel/ux/widgets/RoutingPanel.js
Log:
added the ability to have geonames search combos emptyText and loadingText translated

Modified: sandbox/cmoullet/ux/RoutingPanel/ux/widgets/RoutingPanel.js
===================================================================
--- sandbox/cmoullet/ux/RoutingPanel/ux/widgets/RoutingPanel.js	2010-04-16 07:20:57 UTC (rev 2085)
+++ sandbox/cmoullet/ux/RoutingPanel/ux/widgets/RoutingPanel.js	2010-04-16 12:09:27 UTC (rev 2086)
@@ -360,6 +360,8 @@
         if (this.geocodingType == 'geonames') {
             this.startLocationCombo = new GeoExt.ux.geonames.GeoNamesSearchCombo({
                 fieldLabel: OpenLayers.i18n('A'),
+                emptyText: OpenLayers.i18n('Search location in Geonames'),
+                loadingText: OpenLayers.i18n('Search in Geonames...'),
                 map: this.map,
                 zoom: 13
             });
@@ -375,6 +377,8 @@
 
             this.endLocationCombo = new GeoExt.ux.geonames.GeoNamesSearchCombo({
                 fieldLabel: OpenLayers.i18n('B'),
+                emptyText: OpenLayers.i18n('Search location in Geonames'),
+                loadingText: OpenLayers.i18n('Search in Geonames...'),
                 map: this.map,
                 zoom: 13
             });
@@ -841,4 +845,4 @@
 });
 
 /** api: xtype = gxux_routingpanel */
-Ext.reg('gxux_routingpanel', GeoExt.ux.RoutingPanel);
\ No newline at end of file
+Ext.reg('gxux_routingpanel', GeoExt.ux.RoutingPanel);



More information about the Commits mailing list