Skip to content

Commit c720fc3

Browse files
committed
Merge branch 'patch-2' of github.com:soluzione-software/laravel-filemanager into soluzione-software-patch-2
2 parents f47e9cc + b8df064 commit c720fc3

39 files changed

+22
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
test:
22
vendor/bin/phpunit --coverage-text
3-
vendor/bin/phpcs --version && echo && vendor/bin/phpcs -p --standard=PSR2 --ignore=src/lang/,src/views/ src tests
3+
vendor/bin/phpcs --version && echo && vendor/bin/phpcs -p --standard=PSR2 --ignore=resources/lang/,resources/views/ src tests
File renamed without changes.

docs/customization.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,22 @@
3535
```
3636

3737
## Views
38-
Copy views to `resources/views/vendor/unisharp/laravel-filemanager/` :
38+
39+
Publish views:
3940

4041
```bash
4142
php artisan vendor:publish --tag=lfm_view
4243
```
4344

45+
Edit views in `/resources/views/vendor/laravel-filemanager`.
46+
4447
## Translations
4548

46-
1. Copy `vendor/unisharp/laravel-filemanager/src/lang/en` to `/resources/lang/vendor/laravel-filemanager/<YOUR LANGUAGE>/lfm.php`.
47-
1. Edit the file as you please.
49+
Publish translations:
50+
51+
```bash
52+
php artisan vendor:publish --tag=lfm_lang
53+
```
54+
55+
1. Copy `/resources/lang/vendor/laravel-filemanager/en` to `/resources/lang/vendor/laravel-filemanager/<LANGUAGE>`.
56+
1. Edit translations as you please.

0 commit comments

Comments
 (0)