From ddf3e9043bed41a37d06bf3d5c6a104e7ddbeb79 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 2 Mar 2014 08:32:05 +0100 Subject: trigger: do not create the trigger with /trigger add if the regex is invalid --- po/weechat.pot | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'po/weechat.pot') diff --git a/po/weechat.pot b/po/weechat.pot index aa8454f8c..fef2e6fc4 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.1-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-01 18:07+0100\n" +"POT-Creation-Date: 2014-03-02 08:13+0100\n" "PO-Revision-Date: 2013-02-14 18:20+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: weechat-dev \n" @@ -8115,8 +8115,7 @@ msgid "%sError: unable to create hook for trigger \"%s\" (bad arguments)" msgstr "" #, c-format -msgid "" -"%s%s: invalid value for option \"regex\", see /help trigger.trigger.%s.regex" +msgid "%sError: invalid regular expression in trigger \"%s\"" msgstr "" msgid "Trigger monitor" @@ -8183,6 +8182,14 @@ msgstr "" msgid "%sError: invalid hook type \"%s\"" msgstr "" +#, c-format +msgid "%sError: invalid format for regular expression" +msgstr "" + +#, c-format +msgid "%sError: invalid regular expression (compilation failed)" +msgstr "" + #, c-format msgid "%sError: invalid return code \"%s\"" msgstr "" @@ -8362,6 +8369,18 @@ msgstr "" msgid "default return codes for hook callback" msgstr "" +#, c-format +msgid "" +"%sError: invalid format for option \"regex\", see /help trigger.trigger.%s." +"regex" +msgstr "" + +#, c-format +msgid "" +"%sError: invalid regular expression in option \"regex\", see /help trigger." +"trigger.%s.regex" +msgstr "" + msgid "" "if disabled, the hooks are removed from trigger, so it is not called any more" msgstr "" -- cgit v1.2.3