From 7c7d66d4efb80c84c3d067f4a4833af689b6dca9 Mon Sep 17 00:00:00 2001 From: NewUse <7342068+NewUse@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:21:53 +0300 Subject: [PATCH] Update zapret-tpws.lua change error message --- .../luci-app-zapret-tpws/luasrc/model/cbi/zapret-tpws.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/compile/openwrt/package/zapret/luci-app-zapret-tpws/luasrc/model/cbi/zapret-tpws.lua b/docs/compile/openwrt/package/zapret/luci-app-zapret-tpws/luasrc/model/cbi/zapret-tpws.lua index 6358470..e105d19 100644 --- a/docs/compile/openwrt/package/zapret/luci-app-zapret-tpws/luasrc/model/cbi/zapret-tpws.lua +++ b/docs/compile/openwrt/package/zapret/luci-app-zapret-tpws/luasrc/model/cbi/zapret-tpws.lua @@ -11,7 +11,7 @@ function opt.validate(self, value) -- Check each word for _, word in ipairs(words) do if not word:sub(1, 2) == "--" then - return nil, translate("Error: Not all words start with double minuses.") + return nil, translate("Error: Not all options start with double dash.") end end