Use full stop.

This commit is contained in:
Madhura Jayaratne 2012-04-29 18:30:13 +05:30
parent dd6268ec59
commit 243d59081e
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ class Advisor
$str = $this->translate($jst[0], $jst[1]);
} catch (Exception $e) {
$this->storeError(
sprintf(__('Failed formatting string for rule \'%s\''), $rule['name']),
sprintf(__('Failed formatting string for rule \'%s\'.'), $rule['name']),
$e
);
return;

View File

@ -98,7 +98,7 @@ class Advisor_test extends PHPUnit_Framework_TestCase
array(
array('justification' => 'foo | fsafdsa', 'name' => 'Failure', 'issue' => 'issue', 'recommendation' => 'Recommend'),
array(),
'Failed formatting string for rule \'Failure\' PHP threw following error: Use of undefined constant fsafdsa - assumed \'fsafdsa\'',
'Failed formatting string for rule \'Failure\'. PHP threw following error: Use of undefined constant fsafdsa - assumed \'fsafdsa\'',
),
);
}