allow to translate the label of the sensor
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 17 Sep 2014 20:31:39 +0000 (22:31 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 17 Sep 2014 20:31:39 +0000 (22:31 +0200)
src/lib/cpu.c

index d3fa7ee..e35e2af 100644 (file)
@@ -36,7 +36,7 @@ struct psensor *create_cpu_usage_sensor(int measures_len)
        struct psensor *psensor;
 
        id = strdup("cpu usage");
-       label = strdup("cpu usage");
+       label = strdup(_("CPU usage"));
        type = SENSOR_TYPE_GTOP | SENSOR_TYPE_CPU_USAGE;
 
        psensor = psensor_create(id,