diff --git a/apps/datahub/src/app/dataset/dataset-page/dataset-page.component.html b/apps/datahub/src/app/dataset/dataset-page/dataset-page.component.html index b570976a..420cc0cb 100644 --- a/apps/datahub/src/app/dataset/dataset-page/dataset-page.component.html +++ b/apps/datahub/src/app/dataset/dataset-page/dataset-page.component.html @@ -9,7 +9,7 @@
-
mel.dataset.informations
+
mel.dataset.informations
{{ (facade.metadata$ | async).recordUpdated }}
{{ (facade.metadata$ | async).keywords }}
{{ (facade.metadata$ | async).themes }}
@@ -117,19 +117,17 @@
-} } -
+} } @else { +
+ @if((facade.error$ | async).notFound) { + } @else if((facade.error$ | async).otherError) {}
+} diff --git a/apps/datahub/src/assets/i18n/en_MEL.json b/apps/datahub/src/assets/i18n/en_MEL.json index a3cfe2c3..4d8b6d7f 100644 --- a/apps/datahub/src/assets/i18n/en_MEL.json +++ b/apps/datahub/src/assets/i18n/en_MEL.json @@ -1,5 +1,8 @@ { "mel.common.header.title": "", "mel.datahub.home.title": "", - "mel.datahub.search.title": "" + "mel.datahub.search.title": "", + "record.metadata.api": "", + "record.metadata.api.form.closeButton": "", + "record.metadata.api.form.title": "" } diff --git a/apps/datahub/src/assets/i18n/fr_MEL.json b/apps/datahub/src/assets/i18n/fr_MEL.json index 70dcab6c..f514f731 100644 --- a/apps/datahub/src/assets/i18n/fr_MEL.json +++ b/apps/datahub/src/assets/i18n/fr_MEL.json @@ -1,5 +1,8 @@ { "mel.common.header.title": "Data platform", "mel.datahub.home.title": "Métropole Européenne Lille", - "mel.datahub.search.title": "Catalogue de jeux de données" + "mel.datahub.search.title": "Catalogue de jeux de données", + "record.metadata.api": "", + "record.metadata.api.form.closeButton": "", + "record.metadata.api.form.title": "" } diff --git a/package.json b/package.json index 362271ba..edc00138 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "e2e:all": "nx run-many --target=e2e", "e2e:datahub": "nx e2e mel-datahub-e2e", "e2e:datahub-dev": "nx e2e mel-datahub-e2e --watch", - "i18n:extract": "ngx-translate-extract -s --fi ' ' --input ./apps --output ./apps/datahub/src/assets/i18n/{en_MEL,fr_MEL}.json --clean --format json && npm run format:write" + "i18n:extract": "ngx-translate-extract -s --fi ' ' --input ./apps --output ./apps/datahub/src/assets/i18n/{en_MEL,fr_MEL}.json --clean --format json && npm run format" }, "private": true, "dependencies": {