[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 03/05: Added translation hint for power vs. energy
noreply at xfce.org
noreply at xfce.org
Tue Jan 15 22:48:35 CET 2019
This is an automated email from the git hooks/post-receive script.
t i m y s t e r y p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-sensors-plugin.
commit f070790c27f487a7d0fc852d2c3a0a58ba98e069
Author: Fabian <timystery at 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.
More information about the Xfce4-commits
mailing list