Show locale code in guest language select

Full language names (e.g. Bahasa Indonesia) made the
guest top-bar control too wide next to Get access.

Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
Émile Ré
2026-07-29 09:32:49 +02:00
parent 6cbfe7e755
commit b1b23988fc

View File

@@ -76,7 +76,7 @@ export function LocaleSelect({
{(value: UrlLocale | null) => ( {(value: UrlLocale | null) => (
<span className="flex items-center gap-1.5"> <span className="flex items-center gap-1.5">
<GlobeIcon className="size-3.5 shrink-0" aria-hidden /> <GlobeIcon className="size-3.5 shrink-0" aria-hidden />
{value ? URL_LOCALE_LABELS[value] : null} {value ? value.toUpperCase() : null}
</span> </span>
)} )}
</SelectTrigger> </SelectTrigger>