Ticket #11035: urlify.diff
File urlify.diff, 1.2 KB (added by , 14 years ago) |
---|
-
django/contrib/admin/media/js/urlify.js
43 43 var UKRAINIAN_MAP = { 44 44 'Є':'Ye', 'І':'I', 'Ї':'Yi', 'Ґ':'G', 'є':'ye', 'і':'i', 'ї':'yi', 'ґ':'g' 45 45 } 46 var SERBIAN_MAP = { 47 'ђ': 'dj', 'ј' : 'j', 'љ' : 'lj', 'њ' : 'nj', 'ћ': 'c', 'џ': 'dz', 48 'đ' : 'dj', 49 'Ђ' : 'Dj', 'Ј' : 'j', 'Љ' : 'Lj', 'Њ' : 'Nj', 'Ћ' : 'C', 'Џ' : 'Dz', 50 'Đ' : 'Dj', 51 } 46 52 var CZECH_MAP = { 47 53 'č':'c', 'ď':'d', 'ě':'e', 'ň': 'n', 'ř':'r', 'š':'s', 'ť':'t', 'ů':'u', 48 54 'ž':'z', 'Č':'C', 'Ď':'D', 'Ě':'E', 'Ň': 'N', 'Ř':'R', 'Š':'S', 'Ť':'T', … … 68 74 ALL_DOWNCODE_MAPS[3]=TURKISH_MAP 69 75 ALL_DOWNCODE_MAPS[4]=RUSSIAN_MAP 70 76 ALL_DOWNCODE_MAPS[5]=UKRAINIAN_MAP 71 ALL_DOWNCODE_MAPS[6]=CZECH_MAP 72 ALL_DOWNCODE_MAPS[7]=POLISH_MAP 73 ALL_DOWNCODE_MAPS[8]=LATVIAN_MAP 77 ALL_DOWNCODE_MAPS[6]=SERBIAN_MAP 78 ALL_DOWNCODE_MAPS[7]=CZECH_MAP 79 ALL_DOWNCODE_MAPS[8]=POLISH_MAP 80 ALL_DOWNCODE_MAPS[9]=LATVIAN_MAP 74 81 75 82 var Downcoder = new Object(); 76 83 Downcoder.Initialize = function()