Fix error when displaying favorite count

This bug appears because we where trying to display a string as a number.
The function to translate was cutting the parameter to the first non numeric character (the space)

See #487