diff --git a/core/apps/ame/src/assets/i18n/en.json b/core/apps/ame/src/assets/i18n/en.json index 2243b3d8..86366f26 100644 --- a/core/apps/ame/src/assets/i18n/en.json +++ b/core/apps/ame/src/assets/i18n/en.json @@ -28,7 +28,7 @@ "ERROR": "SAMM Version upgrade to {{version}} finished, but {{fileCount}} had to be skipped. Please fix {{fileCountMessage}} first (in a text editor, contacting us, or in a previous version of the editor that supports the original SAMM version that has to be temporarily installed). See below:", "SUCCESS": "Migration finished with success", "CLOSE": "Close", - "VERSION": "Migrate Version" + "VERSION": "Increase Version" }, "WORKSPACE_MIGRATION_DIALOG": { "TITLE": "Migrate Workspace to SAMM", diff --git a/core/libs/rdf/src/lib/services/rdf.service.ts b/core/libs/rdf/src/lib/services/rdf.service.ts index ac389fff..b67e6492 100644 --- a/core/libs/rdf/src/lib/services/rdf.service.ts +++ b/core/libs/rdf/src/lib/services/rdf.service.ts @@ -53,7 +53,7 @@ export class RdfService { window['angular.rdfService'] = this; } - this._rdfSerializer = new RdfSerializerService(translation); + this._rdfSerializer = new RdfSerializerService(this.translation); this._settings = this.configurationService.getSettings(); } @@ -170,7 +170,8 @@ export class RdfService { const path = window.require('path'); fileName = fileName.includes(path.sep) ? `${urn.replace('#', ':')}${path.basename(fileName)}` : fileName; } - return fileName; + + return fileName.charAt(0) === '/' ? fileName.substring(1) : fileName; } parseModels(fileContentModels: FileContentModel[]): Observable {