Skip to content

Commit

Permalink
Moving CreeDictionary.CreeDictionary.orthography elements to morphodi…
Browse files Browse the repository at this point in the history
…ct.orthography
  • Loading branch information
fbanados committed Oct 21, 2024
1 parent 725ab73 commit 812b382
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion frontend/js/orthography.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function updateCookies(orth) {
throw new Error("djangoCSRFToken is unset!");
}

let changeOrthURL = window.Urls["morphodict:change-orthography"]();
let changeOrthURL = window.Urls["morphodict.orthography:change-orthography"]();
fetch(changeOrthURL, {
method: "POST",
body: new URLSearchParams({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from django.http import HttpRequest
from django.template import RequestContext, Template

from CreeDictionary.CreeDictionary.orthography import to_macrons, to_syllabics
from morphodict.orthography.utils import to_macrons, to_syllabics
from morphodict.paradigm.panes import RowLabel
from morphodict.orthography import ORTHOGRAPHY
from pytest_django.asserts import assertInHTML
Expand Down
8 changes: 4 additions & 4 deletions src/crkeng/site/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,20 @@
# 'Latn' is Okimāsis/Wolvegrey's SRO
"Latn-y": {
"name": "SRO (êîôâ) with y",
"converter": "CreeDictionary.CreeDictionary.orthography.to_y",
"converter": "morphodict.orthography.utils.to_y",
},
"Latn": {"name": "SRO (êîôâ) with ý"},
"Latn-x-macron-y": {
"name": "SRO (ēīōā) with y",
"converter": "CreeDictionary.CreeDictionary.orthography.to_macrons_with_y",
"converter": "morphodict.orthography.utils.to_macrons_with_y",
},
"Latn-x-macron": {
"name": "SRO (ēīōā) with ý",
"converter": "CreeDictionary.CreeDictionary.orthography.to_macrons",
"converter": "morphodict.orthography.utils.to_macrons",
},
"Cans": {
"name": "Syllabics",
"converter": "CreeDictionary.CreeDictionary.orthography.to_syllabics",
"converter": "morphodict.orthography.utils.to_syllabics",
},
},
}
Expand Down
4 changes: 2 additions & 2 deletions src/cwdeng/site/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@
"available": {
"Latn-x-macron": {
"name": "SRO (ēīōā)",
"converter": "CreeDictionary.CreeDictionary.orthography.to_macrons",
"converter": "morphodict.orthography.utils.to_macrons",
},
"Cans": {
"name": "Syllabics",
"converter": "CreeDictionary.CreeDictionary.orthography.to_syllabics",
"converter": "morphodict.orthography.utils.to_syllabics",
},
"CMRO": {"name": "CMRO", "converter": "cwdeng.app.orthography.to_cmro"},
},
Expand Down
File renamed without changes.

0 comments on commit 812b382

Please sign in to comment.