merged branch stealth35/typo_rb (PR #2161)

Commits
-------

1fc01fc [Translation] typo in ResourceBundleLoader

Discussion
----------

[Translation] typo in ResourceBundleLoader

e6e5146ccb (L1R33)
This commit is contained in:
Fabien Potencier 2011-09-13 13:30:23 +02:00
commit b3141b4b46

View File

@ -30,7 +30,7 @@ class ResourceBundleLoader implements LoaderInterface
$rb = new \ResourceBundle($locale, $resource);
if (!$rb) {
throw new \RuntimeException("cannot load this resource : $rb");
throw new \RuntimeException("cannot load this resource : $resource");
} elseif (intl_is_failure($rb->getErrorCode())) {
throw new \RuntimeException($rb->getErrorMessage(), $rb->getErrorCode());
}