phetsims / rosetta

PhET's Simulation Translation Utility
MIT License
3 stars 1 forks source link

Validate against `{{{` and `}}}` #424

Open zepumph opened 1 year ago

zepumph commented 1 year ago

Over in https://github.com/phetsims/babel/issues/22, I found a couple of spots where translators had accidentally included a third curly brace in their template variable. When @solaolateju and I went through the 4 usages of these, we found that they were clearly bugs. Does this seem like an easy and worth while validation step for rosetta 2.0? I know we have validation to ensure we keep the template variable intact, so perhaps this wouldn't be too challenging to add in on top of things.

Feel free to close if it isn't worth it.