LibreLingo / LibreLingo-ES-from-EN

Spanish course for English speakers
Other
10 stars 13 forks source link

Fix loading error #18

Closed dimkard closed 1 year ago

dimkard commented 1 year ago

On glossaico, when loading the spanish course, the following occurs: """ librelingo_yaml_loader.yaml_loader.ValidationError: There is an error with the schema at the following file path: [...]/spanish-from-english/course/activities/skills/continuous.yaml Original error message: "She's swimming in the sea" is not of type 'array'

Failed validating 'type' in schema['properties']['Phrases']['items']['properties']['Alternative translations']: {'items': {'type': 'string'}, 'type': 'array'}

On instance['Phrases'][6]['Alternative translations']: "She's swimming in the sea" """

This commit fixes the error

dimkard commented 1 year ago

@kantord ^^ :)

kantord commented 1 year ago

thank you! let me see