[fusion-commits] r1586 - branches/fusion-1.1/lib
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Thu Oct 9 13:13:56 EDT 2008
Author: madair
Date: 2008-10-09 13:13:56 -0400 (Thu, 09 Oct 2008)
New Revision: 1586
Modified:
branches/fusion-1.1/lib/fusion.js
Log:
closes #136: provide an alias to OpenLayers.i18n
Modified: branches/fusion-1.1/lib/fusion.js
===================================================================
--- branches/fusion-1.1/lib/fusion.js 2008-10-09 14:38:20 UTC (rev 1585)
+++ branches/fusion-1.1/lib/fusion.js 2008-10-09 17:13:56 UTC (rev 1586)
@@ -288,6 +288,9 @@
},
initializeLocale: function(locale) {
+ //provide compatibility between OL2.6 and older patched version
+ OpenLayers.String.translate = OpenLayers.i18n;
+
this.locale = locale ? locale : window._FusionLocale;
OpenLayers.Lang.setCode(this.locale);
@@ -1115,3 +1118,4 @@
}
})();
+
More information about the fusion-commits
mailing list