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:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user