Skip to content

Commit

Permalink
accessibility name change
Browse files Browse the repository at this point in the history
  • Loading branch information
Doppen committed Jun 20, 2024
1 parent 313d230 commit 2a1f94a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apps/researcher/src/app/[locale]/objects/settings-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ export default function SettingsMenu() {
<button
onClick={() => viewChange(ListView.Grid)}
className="p-1 sm:py-2 sm:px-3 rounded-full text-xs bg-neutral-200/50 hover:bg-neutral-300/50 text-neutral-800 transition flex items-center gap-1"
aria-label={t('gridAria')}
aria-label={t('accessibilityGrid')}
>
<Squares2X2Icon className="w-4 h-4 fill-neutral-800" />
{t('grid')}
</button>
<button
onClick={() => viewChange(ListView.List)}
className="p-1 sm:py-2 sm:px-3 rounded-full text-xs bg-neutral-200/50 hover:bg-neutral-300/50 text-neutral-800 transition flex items-center gap-1"
aria-label={t('listAria')}
aria-label={t('accessibilityList')}
>
<ListBulletIcon className="w-4 h-4 fill-neutral-800" />
{t('list')}
Expand Down
4 changes: 2 additions & 2 deletions apps/researcher/src/messages/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"settings": "View settings",
"resultView": "Result view",
"grid": "Grid",
"gridAria": "View results as a grid",
"accessibilityGrid": "View results as a grid",
"list": "List",
"listAria": "Set the amount of results",
"accessibilityList": "Set the amount of results",
"resultLimit": "Number of results",
"accessibilityResultLimit": "Set the number of results",
"images": "Images",
Expand Down
4 changes: 2 additions & 2 deletions apps/researcher/src/messages/nl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"settings": "Weergave",
"resultView": "Resultaatweergave",
"grid": "Raster",
"gridAria": "Bekijk resultaten in een raster",
"accessibilityGrid": "Bekijk resultaten in een raster",
"list": "Lijst",
"listAria": "Bekijk resultaten in een lijst",
"accessibilityList": "Bekijk resultaten in een lijst",
"resultLimit": "Aantal resultaten",
"accessibilityResultLimit": "Bewerk het aantal resultaten",
"images": "Afbeeldingen",
Expand Down

0 comments on commit 2a1f94a

Please sign in to comment.