diff options
author | Piotr Drąg <piotrdrag@gmail.com> | 2021-09-12 12:39:19 +0200 |
---|---|---|
committer | Piotr Drąg <piotrdrag@gmail.com> | 2021-09-12 12:39:19 +0200 |
commit | 79cf90aae7632b24a18d91c5d742108a3f46dc71 (patch) | |
tree | aa5b71fd5f20f143ca98ca2c8c4e8deaa746b98c | |
parent | 1a12a467d1cf3da6cc4d549361c6804f73523a66 (diff) | |
download | gnome-settings-daemon-79cf90aae7632b24a18d91c5d742108a3f46dc71.tar.gz |
power: Move translator comments to be above the strings
A couple of translator comments weren’t getting extracted because
they’re not directly above the strings they’re commenting on.
-rw-r--r-- | plugins/power/gsd-power-manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c index a9ce37ae..7a9222cc 100644 --- a/plugins/power/gsd-power-manager.c +++ b/plugins/power/gsd-power-manager.c @@ -892,8 +892,8 @@ engine_charge_critical (GsdPowerManager *manager, UpDevice *device) /* we have to do different warnings depending on the policy */ policy = manager_critical_action_get (manager); - /* TRANSLATORS: notification body, the battery of this laptop/tablet/phone is critically low, warning about action happening soon */ if (policy == GSD_POWER_ACTION_HIBERNATE) { + /* TRANSLATORS: notification body, the battery of this laptop/tablet/phone is critically low, warning about action happening soon */ message = g_strdup_printf (_("Hibernating soon unless plugged in.")); } else if (policy == GSD_POWER_ACTION_SHUTDOWN) { message = g_strdup_printf (_("Shutting down soon unless plugged in.")); @@ -988,8 +988,8 @@ engine_charge_action (GsdPowerManager *manager, UpDevice *device) /* we have to do different warnings depending on the policy */ policy = manager_critical_action_get (manager); - /* TRANSLATORS: notification body, the battery of this laptop/tablet/phone is critically low, warning about action happening now */ if (policy == GSD_POWER_ACTION_HIBERNATE) { + /* TRANSLATORS: notification body, the battery of this laptop/tablet/phone is critically low, warning about action happening now */ message = g_strdup (_("The battery is below the critical level and " "this computer is about to hibernate.")); @@ -1011,8 +1011,8 @@ engine_charge_action (GsdPowerManager *manager, UpDevice *device) /* we have to do different warnings depending on the policy */ policy = manager_critical_action_get (manager); - /* TRANSLATORS: notification body, an Uninterruptible Power Supply (UPS) is running low, warning about action happening now */ if (policy == GSD_POWER_ACTION_HIBERNATE) { + /* TRANSLATORS: notification body, an Uninterruptible Power Supply (UPS) is running low, warning about action happening now */ message = g_strdup (_("UPS is below the critical level and " "this computer is about to hibernate.")); |