/*
- * Copyright (C) 2010-2013 jeanfi@gmail.com
+ * Copyright (C) 2010-2014 jeanfi@gmail.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
t = SENSOR_TYPE_HDD | SENSOR_TYPE_HDDTEMP | SENSOR_TYPE_TEMP;
- return psensor_create(id, name, strdup("HDD"),
+ return psensor_create(id, name, strdup(_("Disk")),
t,
values_max_length);
}
struct psensor **sensor_cur = sensors;
while (*sensor_cur) {
- if ((*sensor_cur)->type & SENSOR_TYPE_HDDTEMP
+ if (!((*sensor_cur)->type & SENSOR_TYPE_REMOTE)
+ && (*sensor_cur)->type & SENSOR_TYPE_HDDTEMP
&& !strcmp((*sensor_cur)->id + 4, info->name))
psensor_set_current_value(*sensor_cur,
(float)info->temp);