[gnome-settings-daemon] power: generalize laptop critical battery notifications



commit 98efe71e5cc1392d8f0894752e30d64df06d4ff6
Author: Pablo Correa Gómez <ablocorrea hotmail com>
Date:   Sun Jul 11 00:00:03 2021 +0200

    power: generalize laptop critical battery notifications

 plugins/power/gsd-power-manager.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index 7ec0483a..41823b2c 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -686,11 +686,11 @@ engine_charge_critical (GsdPowerManager *manager, UpDevice *device)
                 /* use different text for different actions */
                 if (policy == GSD_POWER_ACTION_HIBERNATE) {
                         /* TRANSLATORS: give the user a ultimatum */
-                        message = g_strdup_printf (_("Computer will hibernate very soon unless it is plugged 
in."));
+                        message = g_strdup_printf (_("Hibernating soon unless plugged in."));
 
                 } else if (policy == GSD_POWER_ACTION_SHUTDOWN) {
                         /* TRANSLATORS: give the user a ultimatum */
-                        message = g_strdup_printf (_("Computer will shutdown very soon unless it is plugged 
in."));
+                        message = g_strdup_printf (_("Shutting down soon unless plugged in."));
                 }
 
         } else if (kind == UP_DEVICE_KIND_UPS) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]