[invoice][i18n] enable i18n options helptext

and remove obsolete options "My Company" and "My Company ID"
This commit is contained in:
Christopher Lam
2019-11-20 00:13:42 +08:00
parent eea5ac98c0
commit 1ab95b5563
2 changed files with 5 additions and 11 deletions

View File

@@ -207,13 +207,13 @@
(gnc:register-inv-option
(gnc:make-text-option
(N_ "Layout") (N_ "CSS") "zz" "CSS code. This field specifies the CSS code
for styling the invoice. Please see the exported report for the CSS class names."
(N_ "Layout") (N_ "CSS") "zz" (N_ "CSS code. This field specifies the CSS code \
for styling the invoice. Please see the exported report for the CSS class names.")
(keylist-get-info variant-list variant 'css)))
(gnc:register-inv-option
(gnc:make-pixmap-option
(N_ "Layout") (N_ "Picture Location") "zy" "Location for Picture"
(N_ "Layout") (N_ "Picture Location") "zy" (N_ "Location for Picture")
""))
(gnc:register-inv-option
@@ -261,11 +261,6 @@ for styling the invoice. Please see the exported report for the CSS class names.
(N_ "Display Columns") (N_ "Total")
"n" (N_ "Display the entry's value?") #t))
;; company details can now be toggled via Layout tab
;; and IMHO company-tax-id should be rendered if present
(gnc:register-inv-option (gnc:make-internal-option "Display" "My Company" #f))
(gnc:register-inv-option (gnc:make-internal-option "Display" "My Company ID" #f))
(gnc:register-inv-option
(gnc:make-simple-boolean-option
(N_ "Display") (N_ "Due Date")

View File

@@ -105,9 +105,8 @@
(for-each
(lambda (disp-col-name)
(set-option! options "Display" disp-col-name setting))
'("My Company" "My Company ID" "Due Date"
"Use Detailed Tax Summary" "Totals" "Subtotal" "References"
"Billing Terms" "Billing ID" "Invoice Notes"
'("Due Date" "Use Detailed Tax Summary" "Totals" "Subtotal"
"References" "Billing Terms" "Billing ID" "Invoice Notes"
"Payments" "Job Details"))
options))