Fix error message translation formatting

JText::_ does not support formatting, instead use JText::sprintf.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>