This repository was archived by the owner on Mar 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -35,22 +35,24 @@ public function boot(): void
3535 RequestOptions::ALLOW_REDIRECTS => true ,
3636 RequestOptions::HTTP_ERRORS => true ,
3737 ]);
38+
39+ $ this ->loadTranslationsFrom (__DIR__ .'/../resources/lang ' , 'trashmailRule ' );
3840 }
3941
4042 public function register (): void
4143 {
4244 $ this ->app ->singleton (TrashmailManager::class);
4345
4446 $ this ->app ->singleton (Trashmail::class);
47+
48+ $ this ->mergeConfigFrom (__DIR__ .'/../config/trashmail.php ' , 'trashmail ' );
4549 }
4650
4751 protected function bootConfig (): void
4852 {
4953 $ this ->publishes ([
5054 __DIR__ .'/../config/trashmail.php ' => config_path ('trashmail.php ' ),
51- ], 'config ' );
52-
53- $ this ->mergeConfigFrom (__DIR__ .'/../config/trashmail.php ' , 'trashmail ' );
55+ ], 'config ' );
5456 }
5557
5658 protected function bootLang (): void
@@ -59,6 +61,5 @@ protected function bootLang(): void
5961 __DIR__ .'/../resources/lang ' => resource_path ('lang/vendor/trashmailRule ' ),
6062 ], 'lang ' );
6163
62- $ this ->loadTranslationsFrom (__DIR__ .'/../resources/lang/ ' , 'trashmailRule ' );
6364 }
6465}
You can’t perform that action at this time.
0 commit comments