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

fix: correct errors in labels taxonomy #6392

Merged
merged 1 commit into from
Feb 9, 2022
Merged

Conversation

stephanegigandet
Copy link
Contributor

We now have stronger checks in the taxonomy build process to verify that the same translation in one language is not set for 2 different taxonomy entries.

This fixes the following errors:

Errors in the labels taxonomy definition:
ERROR - ru:обогащено-кальцием already is associated to en:calcium-source - ru:обогащено-кальцием cannot be mapped to entry en:high-in-calcium
ERROR - ru:низкожирный-или-обезжиренный already is associated to en:low-or-no-fat - ru:низкожирный-или-обезжиренный cannot be mapped to entry en:low-fat
ERROR - th:ไขมันต่ำ already is associated to en:low-or-no-fat - th:ไขมันต่ำ cannot be mapped to entry en:low-fat
ERROR - th:โซเดียมต่ำ already is associated to en:low-sodium - th:โซเดียมต่ำ cannot be mapped to entry en:low-or-no-salt
ERROR - he:מופחת-מלח already is associated to en:low-salt - he:מופחת-מלח cannot be mapped to entry en:reduced-salt
ERROR - th:น้ำตาลต่ำ already is associated to en:low-or-no-sugar - th:น้ำตาลต่ำ cannot be mapped to entry en:low-sugar
ERROR - th:ใช้สีธรรมชาติ already is associated to en:natural-colorings - th:ใช้สีธรรมชาติ cannot be mapped to entry en:natural-flavors
ERROR - it:senza-ogm already is associated to en:no-gmos - it:senza-ogm cannot be mapped to entry en:ohne-gentechnik
ERROR - nl:niet-aanbevolen-voor-zwangere-vrouwen already is associated to en:not-advised-for-pregnant-women - nl:niet-aanbevolen-voor-zwangere-vrouwen cannot be mapped to entry fr:deconseille-aux-femmes-enceintes
ERROR - pl:wieprzowina-bez-domieszek already is associated to en:pure-beef - pl:wieprzowina-bez-domieszek cannot be mapped to entry en:pure-pork
ERROR - it:medaglia-di-bronzo-della-societa-agricola-tedesca already is associated to en:bronze-medal-of-the-german-agricultural-society - it:medaglia-di-bronzo-della-societa-agricola-tedesca cannot be mapped to entry en:2017-bronze-medal-of-the-german-agricultural-society
ERROR - hu:hazai-termék already is associated to en:hungarian-domestic-product - hu:hazai-termék cannot be mapped to entry hu:hazai-termék
ERROR - hu:hazai-feldolgozású-termék already is associated to en:hungarian-processed-product - hu:hazai-feldolgozású-termék cannot be mapped to entry hu:hazai-feldolgozású-termék

@stephanegigandet stephanegigandet added 🧬 Taxonomies https://wiki.openfoodfacts.org/Global_taxonomies labels labels Feb 7, 2022
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 7, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@stephanegigandet stephanegigandet merged commit c6119d4 into main Feb 9, 2022
@stephanegigandet stephanegigandet deleted the fix-labels-taxonomy branch February 9, 2022 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
labels 🤰 pregnancy & babies 🧬 Taxonomies https://wiki.openfoodfacts.org/Global_taxonomies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants