Opened 8 years ago

Closed 8 years ago

#5678 closed (fixed)

JS: Urlify - add Polish support

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

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@…> 8 years ago.
patch based on description
urlify-pl.js.2.diff (918 bytes) - added by arien <regexbot@…> 8 years ago.
patch from trunk directory
urlify-pl.js.3.diff (820 bytes) - added by arien <regexbot@…> 8 years ago.
corrected patch from trunk directory

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by arien <regexbot@…>

patch based on description

comment:1 Changed 8 years ago by arien <regexbot@…>

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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

Changed 8 years ago by arien <regexbot@…>

patch from trunk directory

Changed 8 years ago by arien <regexbot@…>

corrected patch from trunk directory

comment:2 Changed 8 years ago by arien <regexbot@…>

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 Changed 8 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

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

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