diff --git a/resources/views/pages/en/components/decoration_fragment.blade.php b/resources/views/pages/en/components/decoration_fragment.blade.php
index 0d81c1c5..bda22f44 100644
--- a/resources/views/pages/en/components/decoration_fragment.blade.php
+++ b/resources/views/pages/en/components/decoration_fragment.blade.php
@@ -11,7 +11,7 @@
Make
- Sometimes you may want to return only part of a template in your HTTP response. For this you can use
+ Sometimes you need to return only part of a template in your HTTP response. For this you can use
Blade Fragments.
The Fragment decorator allows you to create corresponding blocks.
@@ -25,7 +25,7 @@
- The name()
method sets the name for the fragment.
+ Method name()
sets the name for the fragment.
@@ -50,7 +50,7 @@ public function components(): array
Asynchronous event
- You can wrap an area in a Fragment and hang an event on this area,
+ You can incorporate an area in a Fragment and set an event on this area,
by calling which it will be possible to update the fragment
diff --git a/resources/views/pages/en/components/system_profile.blade.php b/resources/views/pages/en/components/system_profile.blade.php
index 3fd2884c..07fc560e 100644
--- a/resources/views/pages/en/components/system_profile.blade.php
+++ b/resources/views/pages/en/components/system_profile.blade.php
@@ -10,7 +10,7 @@
Make
- The Profile system component is used to display information about an authorized user in
+ The system component Profile is used to display information about an authorized user in
MoonShine.
@@ -24,7 +24,7 @@ class Profile
.
- $withBorder
- split before the component.
+ $withBorder
- to split before the component.
diff --git a/resources/views/pages/en/components/system_sidebar.blade.php b/resources/views/pages/en/components/system_sidebar.blade.php
index 0cc74cd9..a7bc11a8 100644
--- a/resources/views/pages/en/components/system_sidebar.blade.php
+++ b/resources/views/pages/en/components/system_sidebar.blade.php
@@ -14,7 +14,7 @@
- You can create a Sidebar using the static make()
method
+ You can create a Sidebar using the static method make()
class Sidebar
.
diff --git a/resources/views/pages/en/components/system_top_bar.blade.php b/resources/views/pages/en/components/system_top_bar.blade.php
index 872bb628..05e07cee 100644
--- a/resources/views/pages/en/components/system_top_bar.blade.php
+++ b/resources/views/pages/en/components/system_top_bar.blade.php
@@ -15,7 +15,7 @@
- You can create a TopBar using the static make()
method
+ You can create a TopBar using the static method make()
class TopBar
.
@@ -24,7 +24,7 @@ class TopBar
.
- В качестве параметра метод make()
принимает массив с компонентами.
+ As a parameter, method make()
takes an array with components.
@@ -58,8 +58,8 @@ public static function build(): LayoutBuilder
Actions
- The actions()
method of the TopBar component allows you to add additional elements to the areas
- actions. The method takes an array of components as a parameter.
+ Method actions()
of the TopBar component allows you to add additional elements to the
+ actions areas. The method takes an array of components as a parameter.
diff --git a/resources/views/pages/en/resources/authorization.blade.php b/resources/views/pages/en/resources/authorization.blade.php
index 009330c1..d831169f 100644
--- a/resources/views/pages/en/resources/authorization.blade.php
+++ b/resources/views/pages/en/resources/authorization.blade.php
@@ -1,7 +1,7 @@
- We do not deviate from the Laravel concept and with the help of Laravel policy we can work with
+ We do not deviate from the Laravel concept and with the Laravel policy help we can work with
access rights within the MoonShine admin panel
diff --git a/resources/views/pages/en/resources/events.blade.php b/resources/views/pages/en/resources/events.blade.php
index 25da3181..b10e1e69 100644
--- a/resources/views/pages/en/resources/events.blade.php
+++ b/resources/views/pages/en/resources/events.blade.php
@@ -1,11 +1,12 @@
- Since MoonShine works based on standard eloquent methods for adding, editing and deleting, you can easily use standard Laravel events:
+ Since MoonShine operates using standard eloquent methods for adding, editing, and deleting, it is effortless to utilise standard Laravel events:
events
- But there is also a need to become attached specifically to events within the MoonShine resources! To do this, you need to implement the events you need in the resource.
+ However, it is also essential to connect with the events within the MoonShine resources.
+ To achieve this, you must incorporate the necessary events into the resource.
diff --git a/resources/views/pages/en/resources/fields.blade.php b/resources/views/pages/en/resources/fields.blade.php
index 40926b92..b316fe58 100644
--- a/resources/views/pages/en/resources/fields.blade.php
+++ b/resources/views/pages/en/resources/fields.blade.php
@@ -66,7 +66,7 @@ public function fields(): array // [tl! focus:start]
Field separation
- Sometimes there is a need to exclude or change the order of some fields in an index or detail page.
+ Sometimes there is a need to exclude or change the order of some fields order in an index or detail page.
To do this, you can use methods that allow you to redefine fields for the corresponding pages:
indexFields()
, formFields()
or detailFields()
.
diff --git a/resources/views/pages/en/resources/filters.blade.php b/resources/views/pages/en/resources/filters.blade.php
index ce19fec6..55ce0c36 100644
--- a/resources/views/pages/en/resources/filters.blade.php
+++ b/resources/views/pages/en/resources/filters.blade.php
@@ -2,7 +2,7 @@
To create filters, fields are also used:
- they are displayed only on the main page of the section.
+ they are displayed only on the section main page.
@@ -55,7 +55,7 @@ public function filters(): array // [tl! focus:start]
- If you need to cache the state of filters, use the saveFilterState
property in the resource
+ If you need to cache the filters state, use the saveFilterState
property in the resource
namespace App\MoonShine\Resources;
diff --git a/resources/views/pages/en/resources/form.blade.php b/resources/views/pages/en/resources/form.blade.php
index e40a0017..a29fb1fb 100644
--- a/resources/views/pages/en/resources/form.blade.php
+++ b/resources/views/pages/en/resources/form.blade.php
@@ -13,7 +13,7 @@
- It is enough to add rules in the rules()
method of the model resource in the usual manner.
+ It is enough to add rules in the model resource rules()
method in the usual manner.
@@ -132,7 +132,7 @@ public function formButtons(): array
- You can also use the buttons
method, but in this case the buttons will be on all other pages of the resource
+ You can also use the buttons
method, but in this case, the buttons will be on the resource all other pages
diff --git a/resources/views/pages/en/resources/import_export.blade.php b/resources/views/pages/en/resources/import_export.blade.php
index 2c354aa9..a3dad076 100644
--- a/resources/views/pages/en/resources/import_export.blade.php
+++ b/resources/views/pages/en/resources/import_export.blade.php
@@ -57,7 +57,7 @@ public function filters(): array
- Be sure to add ID to the import, otherwise records will only be added without updating existing ones.
+ Be sure to add ID to the import, otherwise, records will only be added without updating existing ones.
@@ -239,7 +239,7 @@ public function export(): ?ExportHandler
ImportHandler and ExportHandler extend the base class Handler
- which implements additional methods.
+ that implements additional methods.
@@ -301,7 +301,7 @@ public function import(): ?ImportHandler
- The unless()
method is the inverse of the when()
method.
+ The unless()
method is the when()
method the inverse.
diff --git a/resources/views/pages/en/resources/index.blade.php b/resources/views/pages/en/resources/index.blade.php
index f73ee3e3..c565e121 100644
--- a/resources/views/pages/en/resources/index.blade.php
+++ b/resources/views/pages/en/resources/index.blade.php
@@ -19,7 +19,7 @@
Basics
- At the heart of any admin panel are sections for editing data.
+ At any admin panel heart are sections for editing data.
MoonShine is no exception to this
and uses Eloquent
models to work with the database,
and for sections there are standard Laravel resource controllers and resource routes.
@@ -39,7 +39,7 @@
- But this work can be entrusted to the MoonShine admin panel,
+ However, this work can be entrusted to the MoonShine admin panel,
which will generate and declare them independently.
@@ -56,7 +56,7 @@
- - - change the name of your resource if required
+ - - change your resource name if required
- - select resource type
@@ -80,7 +80,7 @@
- As a result, a PostResource
class will be created, which will be the basis of a new section in the panel.
+ As a result, a PostResource
class will be created, which will be a new section basis in the panel.
It is located, by default, in the app/MoonShine/Resources
directory.
MoonShine will automatically, based on the name, link the resource to the app/Models/Post
model.
The section title will also be generated automatically and will be “Posts”.
@@ -137,7 +137,7 @@ class PostResource extends ModelResource
Register the resource in the system and immediately add a link to the section in the navigation menu
- You can use the service provider MoonShineServiceProvider
.
+ you can use the service provider MoonShineServiceProvider
.
@@ -239,7 +239,7 @@ class PostResource extends ModelResource
By default, when creating and editing a record, a redirect is made to the page with the form,
- but this behavior can be controlled
+ but this behaviour can be controlled
@@ -263,7 +263,7 @@ public function redirectAfterDelete(): string
It often happens that it is necessary to create a resource in which the ability to delete will be excluded,
- or add or edit. And here we are not talking about authorization, but about the global exclusion of these sections.
+ or add or edit. In addition, here we are not talking about authorization, but about the global exclusion of these sections.
This is done extremely simply using the getActiveActions
method in the resource
@@ -285,7 +285,7 @@ public function getActiveActions(): array // [tl! focus:start]
Boot
- If you need to add logic to the operation of a resource when it is active and loaded,
+ If you need to add logic to a resource operation when it is active and loaded,
then use the onBoot
method
diff --git a/resources/views/pages/en/resources/metrics.blade.php b/resources/views/pages/en/resources/metrics.blade.php
index 91a4c5ac..5b01cacb 100644
--- a/resources/views/pages/en/resources/metrics.blade.php
+++ b/resources/views/pages/en/resources/metrics.blade.php
@@ -1,7 +1,7 @@
- On the index page of the resource model, you can display information blocks with statistics - metrics.
+ On the resource model index page, you can display information blocks with statistics - metrics.
To do this, in the metrics()
method, return an array from ValueMetric
.
diff --git a/resources/views/pages/en/resources/pages.blade.php b/resources/views/pages/en/resources/pages.blade.php
index 20bad2f2..330d72c6 100644
--- a/resources/views/pages/en/resources/pages.blade.php
+++ b/resources/views/pages/en/resources/pages.blade.php
@@ -12,7 +12,7 @@
Basics
- MoonShine provides the ability to customize the crud of ModelResource pages,
+ MoonShine provides the ability to customize the ModelResource pages crud,
for this it is necessary, when creating a resource through the command,
select resource type
Model resource with pages
.
@@ -66,7 +66,7 @@ public function pages(): array // [tl! focus:start]
Fields
in MoonShine are used not only for data input, but also for their output.
- The fields()
method in the crud class of the page allows you to specify the required fields.
+ The fields()
method in the page crud class allows you to specify the required fields.
@@ -110,7 +110,7 @@ public function fields(): array // [tl! focus:start]
To customize layers, the corresponding methods are used: topLayer()
, mainLayer()
and
- bottomLayer()
. Methods must return an array of Components.
+ bottomLayer()
. Methods must return Components an array.
diff --git a/resources/views/pages/en/resources/query.blade.php b/resources/views/pages/en/resources/query.blade.php
index 34cc4826..01b9e55c 100644
--- a/resources/views/pages/en/resources/query.blade.php
+++ b/resources/views/pages/en/resources/query.blade.php
@@ -11,7 +11,7 @@
Request
- It is often necessary to initially change all of the resource's queries to the database.
+ It is often necessary to initially change the resource's queries all to the database.
You can easily override query builder in a resource.
@@ -106,7 +106,7 @@ public function searchQuery(): Builder // [tl! focus:start]
Sorting
- By overriding the resolveOrder()
method, you can customize the sorting of records.
+ By overriding the resolveOrder()
method, you can customize the records sorting.
diff --git a/resources/views/pages/en/resources/query_tags.blade.php b/resources/views/pages/en/resources/query_tags.blade.php
index 6171e9d8..b2ce7d9f 100644
--- a/resources/views/pages/en/resources/query_tags.blade.php
+++ b/resources/views/pages/en/resources/query_tags.blade.php
@@ -10,7 +10,7 @@
Basics
- Sometimes there is a need to create a set of filters (a selection of results)
+ Sometimes there is a need to create filters (results a selection) a set
and display it on the listing. Tags have been created for such situations.
diff --git a/resources/views/pages/en/resources/search.blade.php b/resources/views/pages/en/resources/search.blade.php
index 895750c3..0125a0cb 100644
--- a/resources/views/pages/en/resources/search.blade.php
+++ b/resources/views/pages/en/resources/search.blade.php
@@ -145,7 +145,7 @@ public function search(): array
Search by relationship
- You can search by relationships; to do this, you need to specify which field of the relationship to search.
+ You can search by relationships; to do this, you need to specify which the relationship field to search.
@@ -180,7 +180,7 @@ public function search(): array
- This package uses the Algolia
search engine, which takes into account the context and type of request,
+ This package uses the Algolia
search engine, which takes into account the context, and request type,
possible typos, synonyms and word forms, entering queries in different languages and much more.
diff --git a/resources/views/pages/en/resources/table.blade.php b/resources/views/pages/en/resources/table.blade.php
index 091b379a..14a1e8ec 100644
--- a/resources/views/pages/en/resources/table.blade.php
+++ b/resources/views/pages/en/resources/table.blade.php
@@ -56,7 +56,7 @@ public function buttons(): array
Attributes
- Through model resources, it is possible to customize the tr
and td
of the data table.
+ Through model resources, it is possible to customize the data table tr
and td
.
To do this, you must use the appropriate trAttributes()
and tdAttributes()
methods,
which need to pass a closure that returns attributes for the table component.