Skip to content

OBPIH-6126 Rename supplier product name and site name to other generic names#4543

Merged
awalkowiak merged 4 commits intofeature/upgrade-to-grails-3.3.10from
OBPIH-6126
Mar 14, 2024
Merged

OBPIH-6126 Rename supplier product name and site name to other generic names#4543
awalkowiak merged 4 commits intofeature/upgrade-to-grails-3.3.10from
OBPIH-6126

Conversation

@drodzewicz
Copy link
Collaborator

It was requested to change the generic name for fields/columns Supplier Product Name and Site Name to (Source) Name and Organization

Additionally I have added jsdoc to our translation hook and utils function to describe what each parameter is doing because I find it confusing every time I want to remember which parameter takes in data defaultMessage etc...

react.productSupplier.column.supplier.label=Supplier
react.productSupplier.column.supplierCode.label=Supplier Code
react.productSupplier.column.supplierProductName.label=Supplier Product Name
react.productSupplier.column.name.label=(Source) Name
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why (Source) is in parenthesis? Was that requested?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The ticket describes these changes as follows
The generic name for “Supplier Product Name” should be “(Source) Name” - the custom translation for PIH will be “Supplier Product Name”

since the whole word (new name) is in quotes I assume this is the new expected name

@awalkowiak awalkowiak merged commit 0fdc974 into feature/upgrade-to-grails-3.3.10 Mar 14, 2024
@awalkowiak awalkowiak deleted the OBPIH-6126 branch March 14, 2024 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants