mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Added font for Chinese traditional.
This commit is contained in:
parent
fb711d58f1
commit
a03e42e0d9
3 changed files with 9 additions and 2 deletions
|
|
@ -16,12 +16,18 @@ export default function LanguageButton() {
|
|||
return (
|
||||
<>
|
||||
<Head>
|
||||
{(locale === 'zh-CN' || locale === 'zh-TW') && (
|
||||
{locale === 'zh-CN' && (
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
)}
|
||||
{locale === 'zh-TW' && (
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
)}
|
||||
{locale === 'ja-JP' && (
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue