Added Georgian mapping to contrib/admin/static/admin/js/urlify.js

This commit is contained in:
Lh4cKg 2016-06-29 00:57:35 +04:00 committed by Tim Graham
parent 1a3bf236c0
commit 18571aefe6
1 changed files with 9 additions and 1 deletions

View File

@ -91,6 +91,13 @@
'ç': 'c', 'ə': 'e', 'ğ': 'g', 'ı': 'i', 'ö': 'o', 'ş': 's', 'ü': 'u', 'ç': 'c', 'ə': 'e', 'ğ': 'g', 'ı': 'i', 'ö': 'o', 'ş': 's', 'ü': 'u',
'Ç': 'C', 'Ə': 'E', 'Ğ': 'G', 'İ': 'I', 'Ö': 'O', 'Ş': 'S', 'Ü': 'U' 'Ç': 'C', 'Ə': 'E', 'Ğ': 'G', 'İ': 'I', 'Ö': 'O', 'Ş': 'S', 'Ü': 'U'
}; };
var GEORGIAN_MAP = {
'ა': 'a', 'ბ': 'b', 'გ': 'g', 'დ': 'd', 'ე': 'e', 'ვ': 'v', 'ზ': 'z',
'თ': 't', 'ი': 'i', 'კ': 'k', 'ლ': 'l', 'მ': 'm', 'ნ': 'n', 'ო': 'o',
'პ': 'p', 'ჟ': 'j', 'რ': 'r', 'ს': 's', 'ტ': 't', 'უ': 'u', 'ფ': 'f',
'ქ': 'q', 'ღ': 'g', '': 'y', 'შ': 'sh', 'ჩ': 'ch', 'ც': 'c', 'ძ': 'dz',
'წ': 'w', 'ჭ': 'ch', 'ხ': 'x', 'ჯ': 'j', 'ჰ': 'h'
};
var ALL_DOWNCODE_MAPS = [ var ALL_DOWNCODE_MAPS = [
LATIN_MAP, LATIN_MAP,
@ -106,7 +113,8 @@
ARABIC_MAP, ARABIC_MAP,
LITHUANIAN_MAP, LITHUANIAN_MAP,
SERBIAN_MAP, SERBIAN_MAP,
AZERBAIJANI_MAP AZERBAIJANI_MAP,
GEORGIAN_MAP
]; ];
var Downcoder = { var Downcoder = {