CoderDojo / community-platform

Zen, the CoderDojo Community Platform!
https://zen.coderdojo.com
MIT License
121 stars 55 forks source link

Accentuated character breaks condtional binding template side #1111

Closed Wardormeur closed 7 years ago

Wardormeur commented 7 years ago

Unexpected next character at columns 155-155 [é] in expression [dojo.private === 0?'Public Dojo':'Dojo privé Cela signifie que ce Dojo est ouvert uniquement à des personnes spécifiques (par exemple, les étudiants d'une école). Veuillez ne pas contacter ce Dojo.

Resolution : move condition to controller TODO: this happens on the dojo page while being in French, but may happen in other pages.

Wardormeur commented 7 years ago

While being closed, we need to remember to avoid using translation in ternary condition inside an template, the interpolation seems to not like accentuated character https://github.com/angular/angular.js/pull/4747