update breadcrumb label

This commit is contained in:
FrancescoMolinaro
2024-02-05 16:53:21 +01:00
parent 06cc944f2b
commit 044ec06cb1
2 changed files with 4 additions and 1 deletions

View File

@@ -38,7 +38,8 @@ export class PublicationClaimBreadcrumbService implements BreadcrumbsProviderSer
map(([item, isAdmin]) => { map(([item, isAdmin]) => {
const itemName = this.dsoNameService.getName(item.payload); const itemName = this.dsoNameService.getName(item.payload);
return isAdmin ? [new Breadcrumb(this.tranlsateService.instant(this.ADMIN_PUBLICATION_CLAIMS_BREADCRUMB_KEY), this.ADMIN_PUBLICATION_CLAIMS_PATH), return isAdmin ? [new Breadcrumb(this.tranlsateService.instant(this.ADMIN_PUBLICATION_CLAIMS_BREADCRUMB_KEY), this.ADMIN_PUBLICATION_CLAIMS_PATH),
new Breadcrumb(itemName, undefined)] : [new Breadcrumb(itemName, undefined)]; new Breadcrumb(this.tranlsateService.instant('suggestion.suggestionFor.breadcrumb', {name: itemName}), undefined)] :
[new Breadcrumb(this.tranlsateService.instant('suggestion.suggestionFor.breadcrumb', {name: itemName}), undefined)];
}) })
); );
} }

View File

@@ -3618,6 +3618,8 @@
"suggestion.suggestionFor": "Suggestions for", "suggestion.suggestionFor": "Suggestions for",
"suggestion.suggestionFor.breadcrumb": "Suggestions for {{ name }}",
"suggestion.source.openaire": "OpenAIRE Graph", "suggestion.source.openaire": "OpenAIRE Graph",
"suggestion.from.source": "from the ", "suggestion.from.source": "from the ",