From c9b0912e6a2c6f7341658617fea9061e1e97df51 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 16 Apr 2016 08:27:34 +1000 Subject: 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 --- src/hardware.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/hardware.cpp') 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; } -- cgit v1.2.3