Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit dc9def7859497e0d18f04f3bf43f4a3d55f1b287 1 parent 3ea87fb
Malcolm Tredinnick authored October 20, 2007
5  AUTHORS
@@ -49,7 +49,8 @@ answer newbie questions, and generally made Django that much better:
49 49
     andy@jadedplanet.net
50 50
     Fabrice Aneche <akh@nobugware.com>
51 51
     ant9000@netwise.it
52  
-    Florian Apolloner 
  52
+    Florian Apolloner
  53
+    arien <regexbot@gmail.com>
53 54
     David Ascher <http://ascher.ca/>
54 55
     david@kazserve.org
55 56
     Arthur <avandorp@gmail.com>
@@ -262,7 +263,7 @@ answer newbie questions, and generally made Django that much better:
262 263
     Brian Rosner <brosner@gmail.com>
263 264
     Oliver Rutherfurd <http://rutherfurd.net/>
264 265
     ryankanno
265  
-    Manuel Saelices <msaelices@yaco.es> 
  266
+    Manuel Saelices <msaelices@yaco.es>
266 267
     Ivan Sagalaev (Maniac) <http://www.softwaremaniacs.org/>
267 268
     Vinay Sajip <vinay_sajip@yahoo.co.uk>
268 269
     David Schein
7  django/contrib/admin/media/js/urlify.js
@@ -48,6 +48,12 @@ var CZECH_MAP = {
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,6 +62,7 @@ ALL_DOWNCODE_MAPS[3]=TURKISH_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()

0 notes on commit dc9def7

Please sign in to comment.
Something went wrong with that request. Please try again.