GnuCash
Contact   Instructions
Bug 743943 - "Edit->Post Invoice" is ambiguous
Summary: "Edit->Post Invoice" is ambiguous
Status: NEW
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Translations (show other bugs)
Version: 2.6.x
Hardware: Other All
: Normal normal
Target Milestone: ---
Assignee: documentation
QA Contact: documentation
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-03 11:47 EST by Geert Janssens
Modified: 2020-06-01 15:26 EDT (History)
4 users (show)

See Also:


Attachments

Description Geert Janssens 2015-02-03 11:47:29 EST
The menu option is available for both an unposted invoice or bill.

Since invoice generically can mean both, it is relatively easy in English to understand which is meant solely by the context.

For translators it is more difficult however. For example in Dutch this menu option is translated as "Bewerken->Verkoopfactuur boeken" ("Verkoopfactuur" means "customer invoice"). So when you want to post a vendor bill, the menu option is also "Verkoopfactuur boeken".

This is clearly confusing.
Comment 1 Frank H. Ellenberger 2015-03-09 19:47:26 EDT
Aggreed. We should use
 Q_("General|Invoice")
 Q_("Customer|Invoice")
 Q_("Vendor|Invoice")

or pgettext("General", "Invoice") ...
perhaps with a define P_ ...

instead of
_("Invoice")
_("Bill")
(But changing "Bill" would require an en.po to get it back there)

But I am not shure, how to handle
N_("Invoice") ...

Reference: http://wiki.gnucash.org/wiki/Translation#Disambiguation_Prefix

Note You need to log in before you can comment on or make changes to this bug.