Skip to content

Commit 08a4e40

Browse files
author
Nikolai Nikolajevic
committed
fix typo
1 parent 836205b commit 08a4e40

36 files changed

+67
-67
lines changed

basics/localization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ format is used.
7676

7777
::: tip
7878

79-
You may also use the Larvel localization helpers in Vue components.
79+
You may also use the Laravel localization helpers in Vue components.
8080

8181
- \_\_()
8282
- trans()

basics/navigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ application, such as language and/or permissions.
3232

3333
### Main
3434

35-
The **main** navigation is inteded to provide quick access to the important
35+
The **main** navigation is intended to provide quick access to the important
3636
components of your application. These could be for example Models or page
3737
content. Entries of the main navigation can be divided into
3838
[sections](#sections), additionally [groups](#groups) can be created which are

basics/page.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
## Introduction
44

55
Pages are a fundamental part of the package. They provide a convenient and yet
6-
powerfull way to configure pages for the Vue application in PHP. They can be
6+
powerful way to configure pages for the Vue application in PHP. They can be
77
used to integrate **Blade Views**, **Vue components** or ready-made components
88
such as **charts** or form fields for models.
99

1010
Pages are used to configure forms with fields, index pages, dashboards with
11-
charts or basicly any kind of page for the admin backend.
11+
charts or basically any kind of page for the admin backend.
1212

1313
## Create a Page
1414

crud/actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function run(Collection $models)
4343
}
4444
```
4545

46-
There is a helper for each vairant:
46+
There is a helper for each variant:
4747

4848
```php
4949
return response()->success('My message.');

crud/forms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ $home = HomeConfig::load();
119119
echo $home->title;
120120
```
121121

122-
### Retrive A Full Collection
122+
### Retrieve A Full Collection
123123

124124
It is also possible to load all data for a collection as shown in the example:
125125

crud/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function index(CrudIndex $page)
1717

1818
`Ignite\Crud\CrudIndex` is an instance of `Ignite\Page\Page` so all functions
1919
described in the [Page](../basics/page.md) documentation can be used. This
20-
includes bindung Vue components or Blade views components to a page:
20+
includes binding Vue components or Blade views components to a page:
2121

2222
```php
2323
$page->component('foo'); // Vue component
@@ -46,7 +46,7 @@ The [table config](table.md) describes how columns with **images**,
4646

4747
## Eager Loading
4848

49-
Eager loadings can be performend in the `query` method. Here you can modify the
49+
Eager loadings can be performed in the `query` method. Here you can modify the
5050
query that is executed when loading the index table items.
5151

5252
```php
@@ -169,7 +169,7 @@ $page->table(...)
169169

170170
To add filters with form fields like e.g. `checkboxes` or `date` pickers you can
171171
create custom filters. A filter is generated via the artisan command
172-
`lit:fitler`:
172+
`lit:filter`:
173173

174174
```shell
175175
php artisan lit:filter MyCustomFilter
@@ -238,7 +238,7 @@ public function form(FilterForm $form)
238238
}
239239
```
240240

241-
#### Apply Field Attribtues To The Query
241+
#### Apply Field Attributes To The Query
242242

243243
The next thing you want to do is to apply the field attributes to the query:
244244

crud/model.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ depending on the set **locale**:
215215

216216
```php
217217
app()->setLocale('en');
218-
echo $post->title; // Echo's englisch value.
218+
echo $post->title; // Echo's english value.
219219

220220
app()->setLocale('de');
221221
echo $post->title; // Echo's german value.
@@ -283,7 +283,7 @@ when using **translatable** Models.
283283
## Fill Model On Create & Update
284284

285285
You may want fill attributes to the model before it gets created or updated from
286-
the user via a crud form. This can be achieved by modifing the Model in either
286+
the user via a crud form. This can be achieved by modifying the Model in either
287287
`fillOnStore` or `fillOnUpdate` the crud controller.
288288

289289
The following example show's how to assign an author to a post by setting the
@@ -342,7 +342,7 @@ php artisan lit:permissions
342342

343343
### Apply Permissions
344344

345-
The controller that comes with the crud contains the authozire method. The
345+
The controller that comes with the crud contains the authorize method. The
346346
second parameter is the operation to be executed. So now we can check if the
347347
authenticated user has the permission to operate on the group `posts` by
348348
returning `$user->can("{$operation} posts")`:

