coolsnowwolf / luci

LuCI - OpenWrt Configuration Interface
Apache License 2.0
316 stars 601 forks source link

luci-app-qbittorrent: Fixed changing language not taking effect #215

Closed breakings closed 1 year ago

breakings commented 1 year ago

修复新版qBittorrent更改语言未生效的问题

Beginner-Go commented 1 year ago

但是 luci 写的是 zh 直接改 config 文件没用吧?https://github.com/coolsnowwolf/luci/blob/a385eb6681c8bcb044477564af47335a5a797787/applications/luci-app-qbittorrent/luasrc/model/cbi/qbittorrent/webgui.lua#L21

breakings commented 1 year ago

但是 luci 写的是 zh 直接改 config 文件没用吧?

https://github.com/coolsnowwolf/luci/blob/a385eb6681c8bcb044477564af47335a5a797787/applications/luci-app-qbittorrent/luasrc/model/cbi/qbittorrent/webgui.lua#L21

有用,目前4.5.0以后需要改成zh_CN 否则修改了也是英文

Beginner-Go commented 1 year ago

但是 luci 写的是 zh 直接改 config 文件没用吧? https://github.com/coolsnowwolf/luci/blob/a385eb6681c8bcb044477564af47335a5a797787/applications/luci-app-qbittorrent/luasrc/model/cbi/qbittorrent/webgui.lua#L21

有用,目前4.5.0以后需要改成zh_CN 否则修改了也是英文

lua 那边也改一下吧

breakings commented 1 year ago

但是 luci 写的是 zh 直接改 config 文件没用吧? https://github.com/coolsnowwolf/luci/blob/a385eb6681c8bcb044477564af47335a5a797787/applications/luci-app-qbittorrent/luasrc/model/cbi/qbittorrent/webgui.lua#L21

有用,目前4.5.0以后需要改成zh_CN 否则修改了也是英文

lua 那边也改一下吧

改好了,顺便rblibtorrent那边也合并一下,上次忘记提交了。