mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Improve Import menu entries Customer & vendors...
use same menu label as others, replace template by tooltip, add ellipsis to entry, add comments to distinguish "Import" as verb and substantive.
This commit is contained in:
parent
d983ad9e46
commit
2b122d1faa
@ -54,7 +54,7 @@ static GtkActionEntry gnc_plugin_actions [] =
|
|||||||
{
|
{
|
||||||
/* Menu Items */
|
/* Menu Items */
|
||||||
{ "ImportMenuAction", NULL, N_("_Import"), NULL, NULL, NULL },
|
{ "ImportMenuAction", NULL, N_("_Import"), NULL, NULL, NULL },
|
||||||
{ "bi_importAction", NULL, N_("Import Bills & Invoices..."), NULL, N_("Import bills and invoices from a CSV text file"), G_CALLBACK(gnc_plugin_bi_import_cmd_test) },
|
{ "bi_importAction", GTK_STOCK_CONVERT, N_("Import Bills & _Invoices..."), NULL, N_("Import bills and invoices from a CSV text file"), G_CALLBACK(gnc_plugin_bi_import_cmd_test) },
|
||||||
};
|
};
|
||||||
static guint gnc_plugin_n_actions = G_N_ELEMENTS(gnc_plugin_actions);
|
static guint gnc_plugin_n_actions = G_N_ELEMENTS(gnc_plugin_actions);
|
||||||
|
|
||||||
|
@ -53,8 +53,9 @@ static void gnc_plugin_customer_import_cmd_test (GtkAction *action, GncMainWindo
|
|||||||
static GtkActionEntry gnc_plugin_actions [] =
|
static GtkActionEntry gnc_plugin_actions [] =
|
||||||
{
|
{
|
||||||
/* Menu Items */
|
/* Menu Items */
|
||||||
{ "ImportMenuAction", NULL, N_("I_mport"), NULL, NULL, NULL },
|
{ "ImportMenuAction", NULL, N_("_Import"), NULL, NULL, NULL },
|
||||||
{ "customer_importAction", NULL, N_("Import Customers and Vendors"), NULL, N_("customer_import tooltip"), G_CALLBACK(gnc_plugin_customer_import_cmd_test) },
|
/* Menu entry with label and tooltip */
|
||||||
|
{ "customer_importAction", GTK_STOCK_CONVERT, N_("Import _Customers & Vendors..."), NULL, N_("Import Customers and Vendors from a CSV text file."), G_CALLBACK(gnc_plugin_customer_import_cmd_test) },
|
||||||
};
|
};
|
||||||
static guint gnc_plugin_n_actions = G_N_ELEMENTS(gnc_plugin_actions);
|
static guint gnc_plugin_n_actions = G_N_ELEMENTS(gnc_plugin_actions);
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<property name="height_request">500</property>
|
<property name="height_request">500</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="title" translatable="yes">Import customers or vendors from text file</property>
|
<property name="title" translatable="yes" comments="Title of dialog">Import customers or vendors from text file</property>
|
||||||
<property name="type_hint">dialog</property>
|
<property name="type_hint">dialog</property>
|
||||||
<signal name="destroy" handler="gnc_customer_import_gui_destroy_cb" swapped="no"/>
|
<signal name="destroy" handler="gnc_customer_import_gui_destroy_cb" swapped="no"/>
|
||||||
<child internal-child="vbox">
|
<child internal-child="vbox">
|
||||||
|
Loading…
Reference in New Issue
Block a user