From 022bdec73c6963e391efcb90cf1dc451ab907506 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Wed, 29 Jul 2020 23:20:03 +0800 Subject: [PATCH 1/2] luci-app-smartdns: drop err info --- package/ntlf9t/luci-app-smartdns/luasrc/controller/smartdns.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/ntlf9t/luci-app-smartdns/luasrc/controller/smartdns.lua b/package/ntlf9t/luci-app-smartdns/luasrc/controller/smartdns.lua index a8bd737383..6216e5b37a 100644 --- a/package/ntlf9t/luci-app-smartdns/luasrc/controller/smartdns.lua +++ b/package/ntlf9t/luci-app-smartdns/luasrc/controller/smartdns.lua @@ -68,7 +68,7 @@ function act_status() end elseif e.redirect == 2 then local str; - local dnsmasq_server = luci.sys.exec("uci get dhcp.@dnsmasq[0].server") + local dnsmasq_server = luci.sys.exec("uci -q get dhcp.@dnsmasq[0].server") if e.local_port ~= nil then str = "127.0.0.1#" .. e.local_port if string.sub(dnsmasq_server,1,string.len(str)) == str then From 81226e5ca0e813f52b0823214ca2620b4b45045b Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Wed, 29 Jul 2020 23:29:06 +0800 Subject: [PATCH 2/2] luci-app-cpufreq: drop incorrect translation --- .../lean/luci-app-cpufreq/po/zh-cn/cpufreq.po | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/package/lean/luci-app-cpufreq/po/zh-cn/cpufreq.po b/package/lean/luci-app-cpufreq/po/zh-cn/cpufreq.po index 1c38bcfc3e..c476b7a999 100644 --- a/package/lean/luci-app-cpufreq/po/zh-cn/cpufreq.po +++ b/package/lean/luci-app-cpufreq/po/zh-cn/cpufreq.po @@ -23,24 +23,6 @@ msgstr "设置路由器的 CPU 性能模式(高性能/均衡省电)" msgid "CPU Scaling Governor" msgstr "CPU 工作模式" -msgid "Ondemand Balance Mode" -msgstr "Ondemand 自动平衡模式" - -msgid "Performance Mode" -msgstr "Performance 高性能模式(降低游戏转发延迟)" - -msgid "ondemand" -msgstr "Ondemand 自动平衡模式" - -msgid "performance" -msgstr "Performance 高性能模式(降低游戏转发延迟)" - -msgid "powersave" -msgstr "Powersave 省电模式" - -msgid "schedutil" -msgstr "Schedutil 自动平衡模式" - msgid "CPU Freq from 48000 to 716000 (Khz)" msgstr "CPU 频率范围为 48000 到 716000 (Khz)"