Skip to content

Commit

Permalink
updated product remove message (#1345)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhattabhi013 authored Mar 26, 2022
1 parent e15720d commit 7e8fd55
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions packages/smooth_app/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,13 @@
"@country_label": {
"description": "Explanation as to why users should select their country."
},
"product_removed": "Product removed",
"@product_removed": {
"description": "Product got removed from a list"
"product_removed_comparison": "Product removed from comparison",
"@product_removed_comparison": {
"description": "Product got removed from comparison list"
},
"product_removed_history": "Product removed from history",
"@product_removed_history": {
"description": "Product got removed from history"
},
"product_could_not_remove": "Could not remove product",
"@product_could_not_remove": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class _PersonalizedRankingPageState extends State<PersonalizedRankingPage> {
SnackBar(
content: Text(
removed
? appLocalizations.product_removed
? appLocalizations.product_removed_comparison
: appLocalizations.product_could_not_remove,
),
duration: const Duration(seconds: 3),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class _ProductListPageState extends State<ProductListPage> {
SnackBar(
content: Text(
removed
? appLocalizations.product_removed
? appLocalizations.product_removed_history
: appLocalizations.product_could_not_remove,
),
duration: const Duration(seconds: 3),
Expand Down

0 comments on commit 7e8fd55

Please sign in to comment.