nested - Error with YAML deep nesting -
i wanted create config file in yaml stores few translations. encapsulate everything, began nest options.
while parsing file, see following error:
failed read data customize.yaml\customize.yaml: yaml: line 30: mapping values not allow
ed in context
the parser refers following lines:
contact: title: contact form: name: name error: please enter name. email: email error: please enter email address. phone: phone error: please enter phone number. message: message error: please enter message. send: send
if want value error messages "belong" key, need make list of 2 items
name: - name - error: please enter name.
or mapping 2 items:
name: value: name error: please enter name.
Comments
Post a Comment