humhub / polls

Empower your users to create polls and survey to drive engagement and gather valuable insights from your community.
16 stars 24 forks source link

Missing Translation for Vote Pluralization String in pt-BR Translation File #139

Closed Dheyvidj closed 2 months ago

Dheyvidj commented 2 months ago

In the pt-BR translation file for the polls module, there is a missing translation for the key related to the vote count with pluralization. The key {n,plural,=1{# {htmlTagBegin}vote{htmlTagEnd}}other{# {htmlTagBegin}votes{htmlTagEnd}}} is present, but the corresponding translation value is empty. This results in the incorrect display of the translated text for vote counts and formatting. The appropriate translation needs to be added to ensure consistent interface language for pt-BR users.

Dheyvidj commented 2 months ago

The correct value for the translation of the key in the pt-BR translation file should be {n,plural,=1{# {htmlTagBegin}voto{htmlTagEnd}}other{# {htmlTagBegin}votos{htmlTagEnd}}} This will ensure that the vote count is displayed correctly in Portuguese, adhering to the rules of pluralization.

yurabakhtin commented 2 months ago

@Dheyvidj @luke- PR https://github.com/humhub/polls/pull/140:

votes