gnucash maint: Add short_labels for a few toolbar buttons with long names.
Geert Janssens
gjanssens at code.gnucash.org
Thu Nov 8 03:20:43 EST 2018
Updated via https://github.com/Gnucash/gnucash/commit/52380d11 (commit)
from https://github.com/Gnucash/gnucash/commit/d9bdf84d (commit)
commit 52380d11d277cbb96b88665e5f6e3cdfe199eddb
Author: Geert Janssens <geert at kobaltwit.be>
Date: Wed Nov 7 18:20:58 2018 +0100
Add short_labels for a few toolbar buttons with long names.
That should fit a few more buttons on the toolbar.
diff --git a/gnucash/gnome/gnc-plugin-page-invoice.c b/gnucash/gnome/gnc-plugin-page-invoice.c
index a4f2f89..77cd420 100644
--- a/gnucash/gnome/gnc-plugin-page-invoice.c
+++ b/gnucash/gnome/gnc-plugin-page-invoice.c
@@ -265,6 +265,7 @@ static action_toolbar_labels toolbar_labels[] =
{ "BlankEntryAction", N_("Blank") },
{ "EditPostInvoiceAction", N_("Post") },
{ "EditUnpostInvoiceAction", N_("Unpost") },
+ { "ToolsProcessPaymentAction", N_("Pay") },
{ NULL, NULL },
};
diff --git a/gnucash/report/report-gnome/gnc-plugin-page-report.c b/gnucash/report/report-gnome/gnc-plugin-page-report.c
index b370d87..792792c 100644
--- a/gnucash/report/report-gnome/gnc-plugin-page-report.c
+++ b/gnucash/report/report-gnome/gnc-plugin-page-report.c
@@ -1122,6 +1122,13 @@ static action_toolbar_labels toolbar_labels[] =
{ "FilePrintAction", N_("Print") },
{ "ReportExportAction", N_("Export") },
{ "ReportOptionsAction", N_("Options") },
+ /* Translators: This string is meant to be a short alternative for "Save Report Configuration"
+ * to be used as toolbar button label. */
+ { "ReportSaveAction", N_("Save Config") },
+ /* Translators: This string is meant to be a short alternative for "Save Report Configuration As..."
+ * to be used as toolbar button label. */
+ { "ReportSaveAsAction", N_("Save Config As...") },
+ { "FilePrintPDFAction", N_("Make Pdf") },
{ NULL, NULL },
};
diff --git a/gnucash/ui/gnc-plugin-page-report-ui.xml b/gnucash/ui/gnc-plugin-page-report-ui.xml
index 726426a..cc6f0b8 100644
--- a/gnucash/ui/gnc-plugin-page-report-ui.xml
+++ b/gnucash/ui/gnc-plugin-page-report-ui.xml
@@ -39,10 +39,10 @@
<toolitem name="ReportToolbarReload" action="ReportReloadAction" />
<toolitem name="ReportToolbarStop" action="ReportStopAction" />
<separator name="ReportToolbarSep1" />
+ <toolitem name="ReportToolbarOptions" action="ReportOptionsAction" />
<toolitem name="ReportToolbarSave" action="ReportSaveAction" />
<toolitem name="ReportToolbarSaveAs" action="ReportSaveAsAction" />
<toolitem name="ReportToolbarExport" action="ReportExportAction" />
- <toolitem name="ReportToolbarOptions" action="ReportOptionsAction" />
<toolitem name="ReportToolbarPrint" action="FilePrintAction" />
<toolitem name="ReportToolbarExportPDF" action="FilePrintPDFAction"/>
</placeholder>
Summary of changes:
gnucash/gnome/gnc-plugin-page-invoice.c | 1 +
gnucash/report/report-gnome/gnc-plugin-page-report.c | 7 +++++++
gnucash/ui/gnc-plugin-page-report-ui.xml | 2 +-
3 files changed, 9 insertions(+), 1 deletion(-)
More information about the gnucash-changes
mailing list