Skip to content

Commit

Permalink
fix: typos localizations_setup.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EchoEllet committed Nov 26, 2023
1 parent 6579b95 commit c054b31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/configurations/localizations_setup.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Localizations Setup
in addition to the required delegatess which mentioned above in [Using custom app widget](./using_custom_app_widget.md)
in addition to the required delegates mentioned above in [Using custom app widget](./using_custom_app_widget.md)

which are:
```dart
Expand All @@ -9,7 +9,7 @@ localizationsDelegates: const [
DefaultWidgetsLocalizations.delegate,
],
```
which are used by offical flutter widgets
which are used by official Flutter widgets

The library also needs the
```dart
Expand All @@ -19,7 +19,7 @@ FlutterQuillLocalizations.delegate

To offer the default localizations.

But **you don't have to** since we have wraped the `QuillEditor` and `QuillToolbar` with `FlutterQuillLocalizationsWidget` which will check if it sets then it will go, if not, then it will be provided only for them, so it's not really required, but if you are overriding the `localizationsDelegates` you could also add the `FlutterQuillLocalizations.delegate`
But **you don't have to** since we have wrapped the `QuillEditor` and `QuillToolbar` with `FlutterQuillLocalizationsWidget` which will check if it sets then it will go, if not, then it will be provided only for them, so it's not really required, but if you are overriding the `localizationsDelegates` you could also add the `FlutterQuillLocalizations.delegate`
which won't change anything

There are additional notes in the [Translation](../translation.md) section
There are additional notes in the [Translation](../translation.md) section

0 comments on commit c054b31

Please sign in to comment.