[Commits] r2208 - sandbox/camptocamp/extensions/geoext.ux/ux/FeatureBrowser/lib/GeoExt.ux
commits at geoext.org
commits at geoext.org
Tue May 25 17:45:08 CEST 2010
Author: pgiraud
Date: 2010-05-25 17:45:08 +0200 (Tue, 25 May 2010)
New Revision: 2208
Modified:
sandbox/camptocamp/extensions/geoext.ux/ux/FeatureBrowser/lib/GeoExt.ux/FeatureBrowser.js
Log:
i18n
Modified: sandbox/camptocamp/extensions/geoext.ux/ux/FeatureBrowser/lib/GeoExt.ux/FeatureBrowser.js
===================================================================
--- sandbox/camptocamp/extensions/geoext.ux/ux/FeatureBrowser/lib/GeoExt.ux/FeatureBrowser.js 2010-05-25 15:18:38 UTC (rev 2207)
+++ sandbox/camptocamp/extensions/geoext.ux/ux/FeatureBrowser/lib/GeoExt.ux/FeatureBrowser.js 2010-05-25 15:45:08 UTC (rev 2208)
@@ -21,6 +21,10 @@
*/
GeoExt.ux.FeatureBrowser = Ext.extend(Ext.Panel, {
+ /* begin i18n */
+ /** api: config[featuresText] ``String`` i18n */
+ featuresText: "features",
+
/** api: config[elseTpl]
* ``Ext.Template`` | ``Ext.XTemplate`` Ext.Template or Ext.XTemplate
* to be used for features which don't match any of the tpl keys.
@@ -75,7 +79,7 @@
var bbar = false;
if (nbFeatures > 1) {
bbar = [
- nbFeatures + ' éléments',
+ nbFeatures + ' ' + this.featuresText,
'->',
{
id: 'move-prev' + this.id,
More information about the Commits
mailing list