summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2018-10-12 18:09:25 +0300
committerGitHub <noreply@github.com>2018-10-12 18:09:25 +0300
commit1544e10f918a168e8e7860da5e22fb5f294479e5 (patch)
tree61a77a8b04451805f7698011a64eec10f28dd5d3 /modules/luci-base/luasrc
parent896892f9afd2180094ca12faa8a0b5a9f2193207 (diff)
parent282aa6856d5f1029443df4229b10a82e0ca04fb6 (diff)
Merge pull request #2221 from yangfl/master
treewide: Fix typos in UI strings
Diffstat (limited to 'modules/luci-base/luasrc')
-rw-r--r--modules/luci-base/luasrc/template.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/template.lua b/modules/luci-base/luasrc/template.lua
index 588028c2ee..ed46f50753 100644
--- a/modules/luci-base/luasrc/template.lua
+++ b/modules/luci-base/luasrc/template.lua
@@ -95,6 +95,6 @@ function Template.render(self, scope)
local stat, err = util.copcall(self.template)
if not stat then
error("Failed to execute template '" .. self.name .. "'.\n" ..
- "A runtime error occured: " .. tostring(err or "(nil)"))
+ "A runtime error occurred: " .. tostring(err or "(nil)"))
end
end