Code

Opened 3 years ago

Closed 3 years ago

#16387 closed Bug (fixed)

Localizing Fails

Reported by: konzept@… Owned by: nobody
Component: GIS Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Setting default_lon and default_lat fails on LANGUAGE_CODE = 'de-de' because the JS (https://code.djangoproject.com/browser/django/trunk/django/contrib/gis/templates/gis/admin/openlayers.js) localizes in line #71 and #140 the default values from 1164288.77309 to 1164288,77309

Attachments (1)

16387-1.diff (1.2 KB) - added by claudep 3 years ago.
Disable number localization in openlayers.js

Download all attachments as: .zip

Change History (5)

comment:1 Changed 3 years ago by jezdez

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Uncategorized to Bug

Changed 3 years ago by claudep

Disable number localization in openlayers.js

comment:2 Changed 3 years ago by claudep

  • Has patch set

comment:3 Changed 3 years ago by jezdez

  • Triage Stage changed from Accepted to Ready for checkin

comment:4 Changed 3 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

In [16600]:

Fixed #16387 -- Disabled localization in openlayers template. Thanks, claudep.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.