[fusion-commits] r2029 - in trunk: text widgets

svn_fusion at osgeo.org svn_fusion at osgeo.org
Tue Jan 5 02:28:19 EST 2010


Author: hubu
Date: 2010-01-05 02:28:15 -0500 (Tue, 05 Jan 2010)
New Revision: 2029

Modified:
   trunk/text/en.json
   trunk/widgets/Print.js
Log:
Fix Fusion break in 36.2. This break is caused by fix of ticket #351.

Modified: trunk/text/en.json
===================================================================
--- trunk/text/en.json	2009-12-22 10:06:59 UTC (rev 2028)
+++ trunk/text/en.json	2010-01-05 07:28:15 UTC (rev 2029)
@@ -53,13 +53,11 @@
 'zoomRect': 'Zoom Rectangle',
 'maptipLinkText': 'Click for more information',
 'redlineLayerName': 'Digitizing Layer ',
+'printShowTitle':'Show Title?',
+'printOptions'	:'Options',
+'printTitleText':'Title',
+'printShowLegend':'Show Legend?',
+'printShowNorthArrow':'Show North Arrow?',
 
-#Print UI
-'PRINTSHOWTITLE':'Show Title?'
-'PRINTOPTIONS'	:'Options'
-'PRINTTITLE':'Title'
-'PRINTSHOWLEGEND':'Show Legend?'
-'PRINTSHOWNORTHARROW':'Show North Arrow?'
-
 'end': ''
 };

Modified: trunk/widgets/Print.js
===================================================================
--- trunk/widgets/Print.js	2009-12-22 10:06:59 UTC (rev 2028)
+++ trunk/widgets/Print.js	2010-01-05 07:28:15 UTC (rev 2029)
@@ -84,15 +84,15 @@
                 id: 'printablePage',
                 content : '<div class="PrintDialogForm">' +
                               '<fieldset class="PrintDialogOptions">' +
-                                  '<legend>' + OpenLayers.i18n("PRINTOPTIONS") +'</legend>' +
+                                  '<legend>' + OpenLayers.i18n("printOptions") +'</legend>' +
                                     '<label class="block" for="dialogPrintShowtitle"><input name="dialogPrintShowtitle" id="dialogPrintShowtitle" type="checkbox" value="showtitle" checked>' +
-                                         OpenLayers.i18n("PRINTSHOWTITLE") +'</label>' +
-                                    '<label class="block" for="dialogPrintTitle">' + OpenLayers.i18n("PRINTTITLE") + '</label>' +
+                                         OpenLayers.i18n("printShowTitle") +'</label>' +
+                                    '<label class="block" for="dialogPrintTitle">' + OpenLayers.i18n("printTitleText") + '</label>' +
                                     '<input name="dialogPrintTitle" id="dialogPrintTitle" type="text" class="inputText" />' +
                                     '<label class="block" for="dialogPrintShowlegend"><input name="dialogPrintShowlegend" id="dialogPrintShowlegend" type="checkbox" value="showlegend" checked>' +
-                                         OpenLayers.i18n("PRINTSHOWLEGEND") + '</label>' +
+                                         OpenLayers.i18n("printShowLegend") + '</label>' +
                                     '<label class="block" for="dialogPrintShowNorthArrow"><input name="dialogPrintShowNorthArrow" id="dialogPrintShowNorthArrow" type="checkbox" value="shownortharrow" checked>' +
-                                         OpenLayers.i18n("PRINTSHOWNORTHARROW") + '</label>' +
+                                         OpenLayers.i18n("printShowNorthArrow") + '</label>' +
                               '</fieldset>' +
                             '</div>',
                 width: 350,



More information about the fusion-commits mailing list