From d535ff9677cd831d4d497d2d79e7acf11e72f8c7 Mon Sep 17 00:00:00 2001 From: Elad Alfassa Date: Thu, 1 May 2014 01:29:47 +0300 Subject: [PATCH] [translate] Add testcase for unicode input --- translate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/translate.py b/translate.py index 9dbe2f77dd..d0a3928100 100644 --- a/translate.py +++ b/translate.py @@ -110,6 +110,7 @@ def tr(bot, trigger): @commands('translate', 'tr') @example('.tr :en :fr my dog', '"mon chien" (en to fr, translate.google.com)') +@example('.tr היי', '"Hi" (iw to en, translate.google.com)') @example('.tr mon chien', '"my dog" (fr to en, translate.google.com)') def tr2(bot, trigger): """Translates a phrase, with an optional language hint."""