Skip to content

Commit

Permalink
feat: "en:Serving size is missing digits" description (#8091)
Browse files Browse the repository at this point in the history
* Add en:Serving size is missing digits

See #5163 and #8057.

* ci: autolabel changes to the taxo

---------

Co-authored-by: Pierre Slamich <[email protected]>
  • Loading branch information
CharlesNepote and teolemon authored Feb 11, 2023
1 parent 51021c9 commit 99c2113
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ data quality:
- lib/ProductOpener/DataQualityFood.pm
- tests/unit/dataquality.t
- tests/unit/dataqualityfood.t
- taxonomies/data_quality.txt

Display:
- lib/ProductOpener/Display.pm
Expand Down
5 changes: 5 additions & 0 deletions taxonomies/data_quality.txt
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,11 @@ fr:Total des valeurs nutritionnelles supérieur à 105
description:en:The sum of nutrient values for 100 g or 100 ml is greater than 100 g. It is very likely that there is at least one value or unit error.
description:fr:La somme des valeurs nutritionnelles pour 100 g ou 100 ml est supérieure à 100 g. Il est très probable qu'il y a au moins une erreur de valeur ou d'unité.

<en:Nutrition Error
en:Serving size is missing digits
fr:La taille de portion manque d'un nombre
description:en:The serving size should be a size with digits. Eg. "10 g", "250 ml", "2 fl oz"...
description:fr:La taille de portion devrait contenir un nombre. Par exemple : "10 g", "250 ml", "2 biscuits de 30 g", etc.


## --------------- Then data quality warnings
Expand Down

0 comments on commit 99c2113

Please sign in to comment.