chenshibin преди 4 години
родител
ревизия
58df7a0f64
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      Controller/DetectControllerV2.py

+ 2 - 2
Controller/DetectControllerV2.py

@@ -991,7 +991,7 @@ class PWnotificationView(View):
         etype = int(event_type)
         if lang == 'cn':
             if etype == 704:
-                msg_type = '电量不足:'+electricity+'%'
+                msg_type = '电量已剩:'+electricity+'%'
             elif etype == 702:
                 msg_type = '摄像头休眠'
             elif etype == 703:
@@ -1005,7 +1005,7 @@ class PWnotificationView(View):
                 # send_text = '{msg_type} 通道:{channel} 日期:{date}'.format(msg_type=msg_type, channel=channel, date=n_date)
         else:
             if etype == 704:
-                msg_type = 'Insufficient battery: '+electricity+'%'
+                msg_type = 'Battery is left: '+electricity+'%'
             elif etype == 702:
                 msg_type = 'Camera sleep'
             elif etype == 703: