This could mean 2 things:
a) either the coder expected that the count value will always be 2, that
means that "nbr_ammo" will always be 2
b) or the coder thought that "nbr_ammo" will always need the plural and
though the way to make that happen is to assure that the count is for plural
by thinking in an English centric way and how plural is formed in English.



This could also mean:
c) I blindly copied and pasted the old text into the new code, and didn't
know what the number 2 meant. It was my assumption that the 2 meant how many
different versions of the text where in the function call (1 singular, 1
plural).  Looking back, I guess it was from the hard coded value of 2
weapons that were handed out per box. This is my fault.

gettext("%s team already has infinite ammo for the %s!")
As for this bit, it is / was there for debugging, but now this is issue is
fixed. If people wish for it to remain that might be good, since there is
checking code for an infinite ammo weapon, however, nobody should ever get
that case unless the code is changed. Again, this is my fault :-(
_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à