Skip to content
Permalink
Browse files

Minor update

* Room added to Leak/Smoke sensor notifications
  • Loading branch information...
sergejey committed Aug 27, 2019
1 parent 250395a commit fdc716a901b7152a1d738e4a31d11d0718b2b5fa
Showing with 13 additions and 0 deletions.
  1. +1 −0 languages/default.php
  2. +2 −0 languages/ru.php
  3. +5 −0 modules/devices/SLeak_alert.php
  4. +5 −0 modules/devices/SSmoke_alert.php
@@ -1386,6 +1386,7 @@
'NONE' => 'None',
'PREVIOUS' => 'Prev',
'NEXT' => 'Next',
'LOCATED_IN_ROOM' => 'located in',
'TEST' => 'test'
@@ -1383,6 +1383,8 @@
'PREVIOUS' => 'Пред.',
'NEXT' => 'След.',
'LOCATED_IN_ROOM' => 'расположеный в комнате',
/* end module names */
@@ -8,6 +8,11 @@
$description = $ot;
}
$location_title=$this->getProperty('location_title');
if ($location_title) {
$description.=' '.LANG_LOCATED_IN_ROOM.' '.$location_title;
}
say(LANG_DEVICES_SENSOR_ALERT.': '.$description,100);
clearTimeOut($alert_timer_title);
if ($this->getProperty('notify_eliminated')) {
@@ -7,6 +7,11 @@
$description = $ot;
}
$location_title=$this->getProperty('location_title');
if ($location_title) {
$description.=' '.LANG_LOCATED_IN_ROOM.' '.$location_title;
}
$alert_timer_title = $ot.'_alert';
say(LANG_DEVICES_SENSOR_ALERT.': '.$description,100);

0 comments on commit fdc716a

Please sign in to comment.
You can’t perform that action at this time.