Skip to content

Travels: fix locale state

Matt requested to merge msimonin/l1p5-vuejs:dev/fix_parseTravels_locale into master

The previous mixin implementation was accessing the locale information in parseTravels function using the state of the component.

We now pass the locale information as a parameter to parseTravels so that we can still use parseTravels as an independant util module.

Add some tests about localized error messages when importing a file with some missing field.

Merge request reports