]> spindle.queued.net Git - midori/commitdiff
Localize 'Block image' and 'Block link' menuitems in adblock
authorChristian Dywan <christian@twotoasts.de>
Sat, 6 Feb 2010 16:28:37 +0000 (17:28 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 6 Feb 2010 16:32:09 +0000 (17:32 +0100)
extensions/adblock.c

index 73b2146931d291750de4cc4f6abb561f9d7a4ef0..5d9847e26194ef0779bdfb294c82f68f251c0bcc 100644 (file)
@@ -882,12 +882,12 @@ adblock_populate_popup_cb (WebKitWebView*   web_view,
     if (context & WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE)
     {
         uri = katze_object_get_string (hit_test, "image-uri");
-        menuitem = gtk_menu_item_new_with_mnemonic ("Bl_ock image");
+        menuitem = gtk_menu_item_new_with_mnemonic (_("Bl_ock image"));
     }
     else if (context & WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK)
     {
         uri = katze_object_get_string (hit_test, "link-uri");
-        menuitem = gtk_menu_item_new_with_mnemonic ("Bl_ock link");
+        menuitem = gtk_menu_item_new_with_mnemonic (_("Bl_ock link"));
     }
     else
         return;