mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-22 17:23:54 +01:00
Language fixes.
This commit is contained in:
parent
aaf4c605be
commit
1e2d8849cf
@ -16,13 +16,7 @@ export default function LanguageButton() {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Head>
|
<Head>
|
||||||
{locale === 'zh-CN' && (
|
{(locale === 'zh-CN' || locale === 'zh-TW') && (
|
||||||
<link
|
|
||||||
href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap"
|
|
||||||
rel="stylesheet"
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
{locale === 'zh-TW' && (
|
|
||||||
<link
|
<link
|
||||||
href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap"
|
href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap"
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "umami",
|
"name": "umami",
|
||||||
"version": "1.2.0",
|
"version": "1.3.0",
|
||||||
"description": "A simple, fast, website analytics alternative to Google Analytics. ",
|
"description": "A simple, fast, website analytics alternative to Google Analytics. ",
|
||||||
"author": "Mike Cao <mike@mikecao.com>",
|
"author": "Mike Cao <mike@mikecao.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
1
public/country/cs-CZ.json
Normal file
1
public/country/cs-CZ.json
Normal file
File diff suppressed because one or more lines are too long
1
public/country/zh-TW.json
Normal file
1
public/country/zh-TW.json
Normal file
File diff suppressed because one or more lines are too long
@ -20,6 +20,10 @@ body {
|
|||||||
font-family: 'Noto Sans SC', sans-serif !important;
|
font-family: 'Noto Sans SC', sans-serif !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.zh-TW {
|
||||||
|
font-family: 'Noto Sans SC', sans-serif !important;
|
||||||
|
}
|
||||||
|
|
||||||
.ja-JP {
|
.ja-JP {
|
||||||
font-family: 'Noto Sans JP', sans-serif !important;
|
font-family: 'Noto Sans JP', sans-serif !important;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user