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

This commit is contained in:
John Ralls 2023-03-24 14:12:05 -07:00
parent fc41a51f57
commit eb7e4893d2
6 changed files with 12 additions and 5 deletions

View File

@ -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",

View File

@ -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>

View File

@ -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");

View File

@ -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))))

View File

@ -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)))

View File

@ -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)))