fix: missing_translations_in_dq_button #9825
Merged
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.
What
@teolemon, I did not know what it means "missing translations in the Data Quality action button", I had to search.
In the provided example, there is another facet where the button is as expected. Let's look at it first.
We can find reference to this "action" in
data_quality.txt -> fix_action:en: add_origins - BUT not for all facets ( EcoScore - packaging - Packaging data missing, for example)
Products.pm -> add_origins + url suffix
en.po -> msgtxt "action_add_origins" + message in the box
however, more generic in data_quality_tags.tt.json:
for serving quantity facet.
we also have add_quantity url define in Products.pm
However it is missing in en.pot. Which make sense because it is where we have translations (now, I understand message from @teolemon :-) )
so (following advice from @alexgarel in a previous PR: feat: allow_longer_user_name #9588 (comment)) we will add, in common.pot only.
Screenshot
Related issue(s) and discussion