Skip to content
This repository was archived by the owner on May 9, 2019. It is now read-only.

Commit 64938ff

Browse files
committed
add provider
1 parent 115d2bc commit 64938ff

File tree

3 files changed

+62
-0
lines changed

3 files changed

+62
-0
lines changed

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
"extra": {
3838
"branch-alias": {
3939
"dev-master": "1.0-dev"
40+
},
41+
"laravel": {
42+
"providers": [
43+
"Bavix\\Providers\\AdminServiceProvider"
44+
]
4045
}
4146
}
4247
}

resources/lang/en/bx-columns.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?php
2+
3+
return [
4+
'title' => 'Title',
5+
'description' => 'Description',
6+
7+
'user' => 'User',
8+
'users' => 'Users',
9+
'last_name' => 'Last name',
10+
'name' => 'First name',
11+
'middle_name' => 'Middle name',
12+
'login' => 'Login',
13+
'password' => 'Password',
14+
'phone' => 'Phone',
15+
'email' => 'Email',
16+
17+
'min' => 'Minimum',
18+
'max' => 'Maximum',
19+
20+
'language' => 'Language',
21+
22+
'parent' => 'Parent',
23+
'parents' => 'Parents',
24+
25+
'content' => 'Content',
26+
'budget' => 'Budget',
27+
'project' => 'Project',
28+
'projects' => 'Projects',
29+
'image' => 'Image',
30+
'images' => 'Images',
31+
'file' => 'File',
32+
'files' => 'Files',
33+
'active' => 'Active',
34+
'created_at' => 'Created At',
35+
'updated_at' => 'Updated At',
36+
];
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
namespace Bavix\Providers;
4+
5+
use Illuminate\Support\ServiceProvider;
6+
7+
class AdminServiceProvider extends ServiceProvider
8+
{
9+
10+
public function boot()
11+
{
12+
if ($this->app->runningInConsole())
13+
{
14+
$this->publishes([
15+
\dirname(__DIR__, 2) . '/resources/lang' => resource_path('lang')],
16+
'laravel-helpers-lang'
17+
);
18+
}
19+
}
20+
21+
}

0 commit comments

Comments
 (0)