aboutsummaryrefslogtreecommitdiff
path: root/src/gtk-dialog/logout-dialog.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-03 21:06:00 -0600
committerTed Gould <ted@gould.cx>2010-03-03 21:06:00 -0600
commitd9bc98c8b728ffce04d5536501efb11a6084c831 (patch)
tree22f77b0048967d522ca9dea9c664adf286408c07 /src/gtk-dialog/logout-dialog.c
parent4533e76797864b2e949ffa150359145d861f0045 (diff)
parent1af7a048d62b8616d3182a8bb48fe33e7b54d93d (diff)
downloadayatana-indicator-session-d9bc98c8b728ffce04d5536501efb11a6084c831.tar.gz
ayatana-indicator-session-d9bc98c8b728ffce04d5536501efb11a6084c831.tar.bz2
ayatana-indicator-session-d9bc98c8b728ffce04d5536501efb11a6084c831.zip
* Upstream Merge
* Fix naming to "Switch off" and "Sleep" * Blocking the current user from the user list * Change sorting to be based on real names and handle conflicts * Removing some ConsoleKit errors * Memory leak on PangoLayout allocation * Don't set GTK decorations * ConsoleKit fallback if gnome-session not available
Diffstat (limited to 'src/gtk-dialog/logout-dialog.c')
-rw-r--r--src/gtk-dialog/logout-dialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gtk-dialog/logout-dialog.c b/src/gtk-dialog/logout-dialog.c
index 98806ca..07fc6df 100644
--- a/src/gtk-dialog/logout-dialog.c
+++ b/src/gtk-dialog/logout-dialog.c
@@ -62,13 +62,13 @@ get_plural_string (LogoutDialog * dialog);
static const gchar * title_strings[LOGOUT_DIALOG_ACTION_CNT] = {
/* LOGOUT_DIALOG_LOGOUT, */ NC_("title", "Log Out"),
/* LOGOUT_DIALOG_RESTART, */ NC_("title", "Restart"),
- /* LOGOUT_DIALOG_SHUTDOWN, */ NC_("title", "Shut Down")
+ /* LOGOUT_DIALOG_SHUTDOWN, */ NC_("title", "Switch Off")
};
static const gchar * button_strings[LOGOUT_DIALOG_ACTION_CNT] = {
/* LOGOUT_DIALOG_LOGOUT, */ NC_("button", "Log Out"),
/* LOGOUT_DIALOG_RESTART, */ NC_("button", "Restart"),
- /* LOGOUT_DIALOG_SHUTDOWN, */ NC_("button", "Shut Down")
+ /* LOGOUT_DIALOG_SHUTDOWN, */ NC_("button", "Switch Off")
};
static const gchar * restart_auth = N_("Restart...");
@@ -126,8 +126,8 @@ get_plural_string (LogoutDialog * dialog)
dialog->timeout);
break;
case LOGOUT_DIALOG_SHUTDOWN:
- plural_string = ngettext("The computer will be shut down in %d second.",
- "The computer will be shut down in %d seconds.",
+ plural_string = ngettext("The computer will switch off in %d second.",
+ "The computer will switch off in %d seconds.",
dialog->timeout);
break;
default: