umami-software / umami

Umami is a simple, fast, privacy-focused alternative to Google Analytics.
https://umami.is
MIT License
22.15k stars 4.13k forks source link

Remove `className={locale}` and add `lang` attribute to `LanguageButton()` #2919

Open quiple opened 1 month ago

quiple commented 1 month ago

Thanks to the lang attribute in the html tag, the appropriate language-specific font family is automatically applied, so you don't need to specify a language-specific font family (or rather, it breaks consistency, as it turns off Inter in that part)

And I've applied the lang attribute to each language label in the LanguageButton().

vercel[bot] commented 1 month ago

@quiple is attempting to deploy a commit to the umami-software Team on Vercel.

A member of the Team first needs to authorize it.