diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-23 16:16:21 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-23 16:16:21 +0000 |
commit | a763b9c316a2b9add0de247a456a71ca495310f8 (patch) | |
tree | b88953d344eec4cf52bf20cbb32d47d27764cd03 /lualib | |
parent | 51b39f712d38cb69ede71d62e84c9079234cdb70 (diff) | |
download | rspamd-a763b9c316a2b9add0de247a456a71ca495310f8.tar.gz rspamd-a763b9c316a2b9add0de247a456a71ca495310f8.zip |
[Minor] Remove too long strings in Lua code
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/lua_selectors.lua | 3 | ||||
-rw-r--r-- | lualib/rspamadm/configwizard.lua | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lualib/lua_selectors.lua b/lualib/lua_selectors.lua index 760a15e8c..0a02edca9 100644 --- a/lualib/lua_selectors.lua +++ b/lualib/lua_selectors.lua @@ -583,7 +583,8 @@ Empty string comes the first argument or 'true', non-empty string comes nil]], return ip:apply_mask(mask):to_string(),'string' end end, - ['description'] = 'Applies mask to IP address. The first argument is the mask for IPv4 addresses, the second is the mask for IPv6 addresses.', + ['description'] = 'Applies mask to IP address.' .. + ' The first argument is the mask for IPv4 addresses, the second is the mask for IPv6 addresses.', ['args_schema'] = {(ts.number + ts.string / tonumber), (ts.number + ts.string / tonumber):is_optional()} }, diff --git a/lualib/rspamadm/configwizard.lua b/lualib/rspamadm/configwizard.lua index a4bccd7ab..75fdb96aa 100644 --- a/lualib/rspamadm/configwizard.lua +++ b/lualib/rspamadm/configwizard.lua @@ -480,7 +480,9 @@ return ttl symbol_spam, symbol_ham, ver) try_convert(false) else - printf("You have configured new schema for %s/%s and your DB already has new layout (v. %s). DB conversion is not needed.", + printf( + 'You have configured new schema for %s/%s and your DB already has new layout (v. %s).' .. + ' DB conversion is not needed.', symbol_spam, symbol_ham, ver) end end |