merged branch stealth35/typo_rb (PR #2161)
Commits -------1fc01fc
[Translation] typo in ResourceBundleLoader Discussion ---------- [Translation] typo in ResourceBundleLoadere6e5146ccb (L1R33)
This commit is contained in:
commit
b3141b4b46
@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user