places view: Use proper gettext macros

P_() is meant only for property nicks and blurbs. Everything
else should use _().

http://bugzilla.gnome.org/show_bug.cgi?id=754086
This commit is contained in:
Matthias Clasen 2015-08-25 23:28:56 -04:00
parent b287412249
commit 2d83dd6217

View File

@ -1644,7 +1644,7 @@ build_popup_menu (GtkPlacesView *view,
/* Mount/Unmount items */
if (mount)
{
item = gtk_menu_item_new_with_mnemonic (is_network ? P_("_Disconnect") : P_("_Unmount"));
item = gtk_menu_item_new_with_mnemonic (is_network ? _("_Disconnect") : _("_Unmount"));
g_signal_connect (item,
"activate",
G_CALLBACK (unmount_cb),
@ -1654,7 +1654,7 @@ build_popup_menu (GtkPlacesView *view,
}
else
{
item = gtk_menu_item_new_with_mnemonic (is_network ? P_("_Connect") : P_("_Mount"));
item = gtk_menu_item_new_with_mnemonic (is_network ? _("_Connect") : _("_Mount"));
g_signal_connect (item,
"activate",
G_CALLBACK (mount_cb),