-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[source]: Added Laravel Nova 5 support
- Loading branch information
1 parent
b52700f
commit a6cf686
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
namespace LaravelLang\Lang\Plugins\Nova; | ||
|
||
use LaravelLang\Publisher\Plugins\Plugin; | ||
|
||
class V5 extends Plugin | ||
{ | ||
protected ?string $vendor = 'laravel/nova'; | ||
|
||
protected string $version = '^5.0'; | ||
|
||
public function files(): array | ||
{ | ||
return [ | ||
'nova/5.x/nova.json' => 'vendor/nova/{locale}.json', | ||
|
||
'nova/5.x/validation.php' => 'vendor/nova/{locale}/validation.php', | ||
]; | ||
} | ||
} |