gnucash maint: simplify commit c2598f8: Add a missing gettext in plugin page owner tree
Frank H. Ellenberger
fell at code.gnucash.org
Fri Jan 8 22:52:18 EST 2016
Updated via https://github.com/Gnucash/gnucash/commit/9df89b7c (commit)
from https://github.com/Gnucash/gnucash/commit/7a975e0e (commit)
commit 9df89b7c587589b24d54b00c21dd2278d296fc16
Author: fell <f.ellenberger at online.de>
Date: Sat Jan 9 04:51:42 2016 +0100
simplify commit c2598f8: Add a missing gettext in plugin page owner tree
http://lists.gnucash.org/pipermail/gnucash-devel/2016-January/039302.html
diff --git a/src/business/business-gnome/gnc-plugin-page-owner-tree.c b/src/business/business-gnome/gnc-plugin-page-owner-tree.c
index 84d8530..a3a4f84 100644
--- a/src/business/business-gnome/gnc-plugin-page-owner-tree.c
+++ b/src/business/business-gnome/gnc-plugin-page-owner-tree.c
@@ -605,19 +605,19 @@ gnc_plugin_page_owner_tree_create_widget (GncPluginPage *plugin_page)
case GNC_OWNER_UNDEFINED :
break;
case GNC_OWNER_CUSTOMER :
- label = N_("Customers");
+ label = _("Customers");
state_section = "Customers Overview";
break;
case GNC_OWNER_JOB :
- label = N_("Jobs");
+ label = _("Jobs");
state_section = "Jobs Overview";
break;
case GNC_OWNER_VENDOR :
- label = N_("Vendors");
+ label = _("Vendors");
state_section = "Vendors Overview";
break;
case GNC_OWNER_EMPLOYEE :
- label = N_("Employees");
+ label = _("Employees");
state_section = "Employees Overview";
break;
}
@@ -626,7 +626,7 @@ gnc_plugin_page_owner_tree_create_widget (GncPluginPage *plugin_page)
"show-column-menu", TRUE,
NULL);
- g_object_set(G_OBJECT(plugin_page), "page-name", _(label), NULL);
+ g_object_set(G_OBJECT(plugin_page), "page-name", label, NULL);
priv->tree_view = tree_view;
selection = gtk_tree_view_get_selection(tree_view);
Summary of changes:
src/business/business-gnome/gnc-plugin-page-owner-tree.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
More information about the gnucash-changes
mailing list