Skip to content

Commit

Permalink
Fix loading error (#18)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dimkard authored Sep 6, 2023
1 parent be7b08c commit 8d76b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/activities/skills/continuous.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Phrases:
- Está nadando en el mar
Translation: She is swimming in the sea
Alternative translations:
She's swimming in the sea
- She's swimming in the sea

- Phrase: Él está comiendo chocolate
Alternative versions:
Expand Down

0 comments on commit 8d76b0e

Please sign in to comment.