[gnome-control-center/wip/feborges/user-accounts-ui-improvements: 3/4] user-accounts: Rename "Last Login" entry to "Account Activity"



commit bc0f957ff711e14d2cd9507499cab72343f55a75
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue Jan 14 12:35:44 2020 +0100

    user-accounts: Rename "Last Login" entry to "Account Activity"
    
    According to the mockups at
    https://gitlab.gnome.org/Teams/Design/settings-mockups/raw/master/users/users.png
    
    Other than renaming the label, we prepend "Last login" to the
    date-time string.
    
    Fixes #771

 panels/user-accounts/cc-user-panel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/user-accounts/cc-user-panel.c b/panels/user-accounts/cc-user-panel.c
index 2eb48cb72..a89cb1ebd 100644
--- a/panels/user-accounts/cc-user-panel.c
+++ b/panels/user-accounts/cc-user-panel.c
@@ -863,7 +863,7 @@ show_user (ActUser *user, CcUserPanel *self)
         show = act_user_get_uid (user) == getuid () ||
                act_user_get_account_type (current) == ACT_USER_ACCOUNT_TYPE_ADMINISTRATOR;
         if (show) {
-                text = get_login_time_text (user);
+                text = g_strdup_printf (_("Last login: %s"), get_login_time_text (user));
                 gtk_label_set_label (self->last_login_button_label, text);
                 g_free (text);
         }


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