$def with (index, name, stype, mtype) $var title: $_(u'Sensor Graph') $var page: log $ type_list = [_(u'None'), _(u'Dry Contact'), _(u'Leak Detector'), _(u'Moisture'), _(u'Motion'), _(u'Temperature'), _(u'Multi')] $ multi_list = [_(u'Temperature DS1'), _(u'Temperature DS2'), _(u'Temperature DS3'), _(u'Temperature DS4'), _(u'Dry Contact'), _(u'Leak Detector'), _(u'Moisture'), _(u'Motion'), _(u'Ultrasonic'), _(u'Soil Moisture')]
$_('Sensor Graph') - ${name}

$type_list[stype] ${multi_list[mtype] if stype == 6 else ''}

$_('Show also errors')


$_('Cancel') $_(u'View Logs') $_(u'Edit Sensor')