File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,11 @@ function isCategoryNoneSelected(category: string): boolean {
3939 size =" sm"
4040 data-facet-category-action =" all"
4141 :data-facet-category =" category"
42- :aria-label =" `${$t('compare.facets.all')} ${getCategoryLabel(category)}`"
42+ :aria-label ="
43+ $t('compare.facets.select_all_category_facets', {
44+ category: getCategoryLabel(category),
45+ })
46+ "
4347 :aria-disabled =" isCategoryAllSelected(category)"
4448 class =" aria-disabled:(opacity-40 border-transparent)"
4549 @click =" !isCategoryAllSelected(category) && selectCategory(category)"
@@ -53,7 +57,11 @@ function isCategoryNoneSelected(category: string): boolean {
5357 size =" sm"
5458 data-facet-category-action =" none"
5559 :data-facet-category =" category"
56- :aria-label =" `${$t('compare.facets.none')} ${getCategoryLabel(category)}`"
60+ :aria-label ="
61+ $t('compare.facets.deselect_all_category_facets', {
62+ category: getCategoryLabel(category),
63+ })
64+ "
5765 :aria-disabled =" isCategoryNoneSelected(category)"
5866 class =" aria-disabled:(opacity-40 border-transparent)"
5967 @click =" !isCategoryNoneSelected(category) && deselectCategory(category)"
Original file line number Diff line number Diff line change 11291129 "facets" : {
11301130 "all" : " all" ,
11311131 "none" : " none" ,
1132+ "select_all_category_facets" : " Select all {category} facets" ,
1133+ "deselect_all_category_facets" : " Deselect all {category} facets" ,
11321134 "coming_soon" : " Coming soon" ,
11331135 "select_all" : " Select all facets" ,
11341136 "deselect_all" : " Deselect all facets" ,
You can’t perform that action at this time.
0 commit comments