From d5306e422a47edab18229ea3764dd4b7344f2380 Mon Sep 17 00:00:00 2001 From: Dan Breslau Date: Fri, 26 Aug 2016 13:42:24 -0400 Subject: [PATCH] Fixed translation issues for Help menu --- src/moonshot-identity-management-view.vala | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/moonshot-identity-management-view.vala b/src/moonshot-identity-management-view.vala index 55932f7..a7a297a 100644 --- a/src/moonshot-identity-management-view.vala +++ b/src/moonshot-identity-management-view.vala @@ -675,7 +675,11 @@ SUCH DAMAGE. null, N_("_Help"), null, null, null }; + + // Pick up the translated version of the name, if any + helpmenu.label = dgettext(null, helpmenu.label); actions += helpmenu; + Gtk.ActionEntry about = { "AboutAction", #if VALA_0_12 Stock.ABOUT, @@ -686,6 +690,8 @@ SUCH DAMAGE. null, N_("About this application"), on_about_action }; + + about.label = dgettext(null, about.label); actions += about; return actions; -- 2.1.4