This is an automated email from the git hooks/post-receive script.

timystery pushed a 
commit to branch 
master
in repository panel-plugins/xfce4-sensors-plugin.

commit f070790c27f487a7d0fc852d2c3a0a58ba98e069
Author: Fabian <timyst...@arcor.de>
Date:   Tue Jan 15 22:42:35 2019 +0100

    Added translation hint for power vs. energy
---
 lib/acpi.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/acpi.c b/lib/acpi.c
index 2440522..f9f3ad8 100644
--- a/lib/acpi.c
+++ b/lib/acpi.c
@@ -666,7 +666,9 @@ read_power_zone (t_chip *ptr_chip)
                     ptr_chipfeature->address = ptr_chip->chip_features->len;
                     ptr_chipfeature->devicename = g_strdup(ptr_dirent->d_name);
                     // You might want to format this with a hyphen and without 
spacing, or with a dash; the result might be BAT1–Power or whatever fits your 
language most. Spaces allow line breaks over the tachometers.
-                    ptr_chipfeature->name = g_strdup_printf (_("%s - %s"), 
ptr_dirent->d_name, _("Power"));
+                    ptr_chipfeature->name = g_strdup_printf (_("%s - %s"),
+                                                             // Power with 
unit Watts, not Energy with Joules or kWh
+                                                             
ptr_dirent->d_name, _("Power"));
                     ptr_chipfeature->formatted_value = NULL;
                     ptr_chipfeature->raw_value = 
get_power_zone_value(ptr_dirent->d_name);
                     ptr_chipfeature->valid = TRUE;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to