--- import { useT } from "../../i18n/translations"; const isRu = Astro.url.pathname.startsWith("/ru"); const T = useT(isRu ? "ru" : "en"); ---
16
464
{ [ { id: "pg-upper", label: T.uppercase }, { id: "pg-lower", label: T.lowercase }, { id: "pg-digits", label: T.digits }, { id: "pg-symbols", label: T.symbols }, ].map(({ id, label }) => ( )) }
{T.copied}