Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate metadata keys in mass import record table header #6186

Merged

Conversation

solth
Copy link
Member

@solth solth commented Aug 20, 2024

While writing the documentation for the mass import I noticed that the column headers in the record table only contain the keys, not the translated labels, of each metadata. This pull request changes that so that now the correct translation of the metadata keys are displayed in the column headers. (if the CSV file contains unknown metadata keys that are not defined in the current ruleset, the verbatim strings from the CSV are displayed instead)

Copy link
Collaborator

@henning-gerhardt henning-gerhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is only a code reading review and the changes looks good and are similar to the changes in #6188.

@solth solth merged commit e68fd3c into kitodo:master Aug 26, 2024
5 checks passed
@solth solth deleted the massimport-translate-metadata-keys branch August 26, 2024 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants