gnucash master: Address some translator comments that are serious enough to break string freeze.

John Ralls jralls at code.gnucash.org
Fri Mar 24 17:13:03 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/eb7e4893 (commit)
	from  https://github.com/Gnucash/gnucash/commit/fc41a51f (commit)



commit eb7e4893d2e2df0e5b1cd924125d8665c273b600
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Mar 24 14:12:05 2023 -0700

    Address some translator comments that are serious enough to break string freeze.

diff --git a/gnucash/gnome-utils/gnc-account-sel.c b/gnucash/gnome-utils/gnc-account-sel.c
index 92edda22e7..ff19659145 100644
--- a/gnucash/gnome-utils/gnc-account-sel.c
+++ b/gnucash/gnome-utils/gnc-account-sel.c
@@ -989,7 +989,10 @@ gnc_account_sel_set_new_account_ability (GNCAccountSel *gas,
         return;
     }
 
-    /* create the button. */
+    /* Translators: This is a button label displayed in the account selector
+     * control used in several dialogs. When pressed it opens the New Account
+     * dialog.
+     */
     gas->newAccountButton = gtk_button_new_with_label (_("New…"));
     g_signal_connect (gas->newAccountButton,
                       "clicked",
diff --git a/gnucash/gtkbuilder/dialog-bi-import-gui.glade b/gnucash/gtkbuilder/dialog-bi-import-gui.glade
index aefde07390..ee2a4dd2ed 100644
--- a/gnucash/gtkbuilder/dialog-bi-import-gui.glade
+++ b/gnucash/gtkbuilder/dialog-bi-import-gui.glade
@@ -389,7 +389,7 @@
                 </child>
                 <child>
                   <object class="GtkRadioButton" id="radiobuttonOpenNotPosted">
-                    <property name="label" translatable="yes">Open not yet posted documents in tabs </property>
+                    <property name="label" translatable="yes">Open not yet posted documents in tabs</property>
                     <property name="visible">True</property>
                     <property name="can-focus">True</property>
                     <property name="receives-default">False</property>
diff --git a/gnucash/register/ledger-core/split-register-model.c b/gnucash/register/ledger-core/split-register-model.c
index 52645684b4..5a86c9003c 100644
--- a/gnucash/register/ledger-core/split-register-model.c
+++ b/gnucash/register/ledger-core/split-register-model.c
@@ -251,6 +251,10 @@ gnc_split_register_get_num_label (VirtualLocation virt_loc,
     case RECEIVABLE_REGISTER:
     case PAYABLE_REGISTER:
         /* Column label for Invoice IDs in A/P & A/R accounts */
+        /* Translators: Ref is the column header in Accounts Payable and
+         * Accounts Receivable ledgers for the number of the invoice or bill
+         * associated with the transaction.
+         */
         return _ ("Ref");
     default:
         return _ ("Num");
diff --git a/gnucash/report/reports/standard/account-summary.scm b/gnucash/report/reports/standard/account-summary.scm
index 6a6cfdc907..0e8549c223 100644
--- a/gnucash/report/reports/standard/account-summary.scm
+++ b/gnucash/report/reports/standard/account-summary.scm
@@ -293,7 +293,7 @@
                      'report-title report-title
                      'start (qof-print-date from-date)
                      'end (qof-print-date to-date))
-         (gnc:format (G_ "${company-name} ${report-title} ${date}")
+         (gnc:format "${company-name} ${report-title} ${date}"
                      'company-name company-name
                      'report-title report-title
                      'date (qof-print-date to-date))))
diff --git a/gnucash/report/reports/standard/investment-lots.scm b/gnucash/report/reports/standard/investment-lots.scm
index e954ac5648..741740811d 100644
--- a/gnucash/report/reports/standard/investment-lots.scm
+++ b/gnucash/report/reports/standard/investment-lots.scm
@@ -806,7 +806,7 @@
                           (price->currency price)))
               ;; The price is not already in the report currency, so also
               ;; display the price converted to the report currency.
-              (format #f (G_ " [~a]")
+              (format #f " [~a]"
                 (price->report-currency-monetary-string price))
               "")
             (qof-print-date (price->time price)))
diff --git a/gnucash/report/trep-engine.scm b/gnucash/report/trep-engine.scm
index a501703bba..977f5ad2ca 100644
--- a/gnucash/report/trep-engine.scm
+++ b/gnucash/report/trep-engine.scm
@@ -946,7 +946,7 @@ be excluded from periodic reporting.")
     ;; Ditto for Other Account Name #t -> Use Full Other Account Name is selectable
     (gnc-register-complex-boolean-option options
       gnc:pagename-display (N_ "Other Account Name")
-      "h5"  (G_ "Display the other account name? (if this is a split transaction, this parameter is guessed).") disp-other-accname?
+      "h5"  (G_ "Display the other account name? If this is a split transaction, this parameter is guessed.") disp-other-accname?
       (lambda (x)
         (set! disp-other-accname? x)
         (apply-selectable-by-name-display-options)))



Summary of changes:
 gnucash/gnome-utils/gnc-account-sel.c               | 5 ++++-
 gnucash/gtkbuilder/dialog-bi-import-gui.glade       | 2 +-
 gnucash/register/ledger-core/split-register-model.c | 4 ++++
 gnucash/report/reports/standard/account-summary.scm | 2 +-
 gnucash/report/reports/standard/investment-lots.scm | 2 +-
 gnucash/report/trep-engine.scm                      | 2 +-
 6 files changed, 12 insertions(+), 5 deletions(-)



More information about the gnucash-changes mailing list