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)
Change History (6)
by , 17 years ago
Attachment: | urlify-pl.js.diff added |
---|
comment:1 by , 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
comment:2 by , 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 , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
patch based on description