Skip to content

Commit

Permalink
Multi-select was not translated in the user lists (#5834)
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Slamich <[email protected]>
  • Loading branch information
g123k and teolemon authored Nov 11, 2024
1 parent 2168ab1 commit 649cb54
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/smooth_app/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -3105,6 +3105,9 @@
"@product_page_compatibility_score": {
"description": "Compatibility score on top of the product page. The sentence is \"100%\" Compatible"
},
"user_lists_action_multi_select": "Multi-select",
"@user_lists_action_multi_select": {
"description": "The button label for multi-selecting products in a user list"
"product_page_compatibility_score_tooltip": "Your compatibility score: {score}%",
"@product_page_compatibility_score_tooltip": {
"description": "Message explaining that the score is the compatibility score",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ class _ProductListPageState extends State<ProductListPage>
? null
: FloatingActionButton.extended(
onPressed: () => setState(() => _selectionMode = true),
label: const Text('Multi-select'),
label:
Text(appLocalizations.user_lists_action_multi_select),
icon: const Icon(Icons.checklist),
),
appBar: SmoothAppBar(
Expand Down

0 comments on commit 649cb54

Please sign in to comment.