Browse Source

language: fix lanuage

rufengsuixing 5 years ago
parent
commit
63967b58b3
2 changed files with 20 additions and 4 deletions
  1. 4 4
      luasrc/model/cbi/AdGuardHome/base.lua
  2. 16 0
      po/zh-cn/AdGuardHome.po

+ 4 - 4
luasrc/model/cbi/AdGuardHome/base.lua

@@ -246,10 +246,10 @@ end
 end
 
 ----Crontab
-o = s:option(MultiValue, "crontab", translate("Crontab task"))
-o:value("autoupdate","Auto update core")
-o:value("cutquerylog","Auto tail querylog")
-o:value("cutruntimelog","Auto tail runtime log")
+o = s:option(MultiValue, "crontab", translate("Crontab task"),translate("Please change time and args in crontab"))
+o:value("autoupdate",translate("Auto update core"))
+o:value("cutquerylog",translate("Auto tail querylog"))
+o:value("cutruntimelog",translate("Auto tail runtime log"))
 o.widget = "checkbox"
 o.default = nil
 o.optional=true

+ 16 - 0
po/zh-cn/AdGuardHome.po

@@ -222,3 +222,19 @@ msgstr "在关机时备份工作目录文件"
 
 msgid "Use template"
 msgstr "使用模板"
+
+msgid "Auto update core"
+msgstr "自动升级核心"
+
+msgid "Auto tail querylog"
+msgstr "自动截短查询日志"
+
+msgid "Auto tail runtime log"
+msgstr "自动截短运行日志"
+
+msgid "Crontab task"
+msgstr "计划任务"
+
+msgid "Please change time and args in crontab"
+msgstr "请在计划任务中修改时间和参数"
+