Localize 'Block image' and 'Block link' menuitems in adblock
This commit is contained in:
parent
2d159c8f95
commit
458252d053
1 changed files with 2 additions and 2 deletions
|
@ -882,12 +882,12 @@ adblock_populate_popup_cb (WebKitWebView* web_view,
|
||||||
if (context & WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE)
|
if (context & WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE)
|
||||||
{
|
{
|
||||||
uri = katze_object_get_string (hit_test, "image-uri");
|
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)
|
else if (context & WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK)
|
||||||
{
|
{
|
||||||
uri = katze_object_get_string (hit_test, "link-uri");
|
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
|
else
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue