improve manager translations for zh-rCN & zh-rTW (#247)

* add README_TW

* Update README_CN.md

* add Simplified Chinese for website

add Simplified Chinese for website

fix some mistakes in README_CN

* Update zh/devices.html

* Update zh/features.html

* Update zh/devices.html

* Update zh/features.html

* Update zh/index.html

* Add Traditional Chinese translation for manager

* Try to add switching function for website

* fix manager translations for zh-rCH & zh-rTW

* try to add language switcher for manager

* try to add language switcher for manager

* try to add language switching function for manager app

* try to add language switching function for manager app

* try to add language switching function for manager app

* discard invalid changes
This commit is contained in:
AxelPLN(Axel Yinjia Huang)
2025-03-23 19:50:22 +08:00
committed by GitHub
parent 2a154c1985
commit a223781fae
6 changed files with 142 additions and 4 deletions

116
docs/index.html Normal file
View File

@@ -0,0 +1,116 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Home | KernelSU Next</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap" rel="stylesheet">
<link rel="icon" href="assets/icons/ksu-next-tab.png" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link rel="stylesheet" href="assets/css/main.css">
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-md sticky-top py-3">
<div class="container">
<a class="navbar-brand d-flex align-items-center" href="#">
<span>KernelSU Next</span>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link text-light" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link text-light" href="#installation">Installation</a>
</li>
<li class="nav-item">
<a class="nav-link text-light" href="pages/features.html">Features</a>
</li>
<li class="nav-item">
<a class="nav-link text-light" href="pages/devices.html">Devices</a>
</li>
<li class="nav-item">
<a class="nav-link text-light list">Languages</a>
<a class="nav-link text-light" href="#">English</a>
<a class="nav-link text-light" href="https://rifsxd.github.io/KernelSU-Next/zh">简体中文</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/rifsxd/KernelSU-Next" target="_blank">
<i class="fab fa-github fa-lg"></i>
</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Header -->
<header>
<div class="container text-center">
<div class="header-icon">
<img src="assets/icons/ksu-next.png" width="80" height="80">
</div>
<h1 class="fw-bold">KernelSU Next</h1>
<p class="lead">A kernel-based root solution for Android</p>
<p>Supports kernel 4.4 - 6.6 (Non-GKI &amp; GKI)</p>
</div>
</header>
<!-- Installation Section -->
<section id="installation" class="py-5">
<div class="container">
<h2 class="text-center mb-4">Installation</h2>
<p class="text-center">Run the following commands below for different installation options, they should be run inside the root of your kernel's directory.</p>
<h3 class="mt-4">Latest release</h3>
<div class="highlight mt-3">
<code>curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -</code>
<button class="btn btn-copy mt-2" onclick="copyToClipboard(this)">Copy</button>
</div>
<h3 class="mt-4">Next branch (dev)</h3>
<div class="highlight mt-3">
<code>curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -s next</code>
<button class="btn btn-copy mt-2" onclick="copyToClipboard(this)">Copy</button>
</div>
<h3 class="mt-4">Specific tag</h3>
<div class="highlight mt-3">
<code>curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -s v1.0.2-R14</code>
<button class="btn btn-copy mt-2" onclick="copyToClipboard(this)">Copy</button>
</div>
</div>
</section>
<!-- Contact Information Section -->
<section id="contact" class="py-5">
<div class="container text-center">
<h2 class="mb-4">Contact Us</h2>
<p>If you have any questions or need support, feel free to reach out:</p>
<div class="contact-icons">
<a href="https://github.com/rifsxd/KernelSU-Next/issues" target="_blank">
<i class="fab fa-github"></i>
</a>
<a href="https://t.me/ksunext_discussions" target="_blank">
<i class="fab fa-telegram-plane"></i>
</a>
</div>
</div>
</section>
<!-- Footer -->
<footer class="text-center">
<div class="container">
<p>&copy; 2025 KernelSU Next. All rights reserved. <a href="https://github.com/rifsxd/KernelSU-Next" target="_blank">GitHub</a></p>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/copy.min.js"></script>
</body>
</html>