diff --git a/frontend/js/orthography.js b/frontend/js/orthography.js index fa611b0b2..ed26e7ab6 100644 --- a/frontend/js/orthography.js +++ b/frontend/js/orthography.js @@ -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({ diff --git a/src/crkeng/app/integration_tests/test_relabel_with_orthography.py b/src/crkeng/app/integration_tests/test_relabel_with_orthography.py index 794cefb97..27096da50 100644 --- a/src/crkeng/app/integration_tests/test_relabel_with_orthography.py +++ b/src/crkeng/app/integration_tests/test_relabel_with_orthography.py @@ -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 diff --git a/src/crkeng/site/settings.py b/src/crkeng/site/settings.py index 9562baef0..f8f36e7b0 100644 --- a/src/crkeng/site/settings.py +++ b/src/crkeng/site/settings.py @@ -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", }, }, } diff --git a/src/cwdeng/site/settings.py b/src/cwdeng/site/settings.py index 77163bd1a..450ce5244 100644 --- a/src/cwdeng/site/settings.py +++ b/src/cwdeng/site/settings.py @@ -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"}, }, diff --git a/src/CreeDictionary/CreeDictionary/orthography.py b/src/morphodict/orthography/utils.py similarity index 100% rename from src/CreeDictionary/CreeDictionary/orthography.py rename to src/morphodict/orthography/utils.py