Skip to content

Commit

Permalink
Small fixes for various translation issues
Browse files Browse the repository at this point in the history
* Deduplicate translatable strings
* Add context to one-letter strings in guile code
* Fix typo in linked document gui
Align translatable strings
  • Loading branch information
gjanssens committed Sep 17, 2020
1 parent dae2ea8 commit f018896
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions gnucash/gnome/gnc-plugin-page-invoice.c
Expand Up @@ -300,7 +300,7 @@ static action_toolbar_labels invoice_action_labels[] =
{"EditUnpostInvoiceAction", N_("_Unpost Invoice")},
{"BusinessNewInvoiceAction", N_("New _Invoice")},
{"ToolsProcessPaymentAction", N_("_Pay Invoice")},
{"BusinessLinkAction", N_("_Manage Document Link")},
{"BusinessLinkAction", N_("_Manage Document Link...")},
{"BusinessLinkOpenAction", N_("_Open Linked Document")},
{NULL, NULL},
};
Expand All @@ -321,7 +321,7 @@ static action_toolbar_labels bill_action_labels[] =
{"EditUnpostInvoiceAction", N_("_Unpost Bill")},
{"BusinessNewInvoiceAction", N_("New _Bill")},
{"ToolsProcessPaymentAction", N_("_Pay Bill")},
{"BusinessLinkAction", N_("_Manage Document Link")},
{"BusinessLinkAction", N_("_Manage Document Link...")},
{"BusinessLinkOpenAction", N_("_Open Linked Document")},
{NULL, NULL},
};
Expand All @@ -342,7 +342,7 @@ static action_toolbar_labels voucher_action_labels[] =
{"EditUnpostInvoiceAction", N_("_Unpost Voucher")},
{"BusinessNewInvoiceAction", N_("New _Voucher")},
{"ToolsProcessPaymentAction", N_("_Pay Voucher")},
{"BusinessLinkAction", N_("_Manage Document Link")},
{"BusinessLinkAction", N_("_Manage Document Link...")},
{"BusinessLinkOpenAction", N_("_Open Linked Document")},
{NULL, NULL},
};
Expand All @@ -363,7 +363,7 @@ static action_toolbar_labels creditnote_action_labels[] =
{"EditUnpostInvoiceAction", N_("_Unpost Credit Note")},
{"BusinessNewInvoiceAction", N_("New _Credit Note")},
{"ToolsProcessPaymentAction", N_("_Pay Credit Note")},
{"BusinessLinkAction", N_("_Manage Document Link")},
{"BusinessLinkAction", N_("_Manage Document Link...")},
{"BusinessLinkOpenAction", N_("_Open Linked Document")},
{NULL, NULL},
};
Expand Down Expand Up @@ -442,7 +442,7 @@ static action_toolbar_labels creditnote_action_tooltips[] = {
{"BlankEntryAction", N_("Move to the blank entry at the bottom of the credit note")},
{"ToolsProcessPaymentAction", N_("Enter a payment for the owner of this credit note") },
{"ReportsCompanyReportAction", N_("Open a company report window for the owner of this credit note") },
{"BusinessLinkAction", N_("_Manage Document Link")},
{"BusinessLinkAction", N_("_Manage Document Link...")},
{"BusinessLinkOpenAction", N_("Open Linked Document")},
{NULL, NULL},
};
Expand Down
2 changes: 1 addition & 1 deletion gnucash/gtkbuilder/dialog-doclink.glade
Expand Up @@ -529,7 +529,7 @@
</child>
<child>
<object class="GtkButton" id="check_button">
<property name="label" translatable="yes">_Locate Linked Documentss</property>
<property name="label" translatable="yes">_Locate Linked Documents</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
Expand Down
2 changes: 1 addition & 1 deletion gnucash/report/reports/aging.scm
Expand Up @@ -770,7 +770,7 @@ copying this report to a spreadsheet for use in a mail merge.")
(addr-fax (gncAddressGetFax addr))
(addr-email (gncAddressGetEmail addr))
(company-active (if (gncOwnerGetActive owner)
(G_ "Y") (G_ "N")))
(C_ "One-letter indication for 'yes'" "Y") (C_ "One-letter indication for 'no'" "N")))
(opt-fld-list '())
)
;; (gnc:debug "aging-renderer: disp-addr-source=" disp-addr-source
Expand Down
2 changes: 1 addition & 1 deletion gnucash/report/reports/standard/balsheet-pnl.scm
Expand Up @@ -139,7 +139,7 @@ also show overall period profit & loss."))

(list 'YearDelta
(cons 'text (G_ "Year"))
(cons 'tip (G_ "One year.")))
(cons 'tip (G_ "One Year.")))

(list 'HalfYearDelta
(cons 'text (G_ "Half Year"))
Expand Down
2 changes: 1 addition & 1 deletion gnucash/report/reports/standard/new-aging.scm
Expand Up @@ -161,7 +161,7 @@ exist but have no suitable transactions."))
(gncAddressGetPhone addr)
(gncAddressGetFax addr)
(gncAddressGetEmail addr)
(if (gncOwnerGetActive owner) (G_ "Y") (G_ "N")))))
(if (gncOwnerGetActive owner) (C_ "One-letter indication for 'yes'" "Y") (C_ "One-letter indication for 'no'" "N")))))
(else address-list-names))))
(fold-right (lambda (opt elt prev) (if opt (cons elt prev) prev))
'() address-list-options result-list)))
Expand Down

0 comments on commit f018896

Please sign in to comment.