static const gchar * body_logout_update = N_("You recently installed updates which will only take effect after a restart. Restart to apply software updates.");
static const gchar * singular_strings[LOGOUT_DIALOG_ACTION_CNT] = {
/* LOGOUT_DIALOG_LOGOUT, */ N_("Unless you cancel, you will be logged out in %d second."),
/* LOGOUT_DIALOG_RESTART, */ N_("Unless you cancel, the computer will restart in %d second."),
/* LOGOUT_DIALOG_SHUTDOWN, */ N_("Unless you cancel, the computer will be shut down in %d second.")
};
static const gchar * plural_strings[LOGOUT_DIALOG_ACTION_CNT] = {
/* LOGOUT_DIALOG_LOGOUT, */ N_("Unless you cancel, you will be logged out in %d seconds."),
/* LOGOUT_DIALOG_RESTART, */ N_("Unless you cancel, the computer will restart in %d seconds."),
/* LOGOUT_DIALOG_SHUTDOWN, */ N_("Unless you cancel, the computer will be shut down in %d seconds.")
};
/usr/include/ glib-2. 0/glib/ gi18n.h:
#define N_(String) (String)
Indeed those string are left untranslated.
static const gchar * title_strings[ LOGOUT_ DIALOG_ ACTION_ CNT] = { DIALOG_ LOGOUT, */ N_("Log Out"), DIALOG_ RESTART, */ N_("Restart"), DIALOG_ SHUTDOWN, */ N_("Shut Down")
/* LOGOUT_
/* LOGOUT_
/* LOGOUT_
};
static const gchar * restart_auth = N_("Restart...");
static const gchar * body_logout_update = N_("You recently installed updates which will only take effect after a restart. Restart to apply software updates.");
static const gchar * singular_ strings[ LOGOUT_ DIALOG_ ACTION_ CNT] = { DIALOG_ LOGOUT, */ N_("Unless you cancel, you will be logged out in %d second."), DIALOG_ RESTART, */ N_("Unless you cancel, the computer will restart in %d second."), DIALOG_ SHUTDOWN, */ N_("Unless you cancel, the computer will be shut down in %d second.")
/* LOGOUT_
/* LOGOUT_
/* LOGOUT_
};
static const gchar * plural_ strings[ LOGOUT_ DIALOG_ ACTION_ CNT] = { DIALOG_ LOGOUT, */ N_("Unless you cancel, you will be logged out in %d seconds."), DIALOG_ RESTART, */ N_("Unless you cancel, the computer will restart in %d seconds."), DIALOG_ SHUTDOWN, */ N_("Unless you cancel, the computer will be shut down in %d seconds.")
/* LOGOUT_
/* LOGOUT_
/* LOGOUT_
};
Why are those strings left untranslated?