Fix translation of button labels

reported as section 2 of
https://lists.gnucash.org/pipermail/gnucash-de/2018-October/010480.html
This commit is contained in:
Frank H. Ellenberger 2018-10-18 22:52:03 +02:00
parent fe99b0a702
commit b80e5d04c6

View File

@ -274,7 +274,7 @@ gnc_plugin_init_short_names (GtkActionGroup *action_group,
/* Add a couple of short labels for the toolbar */
action = gtk_action_group_get_action (action_group,
toolbar_labels[i].action_name);
gtk_action_set_short_label (action, toolbar_labels[i].label);
gtk_action_set_short_label (action, _(toolbar_labels[i].label));
}
}