diff --git a/resources/lang/ar.json b/resources/lang/ar.json index b6e76ae..1667a4b 100644 --- a/resources/lang/ar.json +++ b/resources/lang/ar.json @@ -61,5 +61,19 @@ "Select Page": "اختر الصفحة", "Recent Post": "أحدث التدوينات", "Post link": "رابط تدوينة", - "Page link": "رابط صفحة" + "Page link": "رابط صفحة", + "Libraries": "المكتبات", + "Image": "صورة", + "File": "ملف", + "Video": "فيديو", + "library": "مكتبة", + "created at": "أنشأت بتاريخ", + "Show File": "عرض الملف", + "Library Title": "عنوان المكتبة", + "Library Slug": "رابط المكتبة", + "Library Description": "وصف المكتبة", + "Library Categories": "تصنيف المكتبة", + "Library Type": "نوع المحتوى", + "Library File": "ملف المكتبة", + "file url": "رابط الملف" } diff --git a/resources/lang/en.json b/resources/lang/en.json index 9500645..7600466 100644 --- a/resources/lang/en.json +++ b/resources/lang/en.json @@ -61,5 +61,19 @@ "Select Page": "Select Page", "Recent Post": "Recent Post", "Post link": "Post link", - "Page link": "Page link" + "Page link": "Page link", + "Libraries": "Libraries", + "Image": "Image", + "File": "File", + "Video": "Video", + "library": "library", + "created at": "created at", + "Show File": "Show File", + "Library Title": "Library Title", + "Library Slug": "Library Slug", + "Library Description": "Library Description", + "Library Categories": "Library Categories", + "Library Type": "Library Type", + "Library File": "Library File", + "file url": "file url" } diff --git a/resources/lang/fr.json b/resources/lang/fr.json index c074193..c8f1c45 100644 --- a/resources/lang/fr.json +++ b/resources/lang/fr.json @@ -61,5 +61,19 @@ "Select Page": "Select Page", "Recent Post": "Recent Post", "Post link": "Post link", - "Page link": "Page link" + "Page link": "Page link", + "Libraries": "Libraries", + "Image": "Image", + "File": "File", + "Video": "Video", + "library": "library", + "created at": "created at", + "Show File": "Show File", + "Library Title": "Library Title", + "Library Slug": "Library Slug", + "Library Description": "Library Description", + "Library Categories": "Library Categories", + "Library Type": "Library Type", + "Library File": "Library File", + "file url": "file url" } diff --git a/src/Console/PublishCommand.php b/src/Console/PublishCommand.php index 3a55641..48affa2 100644 --- a/src/Console/PublishCommand.php +++ b/src/Console/PublishCommand.php @@ -28,17 +28,17 @@ class PublishCommand extends Command public function handle() { // publish Sky files - $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-config', '--force' => $this->option('force') ?? false]); - $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-migrations', '--force' => $this->option('force') ?? false]); - $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-translations', '--force' => $this->option('force') ?? false]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-config', '--force' => $this->option('force')]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-migrations', '--force' => $this->option('force')]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-translations', '--force' => $this->option('force')]); - $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-seeder', '--force' => $this->option('force') ?? false]); - $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-factories', '--force' => $this->option('force') ?? false]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-seeder', '--force' => $this->option('force')]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-factories', '--force' => $this->option('force')]); // publish Zeus files - $this->callSilent('vendor:publish', ['--tag' => 'zeus-config', '--force' => $this->option('force') ?? false]); - $this->callSilent('vendor:publish', ['--tag' => 'zeus-views', '--force' => $this->option('force') ?? false]); - $this->callSilent('vendor:publish', ['--tag' => 'zeus-assets', '--force' => $this->option('force') ?? false]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-config', '--force' => $this->option('force')]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-views', '--force' => $this->option('force')]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-assets', '--force' => $this->option('force')]); $this->output->success('Zeus and Sky has been Published successfully'); } diff --git a/src/Filament/Resources/LibraryResource.php b/src/Filament/Resources/LibraryResource.php index 62eef12..f3ccd0b 100644 --- a/src/Filament/Resources/LibraryResource.php +++ b/src/Filament/Resources/LibraryResource.php @@ -60,19 +60,19 @@ public static function form(Form $form): Form Textarea::make('description') ->maxLength(255) - ->label(__('Description')) + ->label(__('Library Description')) ->columnSpan(2), SpatieTagsInput::make('category') ->type('library') - ->label(__('Categories')), + ->label(__('Library Categories')), Select::make('type') - ->label(__('Type')) + ->label(__('Library Type')) ->visible(config('zeus-sky.library_types') !== null) ->options(config('zeus-sky.library_types', null)), - Section::make(__('File')) + Section::make(__('Library File')) ->schema([ Radio::make('upload_or_url') ->label('')