Ticket #5326: ukrainian_map2.diff
File ukrainian_map2.diff, 944 bytes (added by , 17 years ago) |
---|
-
urlify.js
40 40 'Ч':'Ch', 'Ш':'Sh', 'Щ':'Sh', 'Ъ':'', 'Ы':'Y', 'Ь':'', 'Э':'E', 'Ю':'Yu', 41 41 'Я':'Ya' 42 42 } 43 var UKRAINIAN_MAP = { 44 'Є':'Ye', 'І':'I', 'Ї':'Yi', 'Ґ':'G', 'є':'ye', 'і':'i', 'ї':'yi', 'ґ':'g' 45 } 43 46 var CZECH_MAP = { 44 47 'č':'c', 'ď':'d', 'ě':'e', 'ň': 'n', 'ř':'r', 'š':'s', 'ť':'t', 'ů':'u', 45 48 'ž':'z' … … 51 54 ALL_DOWNCODE_MAPS[2]=GREEK_MAP 52 55 ALL_DOWNCODE_MAPS[3]=TURKISH_MAP 53 56 ALL_DOWNCODE_MAPS[4]=RUSSIAN_MAP 54 ALL_DOWNCODE_MAPS[5]=CZECH_MAP 57 ALL_DOWNCODE_MAPS[5]=UKRAINIAN_MAP 58 ALL_DOWNCODE_MAPS[6]=CZECH_MAP 55 59 56 60 var Downcoder = new Object(); 57 61 Downcoder.Initialize = function() … … 118 122 s = s.toLowerCase(); // convert to lowercase 119 123 return s.substring(0, num_chars);// trim to first num_chars chars 120 124 } 121