luci-app-cpufreq:Add translation (#4130)

This commit is contained in:
Mattraks 2020-03-31 23:07:57 +08:00 committed by GitHub
parent 427e7ec56f
commit 64db0fb90c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -10,7 +10,7 @@ LUCI_TITLE:=LuCI for CPU Freq Setting
LUCI_DEPENDS:=@arm
PKG_NAME:=luci-app-cpufreq
PKG_VERSION:=1
PKG_RELEASE:=4
PKG_RELEASE:=5
include $(TOPDIR)/feeds/luci/luci.mk

View File

@ -30,7 +30,7 @@ s.anonymouse = true
governor = s:option(ListValue, "governor", translate("CPU Scaling Governor"))
for _, e in ipairs(governor_array) do
if e ~= "" then governor:value(e,string.upper(e)) end
if e ~= "" then governor:value(translate(e,string.upper(e))) end
end
minfreq = s:option(ListValue, "minifreq", translate("Min Idle CPU Freq"))

View File

@ -16,6 +16,12 @@ msgstr "Ondemand 自动平衡模式"
msgid "Performance Mode"
msgstr "Performance 高性能模式(降低游戏转发延迟)"
msgid "ondemand"
msgstr "Ondemand 自动平衡模式"
msgid "performance"
msgstr "Performance 高性能模式(降低游戏转发延迟)"
msgid "CPU Freq from 48000 to 716000 (Khz)"
msgstr "CPU 频率范围为 48000 到 716000 (Khz)"