MENDELU/Edit citace by message#1264
Merged
milanmajchrak merged 2 commits intocustomer/mendelufrom Mar 25, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a localized disclaimer message for Citace Pro-generated citations and ensures the citation field component can render translations in its standalone template.
Changes:
- Added new i18n key
item.page.citace-pro.disclaimertoen.json5andcs.json5. - Updated the citation field standalone component to import
TranslateModule. - Rendered the disclaimer under the Citace Pro iframe in the citation component template.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/assets/i18n/en.json5 | Adds English disclaimer string for Citace Pro citations. |
| src/assets/i18n/cs.json5 | Adds Czech disclaimer string (with the repo’s “English comment” line). |
| src/app/item-page/simple/field-components/specific-field/citation/item-page-citation.component.ts | Imports TranslateModule so the template’s translate pipe works in a standalone component. |
| src/app/item-page/simple/field-components/specific-field/citation/item-page-citation.component.html | Displays the new translated disclaimer beneath the Citace Pro iframe. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem description
Issue: https://github.com/dataquest-dev/dspace-customers/issues/508
Sync verification
If en.json5 or cs.json5 translation files were updated:
yarn run sync-i18n -t src/assets/i18n/cs.json5 -ito synchronize messages, and changes are included in this PR.Manual Testing (if applicable)
Copilot review