Ticket #5678: urlify-pl.js.2.diff

File urlify-pl.js.2.diff, 918 bytes (added by arien <regexbot@…>, 17 years ago)

patch from trunk directory

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

     
    4848    'ž':'z'
    4949}
    5050
     51var POLISH_MAP = {
     52    'ą':'a', 'ć':'c', 'ę':'e', 'ł':'l', 'ń':'n', 'ó':'o', 'ś':'s', 'ź':'z',
     53    'ż':'z', 'Ą':'A', 'Ć':'C', 'Ę':'e', 'Ł':'L', 'Ń':'N', 'Ó':'o', 'Ś':'S',
     54    'Ź':'Z', 'Ż':'Z'
     55}
     56
    5157var ALL_DOWNCODE_MAPS=new Array()
    5258ALL_DOWNCODE_MAPS[0]=LATIN_MAP
    5359ALL_DOWNCODE_MAPS[1]=LATIN_SYMBOLS_MAP
     
    5662ALL_DOWNCODE_MAPS[4]=RUSSIAN_MAP
    5763ALL_DOWNCODE_MAPS[5]=UKRAINIAN_MAP
    5864ALL_DOWNCODE_MAPS[6]=CZECH_MAP
     65ALL_DOWNCODE_MAPS[7]=POLISH_MAP
    5966
    6067var Downcoder = new Object();
    6168Downcoder.Initialize = function()
     
    123130    return s.substring(0, num_chars);// trim to first num_chars chars
    124131}
    125132
     133
Back to Top