Ticket #5678: urlify-pl.js.2.diff
File urlify-pl.js.2.diff, 918 bytes (added by , 17 years ago) |
---|
-
django/contrib/admin/media/js/urlify.js
48 48 'ž':'z' 49 49 } 50 50 51 var 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 51 57 var ALL_DOWNCODE_MAPS=new Array() 52 58 ALL_DOWNCODE_MAPS[0]=LATIN_MAP 53 59 ALL_DOWNCODE_MAPS[1]=LATIN_SYMBOLS_MAP … … 56 62 ALL_DOWNCODE_MAPS[4]=RUSSIAN_MAP 57 63 ALL_DOWNCODE_MAPS[5]=UKRAINIAN_MAP 58 64 ALL_DOWNCODE_MAPS[6]=CZECH_MAP 65 ALL_DOWNCODE_MAPS[7]=POLISH_MAP 59 66 60 67 var Downcoder = new Object(); 61 68 Downcoder.Initialize = function() … … 123 130 return s.substring(0, num_chars);// trim to first num_chars chars 124 131 } 125 132 133