/*
- * Copyright (C) 2010-2012 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
while (*s_ptr) {
struct psensor *s = *s_ptr;
- if (s->type & SENSOR_TYPE_LMSENSOR) {
+ if (!(s->type & SENSOR_TYPE_REMOTE)
+ && s->type & SENSOR_TYPE_LMSENSOR) {
if (s->type & SENSOR_TYPE_TEMP)
psensor_set_current_value(s,
get_temp_input(s));
sprintf(id, "lmsensor %s %s", name, label);
if (!strcmp(chip->prefix, "coretemp"))
- cname = strdup("Intel CPU");
+ cname = strdup(_("Intel CPU"));
else if (!strcmp(chip->prefix, "k10temp")
|| !strcmp(chip->prefix, "k8temp")
|| !strcmp(chip->prefix, "fam15h_power"))
- cname = strdup("AMD CPU");
+ cname = strdup(_("AMD CPU"));
else if (!strcmp(chip->prefix, "nouveau"))
- cname = strdup("Nvidia GPU");
+ cname = strdup(_("Nvidia GPU"));
else if (!strcmp(chip->prefix, "via-cputemp"))
- cname = strdup("VIA CPU");
+ cname = strdup(_("VIA CPU"));
else
cname = strdup(chip->prefix);