Skip to content

Commit

Permalink
docs: update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
Tienisto committed Jul 12, 2021
1 parent 4725183 commit f67a8fb
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
## 4.11.0

- feat: simplify ${arg} to $arg if possible
- feat: simplify `${arg}` to `$arg` if possible
- feat: make internal translation class instance final

## 4.10.0

- feat: support for custom contexts, e.g. `t.greet(name: 'Tom', context: Gender.male)`, more information in the README
Added support for custom contexts.
Example:
```json
{
"greet": {
"male": "Hello Mr $name",
"female": "Hello Ms $name"
}
}
```
```dart
String a = t.greet(name: 'Anna', context: GenderContext.female);
```
For more information, see README.

## 4.9.2

Expand Down

0 comments on commit f67a8fb

Please sign in to comment.