[epiphany] window: Translate WebKitContextMenuItem labels



commit c67d4c3abb307b64378ff5157f1adfbf2d2a6dda
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Oct 12 16:31:15 2016 -0500

    window: Translate WebKitContextMenuItem labels
    
    This broke in the GAction port
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772816

 src/ephy-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index f741b37..1e17569 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1325,7 +1325,7 @@ add_action_to_context_menu (WebKitContextMenu *context_menu,
 
   g_return_if_fail (label != NULL);
 
-  webkit_context_menu_append (context_menu, webkit_context_menu_item_new_from_gaction (action, label));
+  webkit_context_menu_append (context_menu, webkit_context_menu_item_new_from_gaction (action, _(label)));
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]