summaryrefslogtreecommitdiffstats
path: root/src/hardware.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2016-04-16 08:27:34 +1000
committerMichele Calgaro <michele.calgaro@yahoo.it>2016-04-16 08:27:34 +1000
commitc9b0912e6a2c6f7341658617fea9061e1e97df51 (patch)
tree406b74d9a3a0b8866cb3de4a88f835169db77a89 /src/hardware.cpp
parent8ff104a1a14834876a90c4a9f1718c4e2e927c2d (diff)
downloadtdepowersave-c9b0912e6a2c6f7341658617fea9061e1e97df51.tar.gz
tdepowersave-c9b0912e6a2c6f7341658617fea9061e1e97df51.zip
Renamed "Suspend to disk" to "Hibernate" and "Suspend to RAM" to "Sleep", to align to main logout menu.
This refers to bug 2602. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/hardware.cpp')
-rw-r--r--src/hardware.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hardware.cpp b/src/hardware.cpp
index 92d2b36..7b1c215 100644
--- a/src/hardware.cpp
+++ b/src/hardware.cpp
@@ -794,9 +794,9 @@ bool HardwareInfo::suspend( suspend_type suspend ) {
}
} else {
if ( !suspend_states.suspend2disk )
- kdDebug() << "The machine does not support suspend to disk." << endl;
+ kdDebug() << "The machine does not support hibernation." << endl;
else
- kdWarning() << "Policy forbid user to trigger suspend to disk" << endl;
+ kdWarning() << "Policy forbid user to trigger hibernation" << endl;
return false;
}
@@ -813,9 +813,9 @@ bool HardwareInfo::suspend( suspend_type suspend ) {
}
} else {
if ( !suspend_states.suspend2ram )
- kdDebug() << "The machine does not support suspend to ram." << endl;
+ kdDebug() << "The machine does not support Sleep mode." << endl;
else
- kdWarning() << "Policy forbid user to trigger suspend to ram" << endl;
+ kdWarning() << "Policy forbid user to trigger Sleep mode" << endl;
return false;
}