本地化翻译

This commit is contained in:
2025-01-05 22:33:17 +08:00
parent 1b6fb5fa81
commit 5a0f888000
7 changed files with 124 additions and 93 deletions

View File

@@ -1,31 +1,30 @@
# EW
(stands for ew why)
A (mostly functioning) server for Love Live! School idol festival 2 MIRACLE LIVE!
一款基本能正常运行的《Love Live! 学园偶像祭2 MIRACLE LIVE!》服务器程序
## Building
## 构建
### Linux
#### Requirements
- [perl](https://www.perl.org/get.html) (This is normally pre-installed)
#### 环境要求
- [perl](https://www.perl.org/get.html) (这通常是预装的)
- [rust](https://www.rust-lang.org/tools/install)
- [npm](https://www.npmjs.com/)
- The [libssl-dev](https://packages.debian.org/buster/libssl-dev) package. This will vary across distros.
- [libssl-dev](https://packages.debian.org/buster/libssl-dev) (这在不同的发行版中会有所不同)
`apt install -y npm libssl-dev perl`
### Windows
#### Requirements
#### 环境要求
- [Strawberry Perl](https://strawberryperl.com/)
- [rust](https://www.rust-lang.org/tools/install)
### Packaging/Running
### 打包/运行
**Build npm:**
**编译WebUI**
`cd webui && npm install && npm run build`
**Build Rust:**
**编译Rust**
Debug: `cargo run`
Release: `cargo build --release --jobs=16`