~charlesk/indicator-session/lp-1027952

« back to all changes in this revision

Viewing changes to src/dialog.c

  • Committer: Charles Kerr
  • Date: 2012-07-04 05:25:57 UTC
  • Revision ID: charles.kerr@canonical.com-20120704052557-7o30kbo82ay6bcdf
in gtk-logout-helper, rename 'Shut Down' to 'Switch Off' to match the session indicator's text

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
static const gchar * title_strings[LOGOUT_DIALOG_TYPE_CNT] = {
35
35
        /* LOGOUT_DIALOG_LOGOUT, */     NC_("title", "Log Out"),
36
36
        /* LOGOUT_DIALOG_RESTART, */    NC_("title", "Restart"),
37
 
        /* LOGOUT_DIALOG_SHUTDOWN, */   NC_("title", "Shut Down")
 
37
        /* LOGOUT_DIALOG_SHUTDOWN, */   NC_("title", "Switch Off")
38
38
};
39
39
 
40
40
static const gchar * body_strings[LOGOUT_DIALOG_TYPE_CNT] = {
46
46
static const gchar * button_strings[LOGOUT_DIALOG_TYPE_CNT] = {
47
47
        /* LOGOUT_DIALOG_LOGOUT, */     NC_("button", "Log Out"),
48
48
        /* LOGOUT_DIALOG_RESTART, */    NC_("button", "Restart"),
49
 
        /* LOGOUT_DIALOG_SHUTDOWN, */   NC_("button", "Shut Down")
 
49
        /* LOGOUT_DIALOG_SHUTDOWN, */   NC_("button", "Switch Off")
50
50
};
51
51
 
52
52
/* TRANSLATORS: These strings have an ellipsis so that the user knows
54
54
static const gchar * button_auth_strings[LOGOUT_DIALOG_TYPE_CNT] = {
55
55
        /* LOGOUT_DIALOG_LOGOUT, */     NC_("button auth", "Log Out"),
56
56
        /* LOGOUT_DIALOG_RESTART, */    NC_("button auth", "Restart…"),
57
 
        /* LOGOUT_DIALOG_SHUTDOWN, */   NC_("button auth", "Shut Down…")
 
57
        /* LOGOUT_DIALOG_SHUTDOWN, */   NC_("button auth", "Switch Off…")
58
58
};
59
59
 
60
60
/* TRANSLATORS: This button appears on the logout dialog when