diff --git a/resources/i18n/en.json b/resources/i18n/en.json index c605d76961..2dfaa4dfb1 100644 --- a/resources/i18n/en.json +++ b/resources/i18n/en.json @@ -78,5 +78,25 @@ "results": { "title": "Search Results" } + }, + "loader": { + "default": "Loading...", + "top-level-communities": "Loading top level communities...", + "community": "Loading community...", + "collection": "Loading collection...", + "sub-collection": "Loading sub-collections...", + "items": "Loading items...", + "item": "Loading item...", + "object-list": "Loading..." + }, + "error": { + "default": "Error...", + "top-level-communities": "Error fetching top level communities", + "community": "Error fetching community", + "collection": "Error fetching collection", + "sub-collection": "Error fetching sub-collections", + "items": "Error fetching items", + "item": "Error fetching item", + "object-list": "Error fetching" } } diff --git a/src/app/+community-page/sub-collection-list/community-page-sub-collection-list.component.html b/src/app/+community-page/sub-collection-list/community-page-sub-collection-list.component.html index 82ae6bd3e1..4a965d908f 100644 --- a/src/app/+community-page/sub-collection-list/community-page-sub-collection-list.component.html +++ b/src/app/+community-page/sub-collection-list/community-page-sub-collection-list.component.html @@ -9,5 +9,5 @@ - - + + diff --git a/src/app/+item-page/full/full-item-page.component.html b/src/app/+item-page/full/full-item-page.component.html index bc8ee3f3a8..51979ebe3f 100644 --- a/src/app/+item-page/full/full-item-page.component.html +++ b/src/app/+item-page/full/full-item-page.component.html @@ -1,21 +1,23 @@
- - diff --git a/src/app/shared/error/error.component.html b/src/app/shared/error/error.component.html index 83b189b6fe..d41760e258 100644 --- a/src/app/shared/error/error.component.html +++ b/src/app/shared/error/error.component.html @@ -1,3 +1,3 @@
- {{ message }} +
diff --git a/src/app/shared/error/error.component.spec.ts b/src/app/shared/error/error.component.spec.ts index 1417d3ffe7..73a4e5a26e 100644 --- a/src/app/shared/error/error.component.spec.ts +++ b/src/app/shared/error/error.component.spec.ts @@ -22,8 +22,8 @@ describe('ErrorComponent (inline template)', () => { comp = fixture.componentInstance; // ErrorComponent test instance - // query for the message by CSS element selector - de = fixture.debugElement.query(By.css('span')); + // query for the message