linagora / angular-translate-quality

[ARCHIVED] A JS library to verify the coherence and the correctness of angular-translate elements
MIT License
4 stars 3 forks source link

Nested values #35

Open lrkwz opened 4 years ago

lrkwz commented 4 years ago

The following afaik should be a valid json angular-trnslate file

{
  "accept-privacy": {
    "title": "Accept Privacy Policy",
    "accept": "Accept",
    "acceptTitle": "Accept Policy",
    "text": "By clicking accept, you will be redirected to the application registration page from where you will be able to login again."
  }
}

but the regexp /^(\t)?"([^"]+)": "([^"]*)",?/ does not match.