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

translate metadatagroup field label with field metadata instead of value 2 #11

Closed floriangantner closed 1 month ago

floriangantner commented 1 year ago

References

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

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.

Checklist

floriangantner commented 6 months ago

Bug still exists in 2023.02.02 - aligned to 2023.02.02 release

floriangantner commented 1 month ago

fixed by some more extended translation solution in 2023.02.05