Skip to content
This repository was archived by the owner on Dec 7, 2023. It is now read-only.

Commit 1f028cb

Browse files
committed
fix typos
1 parent 67183f1 commit 1f028cb

4 files changed

Lines changed: 16 additions & 15 deletions

File tree

Resources/docs/breadcrumbs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ but attaching to the `theme.breadcrumb` event.
5151
## Translating breadcrumb items
5252

5353
You don't have to care about translating your breadcrumb, each item will be automatically displayed by applying the `|trans` filter.
54-
We apply the same principle like we do in the [Sidebar Navigation](sidebar_navigation.md).
54+
We apply the same principle as we do in the [Sidebar Navigation](sidebar_navigation.md).
5555

5656
## Next steps
5757

Resources/docs/knp_menu.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Install through composer with:
1010
composer require knplabs/knp-menu-bundle
1111
```
1212

13-
And add in your `config/bundles.php`:
13+
Then add in your `config/bundles.php`:
1414

1515
```
1616
<?php
@@ -28,7 +28,7 @@ admin_lte:
2828
enable: true
2929
```
3030
Enabling the KnpMenu support will disable the regular breadcrumb and menu events.
31-
Instead there will be a new `knp_menu.menu_builder` aliased `adminlte_main` which will dispatch a new event to hook into.
31+
Instead, there will be a new `knp_menu.menu_builder` aliased `adminlte_main` which will dispatch a new event to hook into.
3232

3333
### The Event
3434

@@ -164,7 +164,7 @@ Breadcrumb support is deactivated by default for KnpMenu. Its behavior can be co
164164
You have three choices:
165165
- set it to `false` (which is the default value) will deactivate the breadcrumb
166166
- set it to `true` will enable breadcrumb support and use the menubuilder configured in the key `main_menu` (whose default value is `adminlte_main`)
167-
- set it to your own menu alias (the default menu builder is aliased `adminlte_main`)
167+
- set it to your own menu alias (the default menu builder alias is `adminlte_main`)
168168

169169
Example 1 - activate breadcrumb by using your default menu:
170170

Resources/docs/migration_guide.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Migration from the AdminThemeBundle
22

3-
This is not a step-by-step migration guide but a collection of hints what needs to be done.
3+
This is not a step-by-step migration guide, but a collection of hints what needs to be done.
44
Many of you will have a highly adjusted version of the AdminThemeBundle, so the best tip is to search for `avanzu` and
5-
check if you need to change this occurence.
5+
check if you need to change this occurrence.
66

77
The following hints should be reviewed carefully, as they apply for all of your projects.
88

@@ -79,18 +79,18 @@ to
7979

8080
## Changed config
8181

82-
The configuration is now based in the file `admin_lte.yaml` with the main key `admin_lte`,
82+
The configuration is now in the file `admin_lte.yaml` with the main key `admin_lte`,
8383
which was previously `avanzu_admin_theme` in the file `avanzu_admin_theme.yaml` (depending on your setup this might be located somewhere else).
8484

85-
They following keys are not supported any longer and can be removed:
85+
The following keys must be removed:
8686

8787
- `use_twig: true`
8888
- `use_assetic: false`
8989
- `bower_bin: "/usr/local/bin/bower"`
9090

9191
The config key `control_sidebar: true` was a boolean before and is now an array (see below in "Configurable control-sidebar").
9292

93-
NOTE: only `YAML` configs are shipped and `XML` is not supported any longer.
93+
NOTE: only `YAML` configs are shipped, while `XML` is not supported any longer.
9494

9595
## Changed route aliases
9696

Resources/docs/twig_widgets.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Twig widgets
22

3-
In order to simplify the usage of widget and info boxes, and to help with a consitent look and feel throughout your application,
3+
In order to simplify the usage of widget and info boxes, and to help with a consistent look and feel throughout your application,
44
the bundle provides an [embeddable][3] template for the [box-widget][1] and the [infobox-widget][2].
55

66
## Global configuration
@@ -45,7 +45,8 @@ admin_lte:
4545
The box widget comes with several variables and blocks to define content and customize the rendering and behavior individually.
4646

4747
### Variables
48-
_**Notice:** since FALSE will not be considered a value by Twig and therefor activate the default filter, you will have to use `0` instead_
48+
_**Notice:** since FALSE will not be considered a value by Twig and therefor activate the default filter, you will have to use `0` instead.
49+
4950
<dl>
5051
<dt>collapsed
5152
<dd>Will render the Widget in a collapsed state and add and expander toolbutton.
@@ -60,10 +61,10 @@ _**Notice:** since FALSE will not be considered a value by Twig and therefor act
6061
<dd>Will render the .box-footer even if it has no content.
6162

6263
<dt>collapsible & collapsible_title
63-
<dd>Will add a collapse toolbutton. This setting will alwas be true if the box is defined as `collapsed`. The `collapsible_title` will be set as the button's `title` attribute.
64+
<dd>Will add a collapse tool-button. This setting will always be true if the box is defined as `collapsed`. The `collapsible_title` will be set as the button's `title` attribute.
6465

6566
<dt>removable & removable_title
66-
<dd>Will add a remove toolbutton. The `removable_title` will be set as the button's `title` attribute.
67+
<dd>Will add a remove tool-button. The `removable_title` will be set as the button's `title` attribute.
6768

6869
<dt>boxtype
6970
<dd>Sets the color-type of the box. The value should only be the type name without prefix.
@@ -74,7 +75,7 @@ _**Notice:** since FALSE will not be considered a value by Twig and therefor act
7475
<dl>
7576

7677
<dt>box_before
77-
<dd>Content just before the box's openig div.
78+
<dd>Content just before the box's opening div.
7879

7980
<dt>box_title
8081
<dd>Content inside of `.box-title`.
@@ -92,7 +93,7 @@ _**Notice:** since FALSE will not be considered a value by Twig and therefor act
9293
<dd>Content just after the box's closing `div`
9394

9495
<dt>box_body_class
95-
<dd>Addiotional css class for the box_body HTML element
96+
<dd>Additional css class for the box_body HTML element
9697

9798
<dt>box_attributes
9899
<dd>Additional HTML attributes for the outer box HTML element

0 commit comments

Comments
 (0)