[gnome-control-center/wip/enterprise-login: 8/15] user-accounts: Title of accounts dialog becomes "Add Account"



commit dad0c2c0950c4a97e2144e7c23cc1e270f0a39aa
Author: Stef Walter <stefw gnome org>
Date:   Wed Jun 6 23:10:53 2012 +0200

    user-accounts: Title of accounts dialog becomes "Add Account"
    
    This title makes sense for both remote and local users. In the
    case of remote users we're not creating accounts, we're just
    adding them to the system.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=677548

 panels/user-accounts/data/account-dialog.ui |    2 +-
 panels/user-accounts/um-account-dialog.c    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/panels/user-accounts/data/account-dialog.ui b/panels/user-accounts/data/account-dialog.ui
index a1a174d..e3eefdc 100644
--- a/panels/user-accounts/data/account-dialog.ui
+++ b/panels/user-accounts/data/account-dialog.ui
@@ -92,7 +92,7 @@
                 <child>
                   <object class="GtkLabel" id="label2">
                     <property name="visible">True</property>
-                    <property name="label" translatable="yes">Create new account</property>
+                    <property name="label" translatable="yes">Add account</property>
                     <attributes>
                       <attribute name="weight" value="bold"/>
                       <attribute name="scale" value="1.200000"/>
diff --git a/panels/user-accounts/um-account-dialog.c b/panels/user-accounts/um-account-dialog.c
index a50e99f..6879696 100644
--- a/panels/user-accounts/um-account-dialog.c
+++ b/panels/user-accounts/um-account-dialog.c
@@ -125,7 +125,7 @@ create_user_done (UmUserManager   *manager,
         error = NULL;
         if (!um_user_manager_create_user_finish (manager, res, &user, &error)) {
                 if (!g_error_matches (error, UM_USER_MANAGER_ERROR, UM_USER_MANAGER_ERROR_PERMISSION_DENIED))
-                       show_error_dialog (self, _("Failed to create user"), error);
+                       show_error_dialog (self, _("Failed to add account"), error);
                 g_error_free (error);
                 gtk_widget_grab_focus (self->name_entry);
         } else {
@@ -267,7 +267,7 @@ um_account_dialog_init (UmAccountDialog *self)
         gtk_widget_show (widget);
 
         gtk_dialog_add_button (dialog, _("Cancel"), GTK_RESPONSE_CANCEL);
-        widget = gtk_dialog_add_button (dialog, _("Create"), GTK_RESPONSE_OK);
+        widget = gtk_dialog_add_button (dialog, _("_Add"), GTK_RESPONSE_OK);
         gtk_widget_grab_default (widget);
 
         widget = (GtkWidget *) gtk_builder_get_object (builder, "account-dialog");



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