Skip to content

Commit

Permalink
add missing trans
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed May 20, 2023
1 parent f677be1 commit c221dba
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 7 deletions.
16 changes: 15 additions & 1 deletion resources/lang/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "رابط الملف"
}
16 changes: 15 additions & 1 deletion resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
16 changes: 15 additions & 1 deletion resources/lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
8 changes: 4 additions & 4 deletions src/Filament/Resources/LibraryResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -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('')
Expand Down

0 comments on commit c221dba

Please sign in to comment.