Skip to content

Commit

Permalink
Prepare for release 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Pietro Dazzi committed Mar 24, 2020
1 parent 039dbf9 commit ba7ed76
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,9 @@ Plural translator improvements

## [0.12.0]

New loader provided: ```NamespaceFileTranslationLoader```
New loader provided: ```NamespaceFileTranslationLoader```

## [0.13.0]

In the I18nText and I18nPlural widgets, the child parameter is now optional.
The default value of the child parameter is now ```Text("")```
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,10 @@ FlutterI18n.plural(buildContext, "your.key", pluralValue);

Text widget shorthand:
```dart
I18nText("your.key", Text(""))
I18nText("your.key", Text(""), translationParams: {"user": "Flutter lover"})
I18nPlural("clicked.times", 2, Text(""))
I18nText("your.key", child: Text(""))
I18nText("your.key", translationParams: {"user": "Flutter lover"})
I18nPlural("clicked.times", 1)
I18nPlural("clicked.times", 2, child: Text(""))
```

For more informations and details, read the [CHANGELOG.md](CHANGELOG.md).
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_i18n
description: i18n made easy for Flutter. With flutter_i18n you can make your app international, using just a simple .json file!
version: 0.12.0
version: 0.13.0
homepage: https://github.com/ilteoood/flutter_i18n

dependencies:
Expand Down

0 comments on commit ba7ed76

Please sign in to comment.