Fixed #5678 -- Added Polish transliteration to urlify.js. Thanks,
regexbot@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
3ea87fb9c0
commit
dc9def7859
5
AUTHORS
5
AUTHORS
|
@ -49,7 +49,8 @@ answer newbie questions, and generally made Django that much better:
|
||||||
andy@jadedplanet.net
|
andy@jadedplanet.net
|
||||||
Fabrice Aneche <akh@nobugware.com>
|
Fabrice Aneche <akh@nobugware.com>
|
||||||
ant9000@netwise.it
|
ant9000@netwise.it
|
||||||
Florian Apolloner
|
Florian Apolloner
|
||||||
|
arien <regexbot@gmail.com>
|
||||||
David Ascher <http://ascher.ca/>
|
David Ascher <http://ascher.ca/>
|
||||||
david@kazserve.org
|
david@kazserve.org
|
||||||
Arthur <avandorp@gmail.com>
|
Arthur <avandorp@gmail.com>
|
||||||
|
@ -262,7 +263,7 @@ answer newbie questions, and generally made Django that much better:
|
||||||
Brian Rosner <brosner@gmail.com>
|
Brian Rosner <brosner@gmail.com>
|
||||||
Oliver Rutherfurd <http://rutherfurd.net/>
|
Oliver Rutherfurd <http://rutherfurd.net/>
|
||||||
ryankanno
|
ryankanno
|
||||||
Manuel Saelices <msaelices@yaco.es>
|
Manuel Saelices <msaelices@yaco.es>
|
||||||
Ivan Sagalaev (Maniac) <http://www.softwaremaniacs.org/>
|
Ivan Sagalaev (Maniac) <http://www.softwaremaniacs.org/>
|
||||||
Vinay Sajip <vinay_sajip@yahoo.co.uk>
|
Vinay Sajip <vinay_sajip@yahoo.co.uk>
|
||||||
David Schein
|
David Schein
|
||||||
|
|
|
@ -48,6 +48,12 @@ var CZECH_MAP = {
|
||||||
'ž':'z'
|
'ž':'z'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var POLISH_MAP = {
|
||||||
|
'ą':'a', 'ć':'c', 'ę':'e', 'ł':'l', 'ń':'n', 'ó':'o', 'ś':'s', 'ź':'z',
|
||||||
|
'ż':'z', 'Ą':'A', 'Ć':'C', 'Ę':'e', 'Ł':'L', 'Ń':'N', 'Ó':'o', 'Ś':'S',
|
||||||
|
'Ź':'Z', 'Ż':'Z'
|
||||||
|
}
|
||||||
|
|
||||||
var ALL_DOWNCODE_MAPS=new Array()
|
var ALL_DOWNCODE_MAPS=new Array()
|
||||||
ALL_DOWNCODE_MAPS[0]=LATIN_MAP
|
ALL_DOWNCODE_MAPS[0]=LATIN_MAP
|
||||||
ALL_DOWNCODE_MAPS[1]=LATIN_SYMBOLS_MAP
|
ALL_DOWNCODE_MAPS[1]=LATIN_SYMBOLS_MAP
|
||||||
|
@ -56,6 +62,7 @@ ALL_DOWNCODE_MAPS[3]=TURKISH_MAP
|
||||||
ALL_DOWNCODE_MAPS[4]=RUSSIAN_MAP
|
ALL_DOWNCODE_MAPS[4]=RUSSIAN_MAP
|
||||||
ALL_DOWNCODE_MAPS[5]=UKRAINIAN_MAP
|
ALL_DOWNCODE_MAPS[5]=UKRAINIAN_MAP
|
||||||
ALL_DOWNCODE_MAPS[6]=CZECH_MAP
|
ALL_DOWNCODE_MAPS[6]=CZECH_MAP
|
||||||
|
ALL_DOWNCODE_MAPS[7]=POLISH_MAP
|
||||||
|
|
||||||
var Downcoder = new Object();
|
var Downcoder = new Object();
|
||||||
Downcoder.Initialize = function()
|
Downcoder.Initialize = function()
|
||||||
|
|
Loading…
Reference in New Issue