Remove Portuguese translations from KBART headers#79
Merged
robertatakenaka merged 3 commits intomasterfrom Feb 3, 2026
Merged
Conversation
Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com>
Co-authored-by: robertatakenaka <505143+robertatakenaka@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove Portuguese translations from KBART headers
Remove Portuguese translations from KBART headers
Feb 3, 2026
There was a problem hiding this comment.
Pull request overview
This PR updates KBART export headers to comply with NISO RP-9-2014 guidelines as requested by EBSCO. The changes remove Portuguese translations from header field names, keeping only the standard English field names.
Changes:
- Removed Portuguese translations from all 25 KBART header fields in export/kbart.py
- Updated module docstring to reflect the English-only header format
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+5
to
+12
| Formato de saída (headers em inglês, conforme diretrizes KBART): | ||
| publication_title, print_identifier, online_identifier, date_first_issue_online, | ||
| num_first_vol_online, num_first_issue_online, date_last_issue_online, | ||
| num_last_vol_online, num_last_issue_online, title_url, first_author, title_id, | ||
| embargo_info, coverage_depth, coverage_notes, publisher_name, publication_type, | ||
| date_monograph_published_print, date_monograph_published_online, monograph_volume, | ||
| monograph_edition, first_editor, parent_publication_title_id, | ||
| preceding_publication_title_id, access_type |
There was a problem hiding this comment.
The documentation in docs/source/tools.rst (lines 203-213 and 265-275) still references the old Portuguese field names. These documentation sections should be updated to reflect the new English-only header format to stay consistent with the code changes.
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.
EBSCO requires KBART files to use standard English field names per NISO RP-9-2014 guidelines. Current headers include Portuguese translations in parentheses, which violates the spec.
Changes
Before/After
Output changes from:
To:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.