소스 검색

Translation for bot messages

Denis Merigoux 8 년 전
부모
커밋
83b3d25b2b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      bot/views/telegram.py

+ 2 - 2
bot/views/telegram.py

@@ -38,9 +38,9 @@ def notify_telegram(sender, instance, created, **kwargs):
38 38
             do_nothing = True
39 39
 
40 40
         if instance.who is None or instance.who == instance.counter:
41
-            message = str(instance.counter) + ' has le seum: ' + instance.reason
41
+            message = str(instance.counter) + ' a le seum: ' + instance.reason
42 42
         else:
43
-            message = str(instance.who) + ' put le seum to ' + str(instance.counter) + ': ' + instance.reason
43
+            message = str(instance.who) + ' a foutu le seum à ' + str(instance.counter) + ': ' + instance.reason
44 44
 
45 45
         for chat_id in set(chat_ids):
46 46
             requests.post(telegram_url + 'sendMessage', json={'chat_id': chat_id, 'text': message})