Do not translate format strings

This commit is contained in:
Eric Lippmann 2015-03-30 11:28:05 +02:00
parent 0a7e76d190
commit ab1dc1faa0

View File

@ -434,7 +434,7 @@ class Perfdata
public function formatLabel($html = false)
{
return sprintf(
$html ? t('<b>%s %s</b> (%s%%)') : t('%s %s (%s%%)'),
$html ? '<b>%s %s</b> (%s%%)' : '%s %s (%s%%)',
htmlspecialchars($this->getLabel()),
$this->format($this->value),
number_format($this->getPercentage(), 2)