Opened 17 years ago

Closed 17 years ago

#5678 closed (fixed)

JS: Urlify - add Polish support

Reported by: Łukasz Anwajler Owned by: nobody
Component: Translations Version: dev
Severity: Keywords: urlify polish map
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

file: django/contrib/admin/media/js/urlify.js

what to add:

var POLISH_MAP = {

'ą':'a', 'ć':'c', 'ń':'n', 'ż': 'z', 'ź':'z', 'ś':'s', 'ł':'l', 'ó':'o',
'ę':'e', 'Ą':'A', 'Ż':'Z', 'Ź':'Z', 'Ć':'C', 'Ń':'N', 'Ł':'L', 'Ś':'S', 'Ę':'e',
'Ó':'o'

}

and

ALL_DOWNCODE_MAPS[7]=POLISH_MAP

Attachments (3)

urlify-pl.js.diff (799 bytes ) - added by arien <regexbot@…> 17 years ago.
patch based on description
urlify-pl.js.2.diff (918 bytes ) - added by arien <regexbot@…> 17 years ago.
patch from trunk directory
urlify-pl.js.3.diff (820 bytes ) - added by arien <regexbot@…> 17 years ago.
corrected patch from trunk directory

Download all attachments as: .zip

Change History (6)

by arien <regexbot@…>, 17 years ago

Attachment: urlify-pl.js.diff added

patch based on description

comment:1 by arien <regexbot@…>, 17 years ago

Has patch: set

Added a patch based on the description with letters in alphabetic order according to http://en.wikipedia.org/wiki/Polish_alphabet

by arien <regexbot@…>, 17 years ago

Attachment: urlify-pl.js.2.diff added

patch from trunk directory

by arien <regexbot@…>, 17 years ago

Attachment: urlify-pl.js.3.diff added

corrected patch from trunk directory

comment:2 by arien <regexbot@…>, 17 years ago

urlify-pl.js.2.diff corrected the first patch in that it was from the trunk directory.

urlify-pl.js.3.diff removes an unintended whitespace change in the second patch.

Sorry about the noise.

comment:3 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

(In [6541]) Fixed #5678 -- Added Polish transliteration to urlify.js. Thanks,
regexbot@….

Note: See TracTickets for help on using tickets.
Back to Top