[OpenLayers-Trac] Re: [OpenLayers] #3364: Scale Not Displaying Properly In Single File OpenLayers.js

OpenLayers trac-20090302 at openlayers.org
Fri Jun 24 16:12:13 EDT 2011


#3364: Scale Not Displaying Properly In Single File OpenLayers.js
----------------------------+-----------------------------------------------
  Reporter:  mwootendev     |       Owner:              
      Type:  bug            |      Status:  closed      
  Priority:  major          |   Milestone:  2.11 Release
 Component:  Control.Scale  |     Version:  2.11 RC1    
Resolution:  fixed          |    Keywords:  scale       
     State:  Commit         |  
----------------------------+-----------------------------------------------
Changes (by tschaub):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [12127]) Making it so dictionary keys are the English values for
 strings displayed in the UI.

 By making dictionary keys be sensible strings, we make it so the i18n
 function returns something legible when there are no dictionaries included
 in a build.  This means that strings from the Graticule, Permalink,
 LayerSwitcher, and Scale controls will be displayed in English without
 having to include the English dictionary (as is the case in our full
 build).

 Note that if you use the OpenLayers.i18n method in your applications, five
 of the dictionary keys have changed.  Use the following replacements:

  * "permalink" -> "Permalink"
  * "overlays" -> "Overlays"
  * "baseLayer" -> "Base Layer"
  * "scale" -> "Scale = 1 : ${scaleDenom}"
  * "graticule" -> "Graticule"

 r=ahocevar (closes #3364)

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3364#comment:6>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list