Skip to content

Commit

Permalink
release: 5.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Tienisto committed Sep 6, 2021
1 parent 4965fc3 commit 0162e53
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 5.0.4

- fix: always escape `$` for `braces` and `double_braces`, escape `$` for `dart` if this symbol is alone

## 5.0.3

- fix: For country code only, `india` instead of `in` will be used for enum constant (`in` is a reserved keyword)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ It is recommended to add `fast_i18n` to `dev_dependencies`.
```yaml
dev_dependencies:
build_runner: any
fast_i18n: 5.0.3
fast_i18n: 5.0.4
```
**Step 2: Create JSON files**
Expand Down Expand Up @@ -626,7 +626,7 @@ Now you can leave out translations in secondary languages. Missing translations

In most cases you forgot the `setState` call.

A more elegant solution is to use `TranslationProvider(child: MyApp())` and then get you translation variable with `final t = Translations.of(context)`.
A more elegant solution is to use `TranslationProvider(child: MyApp())` and then get your translation variable with `final t = Translations.of(context)`.
It will automatically trigger a rebuild on `setLocale` for all affected widgets.

**My plural resolver is not specified?**
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: fast_i18n
description: Localization / Internationalization (i18n) solution. Use JSON files to create typesafe translations via source generation.
version: 5.0.3
version: 5.0.4
homepage: https://github.com/Tienisto/flutter-fast-i18n
publish_to: https://pub.dev

Expand Down

0 comments on commit 0162e53

Please sign in to comment.