Skip to content

Commit

Permalink
[translate] Add testcase for unicode input
Browse files Browse the repository at this point in the history
  • Loading branch information
Elad Alfassa committed Apr 30, 2014
1 parent 83f36dd commit d535ff9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit d535ff9

Please sign in to comment.