update simplified chinese (zh)

This commit is contained in:
2025-06-10 18:07:04 +02:00
parent d5721b1096
commit f7c72faa7c
7 changed files with 15 additions and 0 deletions

View File

@ -170,3 +170,18 @@ if (currentLanguage === "fa") {
document.getElementById("kyc_light-desc").remove() document.getElementById("kyc_light-desc").remove()
document.getElementById("kyc_light-providers").remove() document.getElementById("kyc_light-providers").remove()
} }
if (currentLanguage === "zh") {
// load font
// <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700&display=swap" rel="stylesheet">
const link = document.createElement("link")
link.href = "https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700&display=swap"
link.rel = "stylesheet"
document.head.appendChild(link)
// set font family for body
document.body.style.fontFamily = "'Noto Serif SC', serif"
// set font family for headings
document.querySelectorAll("h1, h2, h3").forEach((el) => {
el.style.fontFamily = "'Noto Serif SC', serif"
})
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 38 KiB