fix(admin): polish categories

Add accessible names to select-all, per-row select, and per-row
visibility-toggle checkboxes in the table view — none had them,
including the visibility toggle whose <label> wrapped only the input
with no text content (empty accessible name). Tree/grid views already
had aria-label on their row checkboxes; table view was the gap.

New adminCategories.selectAllRows/selectRow/toggleVisibility keys
added across en/ru/hy.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
sdarbinyan
2026-07-19 23:57:49 +04:00
parent 8956cd00d7
commit a0d3f086c1
5 changed files with 15 additions and 3 deletions

View File

@@ -1448,6 +1448,9 @@ export const en: Translations = {
replaceImage: 'Replace image',
search: 'Search categories…',
showDeleted: 'Show deleted',
selectAllRows: 'Select all categories',
selectRow: 'Select category',
toggleVisibility: 'Toggle visibility',
create: 'Create category',
edit: 'Edit category',
title: 'Title',

View File

@@ -1443,6 +1443,9 @@ export const hy: Translations = {
replaceImage: 'Փոխարինել պատկերը',
search: 'Փնտրել կատեգորիաներ…',
showDeleted: 'Ցույց տալ ջնջվածները',
selectAllRows: 'Ընտրել բոլոր կատեգորիաները',
selectRow: 'Ընտրել կատեգորիան',
toggleVisibility: 'Փոխել տեսանելիությունը',
create: 'Ստեղծել կատեգորիա',
edit: 'Խմբագրել կատեգորիան',
title: 'Անուն',

View File

@@ -1443,6 +1443,9 @@ export const ru: Translations = {
replaceImage: 'Заменить изображение',
search: 'Поиск категорий…',
showDeleted: 'Показать удалённые',
selectAllRows: 'Выбрать все категории',
selectRow: 'Выбрать категорию',
toggleVisibility: 'Переключить видимость',
create: 'Создать категорию',
edit: 'Редактировать категорию',
title: 'Название',

View File

@@ -1456,6 +1456,9 @@ export interface Translations {
replaceImage: string;
search: string;
showDeleted: string;
selectAllRows: string;
selectRow: string;
toggleVisibility: string;
create: string;
edit: string;
title: string;