From 4fb2c1368e56a48e143d1a737fe54836f0e04da8 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 9 Jul 2010 00:17:06 +0200 Subject: Improve error message when no matching keyword in localmarkdown2sms. --- localmarkdown2sms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localmarkdown2sms b/localmarkdown2sms index 8c62459..890a666 100755 --- a/localmarkdown2sms +++ b/localmarkdown2sms @@ -240,7 +240,7 @@ sub sendmsg { my $num_children = $#{ $reply{$key} } + 1; # How many children we'll create if (0 == $num_children) { - &sendmsg($phone, "fallback message", "Sorry, the sms code \"$key\" is unknown.\nPlease send only sms codes to this number."); + &sendmsg($phone, "fallback message", "Sorry, I don't recognize \"$key\" as a keyword.\nPlease try again and make sure the spelling is correct."); exit; } -- cgit v1.2.3