Skip to content

Commit

Permalink
Move validation language file to publications package
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jan 10, 2023
1 parent e061ca4 commit 981cd69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function register(): void
parent::register();

if (! is_dir(lang_path())) {
$this->app->useLangPath(__DIR__.'/../../../resources/lang');
$this->app->useLangPath(__DIR__.'/../../../../publications/resources/lang');
}

config([
Expand All @@ -27,6 +27,6 @@ public function register(): void

public function boot(): void
{
$this->loadTranslationsFrom(__DIR__.'/../../../resources/lang/en/validation.php', 'validation');
$this->loadTranslationsFrom(__DIR__.'/../../../../publications/resources/lang/en/validation.php', 'validation');
}
}

0 comments on commit 981cd69

Please sign in to comment.