Skip to content

Commit

Permalink
Merge pull request #3165 from jonataslaw/wasm
Browse files Browse the repository at this point in the history
RC-8
  • Loading branch information
jonataslaw committed Aug 13, 2024
2 parents dc01d5d + 9be1e4e commit bfb8bca
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [5.0.0-release-candidate-8]
- Add wasm compilation support to GetConnect
- Refactor example

## [5.0.0-release-candidate-7]
- Fix latest flutter version

## [5.0.0-release-candidate-6]

-Fix Snackbar, upgrade to flutter 3.22 @Aniketkhote, improve parse route @korutx, fix popScope @wowbox, improve defaultDialog @leeyi, add support to wasm compilation @Ty, fix typos @CodeWithEmad, fix snackbar cancel @seungsuyoo update GetConnect @DaZealous and @ wheeOs, add bengali language @aratheunseen, fix lint issues: @MuhammamdArslanKhan
Expand Down
18 changes: 9 additions & 9 deletions test/internationalization/internationalization_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@ void main() {

await tester.pumpAndSettle();

expect('details'.tr, 'Details');
expect('number_of_prizes'.tr, 'Number of prizes');
expect('average_age_of_laureates'.tr, 'Average age of laureates');
expect('covid'.tr, 'Corona Virus');
expect('total_confirmed'.tr, 'Total Confirmed');
expect('total_deaths'.tr, 'Total Deaths');

Get.updateLocale(const Locale('pt', 'BR'));

await tester.pumpAndSettle();

expect('details'.tr, 'Detalhes');
expect('number_of_prizes'.tr, 'Número de prêmios');
expect('average_age_of_laureates'.tr, 'Idade média dos laureados');
expect('covid'.tr, 'Corona Vírus');
expect('total_confirmed'.tr, 'Total confirmado');
expect('total_deaths'.tr, 'Total de mortes');

Get.updateLocale(const Locale('en', 'EN'));

await tester.pumpAndSettle();

expect('details'.tr, 'Details');
expect('number_of_prizes'.tr, 'Number of prizes');
expect('average_age_of_laureates'.tr, 'Average age of laureates');
expect('covid'.tr, 'Corona Virus');
expect('total_confirmed'.tr, 'Total Confirmed');
expect('total_deaths'.tr, 'Total Deaths');
});
}

0 comments on commit bfb8bca

Please sign in to comment.