wazeHQ / yaml-validator

Validates locale yml files
MIT License
6 stars 3 forks source link

Double-curly-brace syntax for interpolation isn't supported #6

Open patbl opened 7 years ago

patbl commented 7 years ago

There are two syntaxes for interpolation in locale files, %{var} and {{var}}. Only the first is supported. YAML Validator thinks the second is a syntax error:

# en.yml
en:
  foo: "{{lol}}"

# pt.yml
pt:
  foo: "{{lol}}"
$ yaml-validator validate .
Validating ....

pt.yml: foo: invalid syntax '{{lol}'

found 1 error(s)

This repository doesn't have much recent activity. Are pull requests still welcome? This gem seems as though it could be very useful.