Skip to content

Commit c86849a

Browse files
authored
Update Manager.php (#417)
1 parent 51ce055 commit c86849a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ public function getLocales()
393393

394394
public function addLocale($locale)
395395
{
396-
$localeDir = $this->app->langPath().'/'.$locale;
396+
$localeDir = $this->app->langPath().'/'.basename($locale);
397397

398398
$this->ignoreLocales = array_diff($this->ignoreLocales, [$locale]);
399399
$this->saveIgnoredLocales();

0 commit comments

Comments
 (0)