appview: mark repo cards translate="no"

Repository cards hold user-written handles, names, descriptions and
image references. Browser translators (Chrome, Edge, Safari, and
Firefox once a translation is accepted) honor the translate attribute
on elements below the root, so the card contents stay as written while
the rest of the page translates. This does not suppress the browser's
translate offer, which is a page-level decision driven by language
detection.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011tf8SRvJiWHWkVcfbPUnDC
This commit is contained in:
Evan Jarrett
2026-09-11 09:25:48 -05:00
co-authored by Claude Fable 5.1
parent 16375ce302
commit 7b67b3b383
@@ -17,7 +17,7 @@
- LastUpdated: time.Time (optional) - Last push time
- RegistryURL: string - Registry URL for docker commands (e.g., "atcr.io")
*/}}
<article class="card bg-base-200 card-interactive p-4 flex flex-col justify-between min-h-60 w-full">
<article class="card bg-base-200 card-interactive p-4 flex flex-col justify-between min-h-60 w-full" translate="no">
<a href="/r/{{ .OwnerHandle }}/{{ .Repository }}" class="card-stretched-link" aria-label="{{ .OwnerHandle }}/{{ .Repository }} repository"></a>
<div class="flex gap-4 items-start">
{{ if .IconURL }}