Lint: Adding more checks for non internationalized strings (#5625)

## Summary

Catch more user visible (or audible) text that isn't
internationalizable.

## Changes

- **What**: Linter now checks other attributes for raw text.

## Review Focus

What other properties have leaked English text to non-English locales
that aren't in here?
This commit is contained in:
Alexander Brown
2025-11-24 21:55:47 -08:00
committed by GitHub
parent 135169003f
commit 8b5cfe7e55
14 changed files with 99 additions and 49 deletions

View File

@@ -23,7 +23,7 @@
<div
role="button"
:tabindex="0"
aria-label="Play/Pause"
:aria-label="$t('g.playPause')"
class="flex size-6 cursor-pointer items-center justify-center rounded hover:bg-interface-menu-component-surface-hovered"
@click="togglePlayPause"
>
@@ -64,7 +64,7 @@
<div
role="button"
:tabindex="0"
aria-label="Volume"
:aria-label="$t('g.volume')"
class="flex size-6 cursor-pointer items-center justify-center rounded hover:bg-interface-menu-component-surface-hovered"
@click="toggleMute"
>
@@ -85,7 +85,7 @@
ref="optionsButtonRef"
role="button"
:tabindex="0"
aria-label="More Options"
:aria-label="$t('g.moreOptions')"
class="flex size-6 cursor-pointer items-center justify-center rounded hover:bg-interface-menu-component-surface-hovered"
@click="toggleOptionsMenu"
>