From 01a288cbc22ce5d8860c8accc5aae3144863f3ef Mon Sep 17 00:00:00 2001 From: Blazik Date: Tue, 24 Oct 2023 22:33:43 +0200 Subject: [PATCH] publishes lang --- src/LaraFormProvider.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/LaraFormProvider.php b/src/LaraFormProvider.php index 049fc0b..ed3918f 100644 --- a/src/LaraFormProvider.php +++ b/src/LaraFormProvider.php @@ -11,6 +11,10 @@ public function boot() { $this->loadViewsFrom(__DIR__ . '/../resources/views', 'laraform'); $this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'laraform'); + + $this->publishes([ + __DIR__ . '/../resources/lang' => lang_path('vendor/laraform') + ], 'laraform-lang'); } }