fix(i18n): every label a screen reader or tooltip says is translated
- The Plex playlist rows' "reorder"/"remove", the Plex filter chip's "remove" and the player slider's "reset" were English literals; each now names its row or setting in HU/EN. - The playlist show header's chevron had no accessible name; its decorative thumbnail button left the tab order. - The opt-in Glass tuner panel was English only: every word is translated, and each slider's label now names its number box and range. - New `local/literal-a11y-text` lint rule (with its contract test): a literal word in aria-label, title, placeholder, alt and the other spoken/shown attributes fails lint.
This commit is contained in:
@@ -249,5 +249,60 @@
|
||||
"clear": "Clear",
|
||||
"empty": "No event matches the filter.",
|
||||
"emptyAll": "No events yet."
|
||||
},
|
||||
"tuner": {
|
||||
"open": "Open the glass tuner",
|
||||
"tab": "◐ GLASS",
|
||||
"title": "◐ Glass Tuner",
|
||||
"lab": "lab",
|
||||
"collapse": "Collapse",
|
||||
"treatment": "Dark treatment",
|
||||
"tabs": {
|
||||
"glass": "Glass",
|
||||
"palette": "Palette"
|
||||
},
|
||||
"paletteHint": "Overrides the live scheme (inline on <html>). Reset clears these back to the scheme.",
|
||||
"export": "Export → bake in",
|
||||
"syncHint": "Load the values of the theme you're currently viewing (light or dark) into the sliders",
|
||||
"sync": "⟳ Sync to current theme",
|
||||
"copy": "Copy CSS",
|
||||
"copied": "Copied ✓",
|
||||
"reset": "Reset",
|
||||
"slider": {
|
||||
"blur": "Blur radius",
|
||||
"saturate": "Saturation",
|
||||
"darkBright": "Dark brightness",
|
||||
"surfaceAlpha": "Panel opacity",
|
||||
"cardAlpha": "Card opacity",
|
||||
"menuAlpha": "Menu opacity",
|
||||
"borderAlpha": "Border opacity",
|
||||
"edge": "Edge-light rim",
|
||||
"inset": "Top highlight",
|
||||
"scrim": "Under-text scrim",
|
||||
"ambient": "Ambient intensity"
|
||||
},
|
||||
"color": {
|
||||
"bg": "Background",
|
||||
"surface": "Surface",
|
||||
"card": "Card",
|
||||
"border": "Border",
|
||||
"fg": "Text",
|
||||
"muted": "Muted",
|
||||
"accent": "Accent"
|
||||
},
|
||||
"preset": {
|
||||
"current": {
|
||||
"name": "Glass/image",
|
||||
"hint": "The default (over image)"
|
||||
},
|
||||
"solid": {
|
||||
"name": "Solid (flat)",
|
||||
"hint": "As shown w/ image off"
|
||||
},
|
||||
"readable": {
|
||||
"name": "Max readable",
|
||||
"hint": "Solid + strong scrim"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user