Commit 06143cb3 authored by Konstantin Schulz's avatar Konstantin Schulz
Browse files

fixed initial corpus check on first software use

parent 14e5fd94
Pipeline #13190 passed with stages
in 2 minutes and 44 seconds
......@@ -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")
......
......@@ -70,7 +70,7 @@
</ion-row>
</ion-grid>
<ng-template #loading>
<ion-spinner></ion-spinner>
<div>{{'AUTHORS_NOT_FOUND' | translate}}</div>
</ng-template>
</ion-col>
</ion-row>
......
......@@ -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();
......
......@@ -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",
......
......@@ -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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment