Skip to content

Commit

Permalink
HIG, I18N: Improve Budget menu entries
Browse files Browse the repository at this point in the history
  • Loading branch information
fellen committed May 10, 2020
1 parent e92cd20 commit 0b0e4c7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
16 changes: 8 additions & 8 deletions gnucash/gnome/gnc-plugin-budget.c
Expand Up @@ -60,25 +60,25 @@ static void gnc_plugin_budget_cmd_delete_budget (GtkAction *action,
static GtkActionEntry gnc_plugin_actions [] =
{
{
"NewBudgetAction", NULL, N_("New Budget"), NULL,
N_("Create a new Budget"),
"NewBudgetAction", NULL, N_("_New Budget"), NULL,
N_("Create a new Budget."),
G_CALLBACK(gnc_plugin_budget_cmd_new_budget)
},

{
"OpenBudgetAction", NULL, N_("Open Budget"), NULL,
N_("Open an existing Budget"),
"OpenBudgetAction", NULL, N_("_Open Budget"), NULL,
N_("Open an existing Budget in a new tab. If none exists a new budget will be created."),
G_CALLBACK(gnc_plugin_budget_cmd_open_budget)
},

{
"CopyBudgetAction", NULL, N_("Copy Budget"), NULL,
N_("Copy an existing Budget"),
"CopyBudgetAction", NULL, N_("_Copy Budget"), NULL,
N_("Copy an existing Budget."),
G_CALLBACK(gnc_plugin_budget_cmd_copy_budget)
},
{
"DeleteBudgetAction", NULL, N_("Delete Budget"), NULL,
N_("Deletes an existing Budget"),
"DeleteBudgetAction", NULL, N_("_Delete Budget"), NULL,
N_("Delete an existing Budget."),
G_CALLBACK(gnc_plugin_budget_cmd_delete_budget)
},

Expand Down
20 changes: 10 additions & 10 deletions gnucash/gnome/gnc-plugin-page-budget.c
Expand Up @@ -132,37 +132,37 @@ static GtkActionEntry gnc_plugin_page_budget_actions [] =
/* File menu */
{
"OpenAccountAction", GNC_ICON_OPEN_ACCOUNT, N_("Open _Account"), NULL,
N_("Open the selected account"),
N_("Open the selected account."),
G_CALLBACK(gnc_plugin_page_budget_cmd_open_account)
},
{
"OpenSubaccountsAction", GNC_ICON_OPEN_ACCOUNT,
N_("Open _Subaccounts"), NULL,
N_("Open the selected account and all its subaccounts"),
N_("Open the selected account and all its subaccounts."),
G_CALLBACK(gnc_plugin_page_budget_cmd_open_subaccounts)
},

/* Edit menu */
{
"DeleteBudgetAction", GNC_ICON_DELETE_BUDGET, N_("_Delete Budget"),
NULL, N_("Delete this budget"),
NULL, N_("Delete this budget."),
G_CALLBACK(gnc_plugin_page_budget_cmd_delete_budget)
},
{
"OptionsBudgetAction", "document-properties", N_("Budget Options"),
NULL, N_("Edit this budget's options"),
"OptionsBudgetAction", "document-properties", N_("Budget _Options..."),
NULL, N_("Edit this budget's options."),
G_CALLBACK(gnc_plugin_page_budget_cmd_view_options)
},
{
"EstimateBudgetAction", "system-run", N_("Estimate Budget"),
"EstimateBudgetAction", "system-run", N_("Esti_mate Budget..."),
NULL,
N_("Estimate a budget value for the selected accounts from past transactions"),
N_("Estimate a budget value for the selected accounts from past transactions."),
G_CALLBACK(gnc_plugin_page_budget_cmd_estimate_budget)
},
{
"AllPeriodsBudgetAction", "system-run", N_("All Periods"),
"AllPeriodsBudgetAction", "system-run", N_("_All Periods..."),
NULL,
N_("Edit budget for all periods for the selected accounts"),
N_("Edit budget for all periods for the selected accounts."),
G_CALLBACK(gnc_plugin_page_budget_cmd_allperiods_budget)
},

Expand All @@ -173,7 +173,7 @@ static GtkActionEntry gnc_plugin_page_budget_actions [] =
},
{
"ViewRefreshAction", "view-refresh", N_("_Refresh"), "<primary>r",
N_("Refresh this window"),
N_("Refresh this window."),
G_CALLBACK(gnc_plugin_page_budget_cmd_refresh)
},

Expand Down

0 comments on commit 0b0e4c7

Please sign in to comment.