Code

Opened 6 years ago

Closed 6 years ago

#6248 closed (fixed)

Letter ð ASCII equivalent is d, not o

Reported by: jokull@… Owned by: nobody
Component: contrib.admin Version: master
Severity: Keywords: javascript internationalization
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

This is visible in the capital Ð form. Lowercase is a curved Roman d with a line through the top.
More information on Wikipedia: http://en.wikipedia.org/wiki/Ð

One line diff

Index: django/contrib/admin/media/js/urlify.js
===================================================================
--- django/contrib/admin/media/js/urlify.js     (revision 6962)
+++ django/contrib/admin/media/js/urlify.js     (working copy)
@@ -5,7 +5,7 @@
     'O', 'Ő': 'O', 'Ø': 'O', 'Ù': 'U', 'Ú': 'U', 'Û': 'U', 'Ü': 'U', 'Ű': 'U',
     'Ý': 'Y', 'Þ': 'TH', 'ß': 'ss', 'à':'a', 'á':'a', 'â': 'a', 'ã': 'a', 'ä':
     'a', 'å': 'a', 'æ': 'ae', 'ç': 'c', 'è': 'e', 'é': 'e', 'ê': 'e', 'ë': 'e',
-    'ì': 'i', 'í': 'i', 'î': 'i', 'ï': 'i', 'ð': 'o', 'ñ': 'n', 'ò': 'o', 'ó':
+    'ì': 'i', 'í': 'i', 'î': 'i', 'ï': 'i', 'ð': 'd', 'ñ': 'n', 'ò': 'o', 'ó':
     'o', 'ô': 'o', 'õ': 'o', 'ö': 'o', 'ő': 'o', 'ø': 'o', 'ù': 'u', 'ú': 'u',
     'û': 'u', 'ü': 'u', 'ű': 'u', 'ý': 'y', 'þ': 'th', 'ÿ': 'y'
 }

Attachments (1)

6248.diff (850 bytes) - added by arien 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by arien

comment:1 Changed 6 years ago by arien

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

Attached patch as submitted by reporter and moving to "Ready for checkin". (Uppercase Eth is already mapped to uppercase D.)

comment:2 Changed 6 years ago by mtredinnick

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

(In [6999]) Fixed #6248 -- Fixed typo in urlify.js. Pointed out by arien.

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.