Happyr / TranslationBundle

[DEPRECATED] A bundle to integrate with third party translation platforms
MIT License
50 stars 22 forks source link

nonexistent keys in twig arrays #43

Closed hoffereka closed 8 years ago

hoffereka commented 8 years ago

Hi, when I click on the profiler, translations, I get sometimes this:

Exception # \Twig_Error_Runtime: array( ['message'] => 'Key "transChoiceNumber" for array with keys "locale, domain, id, translation, state, count" does not exist in "@HappyrTranslation/Profiler/translation.html.twig" at line 149',

If I put an "is defined and"... condition, the problem solved.

May I put a pull request?

Nyholm commented 8 years ago

Awesome. I'll be happy to review your PR.

hoffereka commented 8 years ago

Grrrrr. This already has been solved in dev-master on packagist. Sorry for wasting time.

Nyholm commented 8 years ago

No worries. I'm happy you take interest in the project.