The embed component displays "1 answer" instead if 0 is no replies


(Camille Roux) #1

Hi,

I’m embedding Discourse on a static website for comment. I’ve found a bug. When a topic has no replies, the embed component displays “1 answer”.


(“1 réponse” = “1 answer” in French)

You can see the exemple here.


(Régis Hanol) #2

@nbianca can you teach Discourse how to properly count to 0? :triangular_ruler:


(Bianca) #4

I am not able to reproduce this one.

Are there any particularities about your setup? What’s the last time you encountered this bug?

I also checked the embed controller and it looks good. :thinking:


(Régis Hanol) #5

Did you check in French :fr:?