[gtk+] places view: Use proper gettext macros
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] places view: Use proper gettext macros
- Date: Wed, 26 Aug 2015 03:33:07 +0000 (UTC)
commit 2d83dd62173fc5e651e7df95f331ad5cc46a29cf
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Aug 25 23:28:56 2015 -0400
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
gtk/gtkplacesview.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index 67d63ec..afc114b 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -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),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]