Skip to content

Commit

Permalink
text fix && update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleMengBot committed Mar 13, 2022
1 parent fd488b5 commit d458555
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,27 @@ server {
}
```
一个音乐标题对应一个链接。为方便搜索建议加入简繁体。

## 关于截图功能
### 依赖
- chromedriver
下载地址:https://chromedriver.storage.googleapis.com/index.html
解压后将可执行文件移动到```/usr/bin```
- Chrome
安装步骤:
```
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*.deb # 此步可能显示安装错误,继续运行下面的命令即可
sudo apt-get install -f
google-chrome --version # 查看版本,根据版本号下载对应的chromedriver驱动。
```
- *中文字体
请将准备好的中文字体(.ttf)复制到```/usr/share/fonts/```,之后运行:
```
fc-cache -fv
fc-list :lang=zh # 检查
```
- 同时依赖于Tor
## 构建
1. clone此仓库
2. 仓库目录下运行
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/zh-CN.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ val LANG: MutableMap<String, String> = mutableMapOf(
"<a href=\"tg://user?id=%s\">%s</a> %s",
"delete_button" to "删除",
"usa" to "你说的都对,但是据美国约翰斯·霍普金斯大学统计数据显示,截至美国东部时间%s日%s时%s分," +
"美国累计新冠肺炎确诊病例超过%s万例,达%s万例,累计死亡病例超过%s万例,达%s万例。过去24小时,美国新增确诊病例%s例,新增死亡病例%s例。",
"美国累计新冠肺炎确诊病例超过%s万例,达%s例,累计死亡病例超过%s万例,达%s例。过去24小时,美国新增确诊病例%s例,新增死亡病例%s例。",
"india" to "你说的都对,但是据印度卫生部统计数据显示,截至印度时间%s日%s时%s分," +
"印度累计新冠肺炎确诊病例超过%s万例,达%s万例,累计死亡病例超过%s万例,达%s万例。过去24小时,印度新增确诊病例%s例,新增死亡病例%s例。",
"印度累计新冠肺炎确诊病例超过%s万例,达%s例,累计死亡病例超过%s万例,达%s例。过去24小时,印度新增确诊病例%s例,新增死亡病例%s例。",
"getting" to "正在获取...",
"sending" to "正在发送...",
"processing" to "正在处理...",
Expand Down

0 comments on commit d458555

Please sign in to comment.