Incorrect usage of week/month/year units in a translated string

Hi @gerhard
I saw code corresponding to it, topic_stat_sentence string is used for translation only when unit is month or week. I have started with them only for now.

I m not an expert at translating so I have just added new variables and kept things backward compatible till we have translations available.

PR for same: FEAT: split topic_stat_sentence to topic_stat_sentence_week and topic… by mrfinch · Pull Request #6663 · discourse/discourse · GitHub

Let me know if that works.

Thanks

3 Likes