Icon made by
Freepik
+
from
www.flaticon.com
is licensed by
CC 3.0 BY
diff --git a/mc_frontend/src/app/sources/sources.page.ts b/mc_frontend/src/app/sources/sources.page.ts
index bdae6e7ccf586b810e5d08ab0d5717b3bece0fd9..a8cf04759d72e7b134e985bd5ece71682cb71272 100644
--- a/mc_frontend/src/app/sources/sources.page.ts
+++ b/mc_frontend/src/app/sources/sources.page.ts
@@ -3,6 +3,7 @@ import {HelperService} from 'src/app/helper.service';
import {NavController} from '@ionic/angular';
import {HttpClient} from '@angular/common/http';
import {TranslateService} from '@ngx-translate/core';
+import configMC from 'src/configMC';
@Component({
selector: 'app-sources',
@@ -12,6 +13,8 @@ import {TranslateService} from '@ngx-translate/core';
export class SourcesPage {
+ public configMC = configMC;
+
constructor(public navCtrl: NavController,
public http: HttpClient,
public translate: TranslateService,
diff --git a/mc_frontend/src/assets/i18n/de.json b/mc_frontend/src/assets/i18n/de.json
index acd20548533d86881d7a8acf3d66ee9459671644..5e0233c6846dfb5c9c78b39859ad0ba55b5ffeff 100644
--- a/mc_frontend/src/assets/i18n/de.json
+++ b/mc_frontend/src/assets/i18n/de.json
@@ -301,6 +301,7 @@
"SORTING_CATEGORY_TYPE_DESCENDING": "Typ (absteigend)",
"SORTING_CATEGORY_VOCABULARY_ASCENDING": "Vokabular (aufsteigend)",
"SORTING_CATEGORY_VOCABULARY_DESCENDING": "Vokabular (absteigend)",
+ "SOURCE_CODE": "Quellcode",
"SOURCES": "Ressourcen",
"START_LEARNING": "Lernmodus",
"START_OF_TEXT": "Anfang der Passage",
diff --git a/mc_frontend/src/assets/i18n/en.json b/mc_frontend/src/assets/i18n/en.json
index 656a5f3a28491333df6751c132f6fecee23b8797..0f49a5312aeb53e880d335a56768eb93d4cb9309 100644
--- a/mc_frontend/src/assets/i18n/en.json
+++ b/mc_frontend/src/assets/i18n/en.json
@@ -301,6 +301,7 @@
"SORTING_CATEGORY_TYPE_DESCENDING": "Type (descending)",
"SORTING_CATEGORY_VOCABULARY_ASCENDING": "Vocabulary (ascending)",
"SORTING_CATEGORY_VOCABULARY_DESCENDING": "Vocabulary (descending)",
+ "SOURCE_CODE": "Source code",
"SOURCES": "Sources",
"START_LEARNING": "Learning mode",
"START_OF_TEXT": "Start of selected text",
diff --git a/mc_frontend/src/configMC.ts b/mc_frontend/src/configMC.ts
index d0e64164f75a6cff81930b4ae9d8f8ba9c036000..d2ffe29ca1cdb012363af7e5b3dad8a07d2dfe7f 100644
--- a/mc_frontend/src/configMC.ts
+++ b/mc_frontend/src/configMC.ts
@@ -24,9 +24,8 @@ export default {
localStorageKeyCorpora: 'mc/corpora',
localStorageKeyH5P: 'mc/h5p',
localStorageKeyUpdateInfo: 'mc/updateInfo_v2',
- machinaCallidaBackendUrl: 'https://scm.cms.hu-berlin.de/callidus/mc_backend',
machinaCallidaConceptUrl: 'https://www.projekte.hu-berlin.de/de/callidus/machina-callida',
- machinaCallidaFrontendUrl: 'https://scm.cms.hu-berlin.de/callidus/mc_frontend',
+ machinaCallidaSourceCodeUrl: 'https://scm.cms.hu-berlin.de/callidus/machina-callida',
maxTextLength: 0,
menuId: 'mc-menu',
pageUrlAuthor: '/author',