diff --git a/mc_backend/mcserver/app/assets/latin-ittb-ud-2.0-conll17-170315.udpipe b/mc_backend/mcserver/app/assets/latin-proiel-ud-2.5-191206.udpipe similarity index 59% rename from mc_backend/mcserver/app/assets/latin-ittb-ud-2.0-conll17-170315.udpipe rename to mc_backend/mcserver/app/assets/latin-proiel-ud-2.5-191206.udpipe index 15ac1a4f56c4aa34b1dccb6e6ea934838de637ff..9fc7042520f5e13f67a74dd66cee37799c2c0d02 100644 Binary files a/mc_backend/mcserver/app/assets/latin-ittb-ud-2.0-conll17-170315.udpipe and b/mc_backend/mcserver/app/assets/latin-proiel-ud-2.5-191206.udpipe differ diff --git a/mc_backend/mcserver/config.py b/mc_backend/mcserver/config.py index 0a5267055b295b6c66d957302f893d79d15a56c4..e4e1b0b2c296c3e749c8520ff2ca2638297ad417 100644 --- a/mc_backend/mcserver/config.py +++ b/mc_backend/mcserver/config.py @@ -155,7 +155,7 @@ class Config(object): TESTING = False TRAP_HTTP_EXCEPTIONS = True TREEBANKS_CACHE_DIRECTORY = os.path.join(CACHE_DIRECTORY, "treebanks") - UDPIPE_MODEL_PATH = os.path.join(ASSETS_DIRECTORY, "latin-ittb-ud-2.0-conll17-170315.udpipe") + UDPIPE_MODEL_PATH = os.path.join(ASSETS_DIRECTORY, "latin-proiel-ud-2.5-191206.udpipe") UDPIPE_PATH_LINUX = os.path.join(ASSETS_DIRECTORY, "udpipe_linux64") UDPIPE_PATH_OSX = os.path.join(ASSETS_DIRECTORY, "udpipe_osx") UDPIPE_PATH_WIN64 = os.path.join(ASSETS_DIRECTORY, "udpipe_win64.exe") diff --git a/mc_frontend/src/app/author/author.page.html b/mc_frontend/src/app/author/author.page.html index 7540ad5b3607f83ce691057b5e5184159d782f09..562a6516186841a8cf840a7b49387430c78220df 100644 --- a/mc_frontend/src/app/author/author.page.html +++ b/mc_frontend/src/app/author/author.page.html @@ -70,7 +70,7 @@ - +
{{'AUTHORS_NOT_FOUND' | translate}}
diff --git a/mc_frontend/src/app/corpus.service.ts b/mc_frontend/src/app/corpus.service.ts index 114aaf10686341a9090cc3af99e318605e116799..eef1f516c364676b180de14e6770ae9bb8d9ce34 100644 --- a/mc_frontend/src/app/corpus.service.ts +++ b/mc_frontend/src/app/corpus.service.ts @@ -377,8 +377,8 @@ export class CorpusService { return resolve(); } const ui: UpdateInfo = new UpdateInfo({ - corpora: new Date().getTime(), - exerciseList: new Date().getTime() + corpora: 1, + exerciseList: 1 }); this.storage.set(configMC.localStorageKeyUpdateInfo, JSON.stringify(ui)).then(() => { return resolve(); diff --git a/mc_frontend/src/assets/i18n/de.json b/mc_frontend/src/assets/i18n/de.json index b59552ceb70970466b6935cde2bcdc8c27faad7a..455bcd613e4a471524ca127b7ed2fed2ef3841c6 100644 --- a/mc_frontend/src/assets/i18n/de.json +++ b/mc_frontend/src/assets/i18n/de.json @@ -5,6 +5,7 @@ "AUTHOR_SEARCH": "Autor suchen...", "AUTHOR_SELECT": "Autor auswählen", "AUTHOR_SHOW_ONLY_TREEBANKS": "Nur aufbereitete Texte (Haken entfernen für alle Autoren)", + "AUTHORS_NOT_FOUND": "Keine Autoren gefunden", "BACK": "zurück", "BROWSE": "Durchsuchen...", "BUTTON_CONTINUE": "Nächste Aufgabe", diff --git a/mc_frontend/src/assets/i18n/en.json b/mc_frontend/src/assets/i18n/en.json index 312811e660e9b13bc95911db75d3dc01a0e9c643..925c289cab41e1fff290622d523975b834b4b0c8 100644 --- a/mc_frontend/src/assets/i18n/en.json +++ b/mc_frontend/src/assets/i18n/en.json @@ -5,6 +5,7 @@ "AUTHOR_SEARCH": "Search author...", "AUTHOR_SELECT": "Select author", "AUTHOR_SHOW_ONLY_TREEBANKS": "High-quality texts only (uncheck for all authors)", + "AUTHORS_NOT_FOUND": "No authors found", "BACK": "back", "BROWSE": "Search...", "BUTTON_CONTINUE": "Next exercise",