Skip to content

Commit

Permalink
[Fixes] Add Icelandic language in fixtures; add icelandic characters …
Browse files Browse the repository at this point in the history
…to collation_chart
  • Loading branch information
dianaboiangiu committed Apr 28, 2017
1 parent 53a74d5 commit bdaeb37
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
34 changes: 34 additions & 0 deletions gemet/thesaurus/collation_charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -1189,6 +1189,40 @@
(u"\u10EF", ),
(u"\u10F0", ),
],
'is': [
(u'a', u'A'),
(u'á', u'Á'),
(u'b', u'B'),
(u'd', u'D'),
(u'ð', u'Ð'),
(u'e', u'E'),
(u'é', u'É'),
(u'f', u'F'),
(u'g', u'G'),
(u'h', u'H'),
(u'i', u'I'),
(u'í', u'Í'),
(u'j', u'J'),
(u'k', u'K'),
(u'l', u'L'),
(u'm', u'M'),
(u'n', u'N'),
(u'o', u'O'),
(u'ó', u'Ó'),
(u'p', u'P'),
(u'r', u'R'),
(u's', u'S'),
(u't', u'T'),
(u'u', u'U'),
(u'ú', u'Ú'),
(u'v', u'V'),
(u'x', u'X'),
(u'y', u'Y'),
(u'ý', u'Ý'),
(u'þ', u'Þ'),
(u'æ', u'Æ'),
(u'ö', u'Ö'),
],
}

if __name__ == '__main__':
Expand Down
10 changes: 10 additions & 0 deletions gemet/thesaurus/fixtures/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,16 @@
"code_alt": "ITA"
}
},
{
"pk": "is",
"model": "thesaurus.language",
"fields": {
"direction": "0",
"charset": "utf8_general_ci",
"name": "Icelandic",
"code_alt": "ICE"
}
},
{
"pk": "lt",
"model": "thesaurus.language",
Expand Down

0 comments on commit bdaeb37

Please sign in to comment.