Skip to content

Commit

Permalink
Persian (fa) translation + Remove redundant scss/css files (#9)
Browse files Browse the repository at this point in the history
* Persian (fa) translations added
* Removed scss/css files, as they're not used
  • Loading branch information
FaridAghili authored May 17, 2021
1 parent f072f70 commit 913bbf6
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 5 deletions.
Empty file removed dist/css/field.css
Empty file.
3 changes: 1 addition & 2 deletions dist/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"/js/field.js": "/js/field.js",
"/css/field.css": "/css/field.css"
"/js/field.js": "/js/field.js"
}
6 changes: 6 additions & 0 deletions resources/lang/fa/errors.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

return [
'model_should_use_trait' => 'خطا: مدل :model باید این trait ها را پیاده‌سازی کند: :class',
'bad_direction' => 'خطا: جهت بد',
];
5 changes: 5 additions & 0 deletions resources/lang/fa/messages.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'order_updated' => 'جایگاه با موفقیت به روز شد.',
];
1 change: 0 additions & 1 deletion resources/sass/field.scss

This file was deleted.

1 change: 0 additions & 1 deletion src/OrderNestedsetFieldServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public function boot()

Nova::serving(function (ServingNova $event) {
Nova::script('laravel-nova-order-nestedset-field', __DIR__.'/../dist/js/field.js');
Nova::style('laravel-nova-order-nestedset-field', __DIR__.'/../dist/css/field.css');
});

$this->publishes([__DIR__.'/../config' => config_path()], 'config');
Expand Down
1 change: 0 additions & 1 deletion webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ let mix = require('laravel-mix')

mix.setPublicPath('dist')
.js('resources/js/field.js', 'js')
.sass('resources/sass/field.scss', 'css')

0 comments on commit 913bbf6

Please sign in to comment.