[gnome-settings-daemon/piotrdrag/power-translator-comments] power: Move translator comments to be above the strings
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/piotrdrag/power-translator-comments] power: Move translator comments to be above the strings
- Date: Sun, 12 Sep 2021 10:41:34 +0000 (UTC)
commit 79cf90aae7632b24a18d91c5d742108a3f46dc71
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sun Sep 12 12:39:19 2021 +0200
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.
plugins/power/gsd-power-manager.c | 6 +++---
1 file 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."));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]