diff --git a/luci-app-openclash/luasrc/model/cbi/openclash/client.lua b/luci-app-openclash/luasrc/model/cbi/openclash/client.lua index f2d2b271f9..aee952b577 100644 --- a/luci-app-openclash/luasrc/model/cbi/openclash/client.lua +++ b/luci-app-openclash/luasrc/model/cbi/openclash/client.lua @@ -53,9 +53,9 @@ for t,o in ipairs(fs.glob("/etc/openclash/config/*"))do e[t].mtime=os.date("%Y-%m-%d %H:%M:%S",a.mtime) end if uci:get("openclash", "config", "config_path") and string.sub(uci:get("openclash", "config", "config_path"), 23, -1) == e[t].name then - e[t].state=translate("Enable") + e[t].state=translate("Enabled") else - e[t].state=translate("Disable") + e[t].state=translate("Disabled") end e[t].check=translate(config_check(o)) end @@ -75,7 +75,7 @@ if a then ck.template="openclash/cfg_check" sb.template="openclash/sub_info_show" - btnis=tb:option(Button,"switch",translate("Switch Config")) + btnis=tb:option(Button,"switch",translate("Switch To Config")) btnis.template="openclash/other_button" btnis.render=function(o,t,a) if not e[t] then return false end @@ -172,4 +172,4 @@ if uci:get("openclash", "config", "dler_token") then return m, dler, form, s, ap, d else return m, form, s, ap, d -end \ No newline at end of file +end