Small fixes for various translation issues

* Deduplicate translatable strings
* Add context to one-letter strings in guile code
* Fix typo in linked document gui
Align translatable strings
This commit is contained in:
Geert Janssens
2020-09-16 23:43:58 +02:00
parent dae2ea8356
commit f0188966f0
5 changed files with 9 additions and 9 deletions

View File

@@ -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},
};
@@ -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},
};
@@ -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},
};
@@ -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},
};
@@ -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},
};

View File

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

View File

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

View File

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

View File

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