Fixed #25117 -- Added Romanian char map for Javascript slug generation
This commit is contained in:
parent
76ac07a909
commit
97bc875234
|
@ -28,6 +28,10 @@ var TURKISH_MAP = {
|
||||||
'ş':'s', 'Ş':'S', 'ı':'i', 'İ':'I', 'ç':'c', 'Ç':'C', 'ü':'u', 'Ü':'U',
|
'ş':'s', 'Ş':'S', 'ı':'i', 'İ':'I', 'ç':'c', 'Ç':'C', 'ü':'u', 'Ü':'U',
|
||||||
'ö':'o', 'Ö':'O', 'ğ':'g', 'Ğ':'G'
|
'ö':'o', 'Ö':'O', 'ğ':'g', 'Ğ':'G'
|
||||||
};
|
};
|
||||||
|
var ROMANIAN_MAP = {
|
||||||
|
'ă':'a', 'î':'i', 'ș':'s', 'ț':'t', 'â':'a',
|
||||||
|
'Ă':'A', 'Î':'I', 'Ș':'S', 'Ț':'T', 'Â':'A'
|
||||||
|
};
|
||||||
var RUSSIAN_MAP = {
|
var RUSSIAN_MAP = {
|
||||||
'а':'a', 'б':'b', 'в':'v', 'г':'g', 'д':'d', 'е':'e', 'ё':'yo', 'ж':'zh',
|
'а':'a', 'б':'b', 'в':'v', 'г':'g', 'д':'d', 'е':'e', 'ё':'yo', 'ж':'zh',
|
||||||
'з':'z', 'и':'i', 'й':'j', 'к':'k', 'л':'l', 'м':'m', 'н':'n', 'о':'o',
|
'з':'z', 'и':'i', 'й':'j', 'к':'k', 'л':'l', 'м':'m', 'н':'n', 'о':'o',
|
||||||
|
@ -84,6 +88,7 @@ var ALL_DOWNCODE_MAPS = [
|
||||||
LATIN_SYMBOLS_MAP,
|
LATIN_SYMBOLS_MAP,
|
||||||
GREEK_MAP,
|
GREEK_MAP,
|
||||||
TURKISH_MAP,
|
TURKISH_MAP,
|
||||||
|
ROMANIAN_MAP,
|
||||||
RUSSIAN_MAP,
|
RUSSIAN_MAP,
|
||||||
UKRAINIAN_MAP,
|
UKRAINIAN_MAP,
|
||||||
CZECH_MAP,
|
CZECH_MAP,
|
||||||
|
|
|
@ -151,6 +151,8 @@ Minor features
|
||||||
* The time picker widget includes a '6 p.m' option for consistency of having
|
* The time picker widget includes a '6 p.m' option for consistency of having
|
||||||
predefined options every 6 hours.
|
predefined options every 6 hours.
|
||||||
|
|
||||||
|
* JavaScript slug generation now supports Romanian characters.
|
||||||
|
|
||||||
:mod:`django.contrib.auth`
|
:mod:`django.contrib.auth`
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue