Ticket #4902: czech_urlify.diff

File czech_urlify.diff, 767 bytes (added by Honza Král <Honza.Kral@…>, 8 years ago)

CZECH_MAP rof urlify.js

  • django/contrib/admin/media/js/urlify.js

     
    4040    'Ч':'Ch', 'Ш':'Sh', 'Щ':'Sh', 'Ъ':'', 'Ы':'Y', 'Ь':'', 'Э':'E', 'Ю':'Yu',
    4141    'Я':'Ya'
    4242}
     43var CZECH_MAP = {
     44    'č':'c', 'ď':'d', 'ě':'e', 'ň': 'n', 'ř':'r', 'š':'s', 'ť':'t', 'ů':'u',
     45    'ž':'z'
     46}
    4347
    4448var ALL_DOWNCODE_MAPS=new Array()
    4549ALL_DOWNCODE_MAPS[0]=LATIN_MAP
     
    4751ALL_DOWNCODE_MAPS[2]=GREEK_MAP
    4852ALL_DOWNCODE_MAPS[3]=TURKISH_MAP
    4953ALL_DOWNCODE_MAPS[4]=RUSSIAN_MAP
     54ALL_DOWNCODE_MAPS[5]=CZECH_MAP
    5055
    5156var Downcoder = new Object();
    5257Downcoder.Initialize = function()
Back to Top