Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
Fix name.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Apr 28, 2021
1 parent f969ee6 commit ca8ec5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/FileLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public function __construct(Filesystem $files, $path, $multiLangPath)
*/
public function load($locale, $group, $namespace = null)
{
$locale = str_replace('_', '-', $locale);

$defaults = $this->loadPath($this->multiLangPath, $locale, $group);

return array_replace_recursive($defaults, parent::load($locale, $group, $namespace));
Expand Down

0 comments on commit ca8ec5a

Please sign in to comment.