瀏覽代碼

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})