summaryrefslogtreecommitdiff
path: root/localmarkdown2sms
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-07-09 22:53:47 +0200
committerJonas Smedegaard <dr@jones.dk>2010-07-09 22:53:47 +0200
commit3927c8ffd310a99dcc79b3f9ffed2cac740cd751 (patch)
tree5c48384bfda94cf33a8e77cdd77f085543d293b0 /localmarkdown2sms
parent4496cf9b0354b11b7484cd668f31092882be8169 (diff)
Shorten error messages in localmarkdown2sms.
Diffstat (limited to 'localmarkdown2sms')
-rwxr-xr-xlocalmarkdown2sms6
1 files changed, 3 insertions, 3 deletions
diff --git a/localmarkdown2sms b/localmarkdown2sms
index a8b6860..9776c2d 100755
--- a/localmarkdown2sms
+++ b/localmarkdown2sms
@@ -240,9 +240,9 @@ sub sendmsg {
my $num_children = $#{ $reply{$key} } + 1; # How many children we'll create
if (0 == $num_children) {
- my $err_en = "Sorry, I don't recognize \"$key\" as a keyword: Please check spelling and try again.";
- my $err_it = "Spiacente, non riconosco \"$key\" come parola chiave: Controlla che sia corretta e riprova.";
- &sendmsg($sms_phone, $phone, "fallback message", $err_it . "\n" . $err_en);
+ my $err_en = "Sorry, not recognized as a keyword: Please check spelling and try again.";
+ my $err_it = "Spiacente, non riconosco come parola chiave: Controlla l'ortografia e riprova.";
+ &sendmsg($sms_phone, $phone, "fallback message", "$key?\n$err_it\n$err_en);
exit;
}