Skip to content

Commit

Permalink
simplify commit c2598f8: Add a missing gettext in plugin page owner tree
Browse files Browse the repository at this point in the history
  • Loading branch information
fellen committed Jan 9, 2016
1 parent 7a975e0 commit 9df89b7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/business/business-gnome/gnc-plugin-page-owner-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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);
Expand Down

0 comments on commit 9df89b7

Please sign in to comment.