|
@@ -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:
|