summaryrefslogtreecommitdiff
path: root/localmarkdown2sms
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-07-09 15:05:45 +0200
committerJonas Smedegaard <dr@jones.dk>2010-07-09 15:05:45 +0200
commit6acb085fb1ba8b5b11cb2714643fa126a68c3ee9 (patch)
tree3014aec831da66495bfc43d26db105f09a323924 /localmarkdown2sms
parentd741261927934d40fd537f64a301550f7d52aeaa (diff)
Add italian error message to localmarkdown2sms.
Diffstat (limited to 'localmarkdown2sms')
-rwxr-xr-xlocalmarkdown2sms5
1 files changed, 4 insertions, 1 deletions
diff --git a/localmarkdown2sms b/localmarkdown2sms
index 890a666..f448b62 100755
--- a/localmarkdown2sms
+++ b/localmarkdown2sms
@@ -240,7 +240,10 @@ sub sendmsg {
my $num_children = $#{ $reply{$key} } + 1; # How many children we'll create
if (0 == $num_children) {
- &sendmsg($phone, "fallback message", "Sorry, I don't recognize \"$key\" as a keyword.\nPlease try again and make sure the spelling is correct.");
+# my $err_en = "Sorry, I don't recognize \"$key\" as a keyword.\nPlease try again and make sure the spelling is correct.";
+ 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: Per favore controlla che sia scritta correttamente e riprova.";
+ &sendmsg($phone, $err_it . "\n" . $err_en);
exit;
}