Update zapret-tpws.lua

change error message
This commit is contained in:
NewUse 2024-09-26 10:21:53 +03:00 committed by GitHub
parent bbb337e5d5
commit 7c7d66d4ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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