/* View */
{ "ViewSort", NULL, N_("mcen_me_inbox_sort"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_sort) },
{ "ViewShowToolbar", NULL, N_("mcen_me_inbox_toolbar") }, /* submenu */
- { "ViewPreviousMessage", NULL, N_("qgn_toolb_gene_back"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_prev) },
- { "ViewNextMessage", NULL, N_("qgn_toolb_gene_forward"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_next) },
+ { "ViewPreviousMessage", NULL, N_("mcen_me_viewer_previousmessage"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_prev) },
+ { "ViewNextMessage", NULL, N_("mcen_me_viewer_nextmessage"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_next) },
/* Attachments */
{ "ViewAttachment", NULL, N_("mcen_me_viewer_view_attachment"), NULL, NULL, G_CALLBACK (modest_ui_actions_view_attachment) },
static GtkWidget * create_empty_view (void);
+static gchar *
+translate_func (const gchar *msgid,
+ const gchar *domain_name);
+
+
/* list my signals */
enum {
/* MY_SIGNAL_1, */
action_group = gtk_action_group_new ("ModestMainWindowActions");
gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE);
+ gtk_action_group_set_translate_func (action_group, (GtkTranslateFunc) translate_func, GETTEXT_PACKAGE, g_free);
menu_rules_group = modest_dimming_rules_group_new ("ModestMenuDimmingRules");
toolbar_rules_group = modest_dimming_rules_group_new ("ModestToolbarDimmingRules");
-
+
/* Add common actions */
gtk_action_group_add_actions (action_group,
modest_action_entries,
{
refresh_account ((const gchar*) user_data);
}
+
+static gchar *
+translate_func (const gchar *msgid,
+ const gchar *domain_name)
+{
+ return _(msgid);
+}
static void update_window_title (ModestMsgViewWindow *window);
+static gchar *
+translate_func (const gchar *msgid,
+ const gchar *domain_name);
+
/* list my signals */
enum {
/* MY_SIGNAL_1, */
action_group = gtk_action_group_new ("ModestMsgViewWindowActions");
gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE);
+ gtk_action_group_set_translate_func (action_group, (GtkTranslateFunc) translate_func, GETTEXT_PACKAGE, g_free);
menu_rules_group = modest_dimming_rules_group_new ("ModestMenuDimmingRules");
toolbar_rules_group = modest_dimming_rules_group_new ("ModestToolbarDimmingRules");
gtk_window_set_title (GTK_WINDOW (window), subject);
}
+
+static gchar *
+translate_func (const gchar *msgid,
+ const gchar *domain_name)
+{
+ return _(msgid);
+}