up 升级中文不对

This commit is contained in:
SirPdboy 2022-10-17 22:15:04 +08:00 committed by GitHub
parent 1f31cf9189
commit fa1011b943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 2041 additions and 33 deletions

View File

@ -9,11 +9,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-netspeedtest
LUCI_TITLE:=LuCI Support for netspeedtest
LUCI_DEPENDS:=+python3 +iperf3 +speedtest-web +python3-speedtest-cli
LUCI_DEPENDS:=+python3 +iperf3 +speedtest-web
LUCI_PKGARCH:=all
PKG_VERSION:=2.0.1
PKG_RELEASE:=20221017
PKG_MAINTAINER:=<https://github.com/sirpdboy/NetSpeedTest>
PKG_MAINTAINER:=<https://github.com/sirpdboy/netspeedtest>
include $(TOPDIR)/feeds/luci/luci.mk
# call BuildPackage - OpenWrt buildroot signature

View File

@ -3,16 +3,18 @@
<img src="https://img.vim-cn.com/a1/8713845a4aa922ac96619b0d2fb3d6919d37fc.png" alt="图飞了😂" title="NetSpeedTest" align="right" height="180" />
</a>
![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/说明1.jpg)
[luci-app-NetSpeedTest — 网络速度测试2.0](https://github.com/sirpdboy/NetSpeedTest)
欢迎来到sirpdboy的源码仓库
=
Welcome to sirpdboy's git source of packages
-
[luci-app-NetSpeedTest — 网络速度测试1.5完整版](https://github.com/sirpdboy/NetSpeedTest)
======================
[![](https://img.shields.io/badge/-目录:-696969.svg)](#readme) [![](https://img.shields.io/badge/-写在前面-F5F5F5.svg)](#写在前面-) [![](https://img.shields.io/badge/-编译说明-F5F5F5.svg)](#编译说明-) [![](https://img.shields.io/badge/-说明-F5F5F5.svg)](#说明-) [![](https://img.shields.io/badge/-捐助-F5F5F5.svg)](#捐助-)
**认真阅读完毕** 本页面,本页面包含注意事项和如何使用。
a new netspeedtest luci app bese luci-app-netspeedtest
a new NetSpeedTest luci app bese luci-app-NetSpeedTest
-
## 写在前面:[![](https://img.shields.io/badge/-写在前面-F5F5F5.svg)](#写在前面-)
@ -38,8 +40,6 @@ a new netspeedtest luci app bese luci-app-netspeedtest
10.新插件难免有bug 请不要大惊小怪。欢迎提交bug。
11.安装需要依赖: python3 iperf3 。
## 编译说明 [![](https://img.shields.io/badge/-编译说明-F5F5F5.svg)](#编译说明-)
将NetSpeedTest 主题添加至 LEDE/OpenWRT 源码的方法。
@ -49,48 +49,45 @@ a new netspeedtest luci app bese luci-app-netspeedtest
```Brach
# feeds获取源码
src-git netspeedtest https://github.com/sirpdboy/netspeedtest
src-git NetSpeedTest https://github.com/sirpdboy/NetSpeedTest
```
```Brach
# 更新feeds并安装主题
scripts/feeds update netspeedtest
scripts/feeds install luci-app-netspeedtest
scripts/feeds update NetSpeedTest
scripts/feeds install luci-app-NetSpeedTest
```
## 下载源码方法二:
```Brach
# 下载源码
git clone https://github.com/sirpdboy/netspeedtest package/netspeedtest
git clone https://github.com/sirpdboy/NetSpeedTest package/NetSpeedTest
make menuconfig
```
## 配置菜单
```Brach
make menuconfig
# 找到 LuCI -> Applications, 选择 luci-app-netspeedtest, 保存后退出。
# 找到 LuCI -> Applications, 选择 luci-app-NetSpeedTest, 保存后退出。
```
## 编译
```Brach
# 编译固件
make package/netspeedtest/luci-app-netspeedtest/{clean,compile} V=s
make package/NetSpeedTest/luci-app-NetSpeedTest/{clean,compile} V=s
```
## 说明 [![](https://img.shields.io/badge/-说明-F5F5F5.svg)](#说明-)
源码来源https://github.com/sirpdboy/netspeedtest/luci-app-netspeedtest
源码来源https://github.com/sirpdboy/NetSpeedTest/luci-app-NetSpeedTest
![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/说明2.jpg)
你可以随意使用其中的源码,但请注明出处。
============================
# My other project
网络速度测试 https://github.com/sirpdboy/NetSpeedTest
定时设置插件 : https://github.com/sirpdboy/luci-app-autotimeset
定时关机重启 : https://github.com/sirpdboy/luci-app-autopoweroff
关机功能插件 : https://github.com/sirpdboy/luci-app-poweroffdevice
@ -102,18 +99,23 @@ btmob 主题: https://github.com/sirpdboy/luci-theme-btmob
系统高级设置 : https://github.com/sirpdboy/luci-app-advanced
ddns-go动态域名: https://github.com/sirpdboy/luci-app-ddns-go
## 捐助 [![](https://img.shields.io/badge/-捐助-F5F5F5.svg)](#捐助-)
**如果你觉得此项目对你有帮助,请捐助我们,以使项目能持续发展,更加完善。··请作者喝杯咖啡~~~**
## 捐助
**你们的支持就是我的动力!**
![screenshots](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/说明3.jpg)
### 捐助方式
| <img src="https://img.shields.io/badge/-支付宝-F5F5F5.svg" href="#赞助支持本项目-" height="25" alt="图飞了😂"/> | <img src="https://img.shields.io/badge/-微信-F5F5F5.svg" height="25" alt="图飞了😂" href="#赞助支持本项目-"/> |
| :-----------------: | :-------------: |
|![xm1](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/支付宝.png) | ![xm1](https://raw.githubusercontent.com/sirpdboy/openwrt/master/doc/微信.png) |
|<img src="https://img.vim-cn.com/fd/8e2793362ac3510094961b04407beec569b2b4.png" width="150" height="150" alt="图飞了😂" href="#赞助支持本项目-"/>|<img src="https://img.vim-cn.com/c7/675730a88accebf37a97d9e84e33529322b6e9.png" width="150" height="150" alt="图飞了😂" href="#赞助支持本项目-"/>|
<a href="#readme">
<img src="https://img.shields.io/badge/-返回顶部-orange.svg" alt="图飞了😂" title="返回顶部" align="right"/>
</a>
###### [解决 Github 网页上图片显示失败的问题](https://blog.csdn.net/qq_38232598/article/details/91346392)
[![](https://img.shields.io/badge/TG群-点击加入-FFFFFF.svg)](https://t.me/joinchat/AAAAAEpRF88NfOK5vBXGBQ)

View File

@ -6,7 +6,7 @@
<%+cbi/valueheader%>
<div class="cbi-map">
<iframe id="speedtest-web" style="width: 100%; min-height: 500px; border: none; border-radius: 3px;"></iframe>
<iframe id="speedtest-web" style="width: 90%; min-height: 500px; border: none; border-radius: 3px;"></iframe>
</div>
<script type="text/javascript">
document.getElementById("speedtest-web").src = window.location.protocol + "//" + window.location.hostname + ":8989";

View File

@ -16,8 +16,8 @@ msgstr ""
msgid "Net Speedtest"
msgstr "网速测试"
msgid "Network speed diagnosis test (including intranet and extranet)"
msgstr "网络速度诊断测试(包括内网、外网、特定端口服务器测速)"
msgid "Network speed diagnosis test (including intranet and extranet)<br/>For specific usage, see:"
msgstr "网络速度诊断测试(包括内网、外网、特定端口服务器测速)<br/>使用说明见:"
msgid "Lan Speedtest Iperf3"
msgstr "内网iperf3吞吐测速"
@ -28,13 +28,13 @@ msgstr "内网测速网页版"
msgid "Running state"
msgstr "运行状态"
msgid "The iperf3 service is running."
msgid "The Iperf3 service is running."
msgstr "iperf3服务已启动"
msgid "The iperf3 service is not running."
msgid "The Iperf3 service is not running."
msgstr "iperf3服务未启动"
msgid "iperf3 Status"
msgid "Iperf3 Status"
msgstr "iperf3服务状态"
msgid "The Speedtestweb service is running."

View File

@ -15,7 +15,7 @@ USE_PROCD=1
PROG=/usr/bin/speedtest-web
. /lib/functions.sh
EXTRA_COMMANDS="nstest"
NS_FILE=/usr/share/netspeedtest/netspeedtest.txt
TMP_T=/tmp/netspeedtest
LOG="/var/log/netspeedtest.log"
@ -33,7 +33,7 @@ limit_log() {
}
init_env() {
[ ! -f "$LOG" ] && echo "netspeedtest by sirpdboy" > $LOG
[ ! -f "$LOG" ] && echo "" > $LOG
echo 1 > $TMP_T
}

File diff suppressed because it is too large Load Diff