Commit 8fa91a5
authored
fix(ui): missing translation support in SelectMany component (#14819)
### What?
Restores translation support to the `SelectMany` component in list
views. The component now properly uses the `useTranslation` hook and the
`general:select` translation key.
### Why?
The `SelectMany` component had its translation functionality commented
out, causing it to display hardcoded English text ("Select X") instead
of being localized for different languages. This broke
internationalization support for users viewing the admin panel in
non-English locales.
### How?
Uncommented the `useTranslation` import and hook usage, then updated the
button text to use the `t('general:select')` translation key followed by
the count.
Fixes #148161 parent 2b7aa7a commit 8fa91a5
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | | - | |
| 29 | + | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
0 commit comments