crud/show.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function show(CrudShow $page)
1616

1717
`Ignite\Crud\CrudShow` is an instance of `Ignite\Page\Page` so all functions
1818
described in the [Page](../basics/page.md) documentation can be used. This
19-
includes bindung Vue components or Blade views to a page:
19+
includes binding Vue components or Blade views to a page:
2020

2121
```php
2222
$page->component('foo'); // Vue component
@@ -54,7 +54,7 @@ You may customize your card with the following options:
5454
| --------------------- | ------------------------------------------------------------------- |
5555
| `$card->title('Foo')` | The title description for the card. |
5656
| `$card->width(1/2)` | Width of the card. |
57-
| `$card->secondary()` | Give's your card a secondary background, for less important content |
57+
| `$card->secondary()` | Gives your card a secondary background, for less important content |
5858

5959
## Group
6060

crud/table.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $table->col('Product')->value('{product.name}');
3737
#### Display Options
3838

3939
Maybe you want to display a value representative for a state, this can be
40-
achived by passing the attribute name as the first and an array of options as
40+
achieved by passing the attribute name as the first and an array of options as
4141
the second parameter to the value method:
4242

4343
```php
@@ -94,7 +94,7 @@ $table->money('amount');
9494
#### Currency
9595

9696
For formatting the
97-
[formatCurrnency](https://www.php.net/manual/de/numberformatter.formatcurrency.php)
97+
[formatCurrency](https://www.php.net/manual/de/numberformatter.formatcurrency.php)
9898
method of the PHP
9999
[NumberFormatter](https://www.php.net/manual/de/class.numberformatter.php) is
100100
used. This makes it possible to choose the 3-letter ISO 4217 currency code. The
@@ -111,7 +111,7 @@ locale of the authenticated user is used by default.
111111
$table->money('amount', 'USD', 'en_US');
112112
```
113113

114-
Usefull **ISO 4217** codes:
114+
Useful **ISO 4217** codes:
115115

116116
| Code | Currency | Example (`de_DE`) |
117117
| ------- | ----------------- | ----------------- |
@@ -305,7 +305,7 @@ $table->relation('commentable', [
305305

306306
## Toggle
307307

308-
To edit the boolean state of a moel directly in a table, a **switch** can be
308+
To edit the boolean state of a model directly in a table, a **switch** can be
309309
displayed in a column using `toggle`. The name of the corresponding attribute
310310
must be specified as the first parameter. In addition, the `routePrefix` for the
311311
update route must be specified, if the table is built in a CRUD or form config,
@@ -337,7 +337,7 @@ With the `view` method you can easily add Blade Views to your table column:
337337
$table->view('lit::columns.hello')->label('Hello');
338338
```
339339

340-
```html{lit/resouces/views/columns/hello.blade.php}
340+
```html{lit/resources/views/columns/hello.blade.php}
341341
<div class="badge badge-secondary">
342342
Hello World!
343343
</div>
@@ -347,15 +347,15 @@ $table->view('lit::columns.hello')->label('Hello');
347347

348348
You can use Vue components in your blade component:
349349

350-
```html{lit/resouces/views/columns/hello.blade.php}
350+
```html{lit/resources/views/columns/hello.blade.php}
351351
<b-badge>
352352
Hello World!
353353
</b-badge>
354354
```
355355

356356
Use the **prop** `item` to display model attributes:
357357

358-
```html{lit/resouces/views/columns/hello.blade.php}
358+
```html{lit/resources/views/columns/hello.blade.php}
359359
<b-badge v-html="item.state" />
360360
```
361361

@@ -392,7 +392,7 @@ export default {
392392
required: true,
393393
type: Object
394394
},
395-
vairants: {
395+
variants: {
396396
type: Array,
397397
required: true
398398
}

fields/block.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ $repeatables->add('text', function($form, $preview) {
7575

7676
## Reusable Repeatables
7777

78-
Sometimes you want to use repeatables in different places. Resuable repeatables
78+
Sometimes you want to use repeatables in different places. Reusable repeatables
7979
can be created using the `lit:repeatable` command. The **preview** and **form**
8080
can then be configured in the newly generated class in the `lit/app/Repeatables`
8181
directory.

fields/boolean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ protected $casts = [
2727
| ----------------------------------- | ------------------------------------------------------------------ |
2828
| `$field->title('Live')` | The title description for this field. |
2929
| `$field->hint('Foo.')` | A short hint that should describe how to use the field. |
30-
| `$field->info('...')` | Questionmark with tooltip. (Can contain longer field descriptions) |
30+
| `$field->info('...')` | Question mark with tooltip. (Can contain longer field descriptions) |
3131
| `$field->width(1/2)` | Width of the field. |
3232
| `$field->rules('required')` | Rules that should be applied when **updating** and **creating**. |
3333
| `$field->creationRules('required')` | Rules that should be applied when **creating**. |

fields/checkboxes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ protected $casts = [
4040
| ----------------------------------- | ---------------------------------------------------------------------- |
4141
| `$field->title('Foo')` | The title description for this field. |
4242
| `$field->hint('Foo.')` | A short hint that should describe how to use the field.` |
43-
| `$field->info('...')` | Questionmark with tooltip. (Can contain longer field descriptions) |
43+
| `$field->info('...')` | Question mark with tooltip. (Can contain longer field descriptions) |
4444
| `$field->width(1/2)` | Width of the field. |
45-
| `$field->options(['foo', 'bar'])` | An array with checkboxe values and descriptions. |
45+
| `$field->options(['foo', 'bar'])` | An array with checkbox values and descriptions. |
4646
| `$field->stacked()` | Places each checkbox one over the other instead of next to each other. |
4747
| `$field->rules('required')` | Rules that should be applied when **updating** and **creating**. |
4848
| `$field->creationRules('required')` | Rules that should be applied when **creating**. |

fields/conditions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ $form->input('news_title')
2626
->when('type, 'news');
2727
```
2828

29-
A varity of conditions are available for any field:
29+
A variety of conditions are available for any field:
3030

3131
| Condition | Description |
3232
| ------------------------------------------- | ------------------------------------------- |
3333
| `$field->when('type', 'foo')` | Matches the exact given value. |
34-
| `$field->whenNot('type', 'foo')` | When field doesnt match the given value. |
34+
| `$field->whenNot('type', 'foo')` | When field doesn't match the given value. |
3535
| `$field->whenContains('type', 'foo')` | Matches the given substring or array value. |
36-
| `$field->whenNotContains('type', 'foo')` | When field doesnt contain the given value. |
36+
| `$field->whenNotContains('type', 'foo')` | When field doesn't contain the given value. |
3737
| `$field->whenIn('type', ['foo', 'bar'])` | When field is any of the given values. |
3838
| `$field->whenNotIn('type', ['foo', 'bar'])` | When field is not any of the given values. |
3939

fields/date-time.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ $form->datetime('publish_at')
4848
| Method | Description |
4949
| ----------------------------------- | ---------------------------------------------------------------- |
5050
| `$field->title('Publish At')` | The title description for this field. |
51-
| `$field->formatted('LL')` | The shown datetime format. (Usefull formats listed below.) |
51+
| `$field->formatted('LL')` | The shown datetime format. (Useful formats listed below.) |
5252
| `$field->hint('Pick a date.')` | A closure where all repeatable blocks are defined. |
5353
| `$field->onlyDate()` | Pick date only (default: `true`). |
5454
| `$field->onlyTime()` | Pick time only (default: `false`). |
@@ -60,7 +60,7 @@ $form->datetime('publish_at')
6060

6161
## Formats
6262

63-
Usefull formats:
63+
Useful formats:
6464

6565
| Key | Example Result |
6666
| ------ | -------------------------------- |

fields/icon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ config `lit.php`.
4242
| -------------------------------------------- | --------------------------------------------------------------------------- |
4343
| `$field->title('Foo')` | The title description for this field. |
4444
| `$field->hint('Foo.')` | A short hint that should describe how to use the field. |
45-
| `$field->info('...')` | Questionmark with tooltip. (Can contain longer field descriptions) |
45+
| `$field->info('...')` | Question mark with tooltip. (Can contain longer field descriptions) |
4646
| `$field->width(1/2)` | Width of the field. |
4747
| `$field->icons(['<i class="my-icon"></i>'])` | List of selectable icons. (By default all fontawesome icons are selectable) |
4848
| `$field->rules('required')` | Rules that should be applied when **updating** and **creating**. |

fields/image.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ $form->image('images')->title('Images')->maxFileSize(25);
129129
| `$field->title('Image')` | The title for this form field. |
130130
| `$field->translatable()` | Should the field be translatable. |
131131
| `$field->hint('Foo.')` | A short hint that should describe how to use the form field.` |
132-
| `$field->info('...')` | Questionmark with tooltip. (Can contain longer field descriptions) |
132+
| `$field->info('...')` | Question mark with tooltip. (Can contain longer field descriptions) |
133133
| `$field->width(1/2)` | Width of the form field. |
134134
| `$field->sortable()` | Should the images be sortable? (default: `true`) |
135-
| `$field->maxFiles(1)` | Maxmium number of uploadable images. (default: `5`) |
135+
| `$field->maxFiles(1)` | Maximum number of uploadable images. (default: `5`) |
136136
| `$field->maxFileSize(100)` | Maximum file size. (default: `12`) |
137137
| `$field->expand()` | Expand the preview image to its full width. |
138138
| `$field->crop(16/9)` | Opens a Crop-Tool before the upload. (default: `false`) |

fields/input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ $form->input('length')
3232
| `$field->placeholder()` | The placeholder for this form field. |
3333
| `$field->type()` | Sets an input type for the input. [Available types](https://bootstrap-vue.js.org/docs/components/form-input#input-type): **text**, **number**, **email**, **password**, **search**, **url**, **tel**, **date**, **time**, **range**, **color** |
3434
| `$field->hint()` | A short hint that should describe how to use the form field. |
35-
| `$field->info('...')` | Questionmark with tooltip. (Can contain longer field descriptions) |
35+
| `$field->info('...')` | Question mark with tooltip. (Can contain longer field descriptions) |
3636
| `$field->width()` | Width of the field. |
3737
| `$field->translatable()` | Should the form field be translatable? For translatable crud models, the translatable fields are automatically recognized. |
3838
| `$field->max()` | Max characters. |

fields/list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $form->list('menue')
5656
});
5757
```
5858

59-
## Retreive Data
59+
## Retrieve Data
6060

6161
## Methods
6262

fields/masks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $form->input('credit_card')->mask([
1717
]);
1818
```
1919

20-
Checkout some usefull masks on
20+
Checkout some useful masks on
2121
[nosir.github.io/cleave.js](https://nosir.github.io/cleave.js/).
2222

2323
## Add Addons
@@ -49,7 +49,7 @@ $form->input('phone_number')->mask([
4949
## Conditional Options
5050

5151
You may use attribute values to add conditional options by adding the attribute
52-
in curley brackets:
52+
in curly brackets:
5353

5454
```php
5555
$form->select('country')->options([

fields/modal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ $form->modal('update_email')
3333
| `$field->title()` | The title description for this field. |
3434
| `$field->placeholder()` | The placeholder for this field. |
3535
| `$field->hint()` | A short hint that should describe how to use the field.` |
36-
| `$field->info()` | Questionmark with tooltip. (Can contain longer field descriptions) |
36+
| `$field->info()` | Question mark with tooltip. (Can contain longer field descriptions) |
3737
| `$field->width()` | Width of the field. |
3838
| `$field->confirmWithPassword()` | Appends a password field to the end of the form that is required to confirm the modal form using the current users password. |

fields/password.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ $modal->password('password_confirmation')
4444
| `$field->title('Password')` | The title description for this field. |
4545
| `$field->placeholder('Password')` | The placeholder for this field. |
4646
| `$field->hint('Choose a Password.')` | A short hint that should describe how to use the field.` |
47-
| `$field->info('...')` | Questionmark with tooltip. (Can contain longer field descriptions) |
47+
| `$field->info('...')` | Question mark with tooltip. (Can contain longer field descriptions) |
4848
| `$field->width(1/2)` | Width of the field. |
49-
| `$field->confirm()` | Requires the user to type in the current passwort to confirm update or create. |
49+
| `$field->confirm()` | Requires the user to type in the current password to confirm update or create. |
5050
| `$field->rulesOnly()` | The password wont be stored, only validation rules are used. |
5151
| `$field->rules('min:5')` | Rules that should be applied when **updating** and **creating**. |
5252
| `$field->creationRules('min:5')` | Rules that should be applied when **creating**. |

0 commit comments

Comments
 (0)