gnucash maint: HIG, I18N: Improve Budget menu entries

Frank H.Ellenberger fell at code.gnucash.org
Sat May 9 22:08:38 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/0b0e4c76 (commit)
	from  https://github.com/Gnucash/gnucash/commit/e92cd20d (commit)



commit 0b0e4c7630f9a5a8202011fe5dc760eaed58dc28
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Sun May 10 03:41:05 2020 +0200

    HIG, I18N: Improve Budget menu entries

diff --git a/gnucash/gnome/gnc-plugin-budget.c b/gnucash/gnome/gnc-plugin-budget.c
index bdbd9b21e..6632a8d11 100644
--- a/gnucash/gnome/gnc-plugin-budget.c
+++ b/gnucash/gnome/gnc-plugin-budget.c
@@ -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)
     },
 
diff --git a/gnucash/gnome/gnc-plugin-page-budget.c b/gnucash/gnome/gnc-plugin-page-budget.c
index cd845c23e..90d7f20a1 100644
--- a/gnucash/gnome/gnc-plugin-page-budget.c
+++ b/gnucash/gnome/gnc-plugin-page-budget.c
@@ -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)
     },
 
@@ -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)
     },
 



Summary of changes:
 gnucash/gnome/gnc-plugin-budget.c      | 16 ++++++++--------
 gnucash/gnome/gnc-plugin-page-budget.c | 20 ++++++++++----------
 2 files changed, 18 insertions(+), 18 deletions(-)



More information about the gnucash-changes mailing list