You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This method contains several non-universal localized values, ie. "environ" or "inférieur", "less", "more". We should consider removing them from this method, and use some product language to evaluate the result.
The text was updated successfully, but these errors were encountered:
We should rather make a list of such localizable parts of the code for easier access. Given the potential for regression, we're not going to move it outside the code.
teolemon
changed the title
Remove localized values
Better handle localized values nested in code
Jan 27, 2020
openfoodfacts-server/lib/ProductOpener/Food.pm
Lines 91 to 127 in 64cda76
This method contains several non-universal localized values, ie. "environ" or "inférieur", "less", "more". We should consider removing them from this method, and use some product language to evaluate the result.
The text was updated successfully, but these errors were encountered: