projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
all: change most translate statements to new format, some need manual cleanup
[project/luci.git]
/
applications
/
luci-ntpc
/
luasrc
/
controller
/
ntpc.lua
diff --git
a/applications/luci-ntpc/luasrc/controller/ntpc.lua
b/applications/luci-ntpc/luasrc/controller/ntpc.lua
index
2382f52
..
b6af6f9
100644
(file)
--- a/
applications/luci-ntpc/luasrc/controller/ntpc.lua
+++ b/
applications/luci-ntpc/luasrc/controller/ntpc.lua
@@
-17,16
+17,16
@@
module("luci.controller.ntpc", package.seeall)
function index()
require("luci.i18n")
luci.i18n.loadc("ntpc")
function index()
require("luci.i18n")
luci.i18n.loadc("ntpc")
- if not
luci.fs.isfile
("/etc/config/ntpclient") then
+ if not
nixio.fs.access
("/etc/config/ntpclient") then
return
end
return
end
- local page = entry({"admin", "system", "ntpc"}, cbi("ntpc/ntpc"), luci.i18n.translate("
ntpc
"), 50)
+ local page = entry({"admin", "system", "ntpc"}, cbi("ntpc/ntpc"), luci.i18n.translate("
Time Synchronisation
"), 50)
page.i18n = "ntpc"
page.dependent = true
page.i18n = "ntpc"
page.dependent = true
- local page = entry({"mini", "system", "ntpc"}, cbi("ntpc/ntpc
"), luci.i18n.translate("ntpc
"), 50)
+ local page = entry({"mini", "system", "ntpc"}, cbi("ntpc/ntpc
mini", {autoapply=true}), luci.i18n.translate("Time Synchronisation
"), 50)
page.i18n = "ntpc"
page.dependent = true
end
\ No newline at end of file
page.i18n = "ntpc"
page.dependent = true
end
\ No newline at end of file