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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -