[fusion-commits] r1647 - in trunk: text/en text/fr widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Thu Nov 6 16:53:25 EST 2008
Author: madair
Date: 2008-11-06 16:53:24 -0500 (Thu, 06 Nov 2008)
New Revision: 1647
Modified:
trunk/text/en/strings.json
trunk/text/fr/strings.json
trunk/widgets/Print.js
Log:
closes #154: added keys to the strings.json file for print widget
Modified: trunk/text/en/strings.json
===================================================================
--- trunk/text/en/strings.json 2008-11-06 21:49:52 UTC (rev 1646)
+++ trunk/text/en/strings.json 2008-11-06 21:53:24 UTC (rev 1647)
@@ -46,6 +46,8 @@
'panNorth': 'Pan North',
'zoomOut': 'Zoom Out',
'zoomIn': 'Zoom In',
+'printCancel': 'Cancel',
+'printGenerate': 'Generate',
'end': ''
};
Modified: trunk/text/fr/strings.json
===================================================================
--- trunk/text/fr/strings.json 2008-11-06 21:49:52 UTC (rev 1646)
+++ trunk/text/fr/strings.json 2008-11-06 21:53:24 UTC (rev 1647)
@@ -46,6 +46,8 @@
'panNorth': 'Nord',
'zoomOut': 'Cliquer pour réduire',
'zoomIn': 'Cliquer pour agrandir',
+'printCancel': 'Cancel',
+'printGenerate': 'Generate',
'end': ''
};
Modified: trunk/widgets/Print.js
===================================================================
--- trunk/widgets/Print.js 2008-11-06 21:49:52 UTC (rev 1646)
+++ trunk/widgets/Print.js 2008-11-06 21:53:24 UTC (rev 1647)
@@ -93,11 +93,11 @@
var d = new Jx.Dialog(o);
toolbar.add(
new Jx.Button({
- label: 'Generate',
+ label: OpenLayers.i18n('printGenerate'),
onClick: OpenLayers.Function.bind(this.generate, this)
}),
new Jx.Button({
- label: 'Cancel',
+ label: OpenLayers.i18n('printCancel'),
onClick: function() {
d.close();
}
More information about the fusion-commits
mailing list