4Science / dspace-angular

Angular UI for DSpace and DSpace-CRIS. In the dspace-cris-7 branch you can find the extension to support DSpace-CRIS
BSD 3-Clause "New" or "Revised" License
14 stars 28 forks source link

Metadatagroup field label being translated wrong #6

Closed floriangantner closed 1 year ago

floriangantner commented 2 years ago

References

Add references/links to any related issues or PRs. These may include:

Description

The metadatafield label of metadata groups is currently translated wrong. According to the autogenerated i18n Keys in the layout.xls the Scheme "layout.field.label.<EntityType>.<Metadatafield>": "<Value of Translation>" should work, but instead the translation for the value "layout.field.label.<Label of Metadatafield>" is being requested.

Alternative way of solving this issue: This issue could also be solved purely by configuration with changing the layout.xls$metadatagroups column Label to .. In this case the formula in the metadatagroup_i18n sheets is calculated wrong and could be changed. Since diffs in the excel file are hard to read, we prefer the first approach ;)

Instructions for Reviewers

Please add a more detailed description of the changes made by your PR. At a minimum, providing a bulleted list of changes in your PR is helpful to reviewers.

List of changes in this PR:

Include guidance for how to test or review your PR. This may include: steps to reproduce a bug, screenshots or description of a new feature, or reasons behind specific changes.

Checklist

This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

atarix83 commented 2 years ago

@floriangantner there is a lint error, could you fix before we'll merge the PR ? thanks

floriangantner commented 2 years ago

@atarix83 sorry for the late response, the lint error is now fixed :)