Sha256: 80fe6e382dfe3a63a4867da13a9ebd1d784cb309bbf9d3aac1962471e6ed3caa
Contents?: true
Size: 973 Bytes
Versions: 9
Compression:
Stored size: 973 Bytes
Contents
YAML Validator ============== [![Build Status](https://travis-ci.org/wazeHQ/yaml-validator.png?branch=master)](https://travis-ci.org/wazeHQ/yaml-validator) Validates .yml locale files for Ruby on Rails projects. What does it validate? ---------------------- Given the following file tree: ``` config/ locales/ en.yml he.yml nl.yml fr.yml ... ``` Run the following command: ```bash yaml-validator config/locales or cd config/locales yaml-validator ``` it will validate the files (in reference to en.yml) and show the following types of errors: ``` he.yml: parent_key.key1 doesn't exist in en.yml fr.yml: found character that cannot start any token while scanning for the next token at line 19 column 14 nl.yml: parent_key.key1: missing variable 'var_with_typo' (available options var_without_type) ``` Changelog ========= 0.1.0 ----- * Added missing translations validation (strings that appear in en.yml but not in the other strings)
Version data entries
9 entries across 9 versions & 1 rubygems