[gdm] gdmflexiserver: fix up error messages



commit 23c50c5b43844688b45b287d8c7ce416a911489f
Author: Ray Strode <rstrode redhat com>
Date:   Mon Feb 13 16:56:32 2012 -0500

    gdmflexiserver: fix up error messages
    
    The existin error messages are vague, hard to read,
    and even harder to translate.
    
    This commit changes a few of them to hopefully help
    the situation a bit.
    
    http://bugzilla.gnome.org/show_bug.cgi?id=669902

 utils/gdmflexiserver.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/utils/gdmflexiserver.c b/utils/gdmflexiserver.c
index 59bccd1..bdf3244 100644
--- a/utils/gdmflexiserver.c
+++ b/utils/gdmflexiserver.c
@@ -849,7 +849,7 @@ goto_login_session_for_systemd (DBusConnection  *connection,
                 free (seat_id);
 
                 g_debug ("failed to determine whether seat can do multi session: %s", strerror (-res));
-                g_set_error (error, GDM_FLEXISERVER_ERROR, 0, _("Could not identify multi session property."));
+                g_set_error (error, GDM_FLEXISERVER_ERROR, 0, _("The system is unable to determine whether to switch to an existing login screen or or start up a new login screen."));
 
                 return FALSE;
         }
@@ -857,7 +857,7 @@ goto_login_session_for_systemd (DBusConnection  *connection,
         if (res == 0) {
                 free (seat_id);
 
-                g_set_error (error, GDM_FLEXISERVER_ERROR, 0, _("Seat can't do multi session"));
+                g_set_error (error, GDM_FLEXISERVER_ERROR, 0, _("The system is unable to start up a new login screen."));
 
                 return FALSE;
         }
@@ -866,7 +866,7 @@ goto_login_session_for_systemd (DBusConnection  *connection,
         if (! res) {
                 free (seat_id);
 
-                g_set_error (error, GDM_FLEXISERVER_ERROR, 1, _("User unable to determine login session."));
+                g_set_error (error, GDM_FLEXISERVER_ERROR, 1, _("The system is unable to find a login screen to switch to."));
                 return FALSE;
         }
 



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