01-16-2018, 11:55 PM,
(This post was last modified: 01-16-2018, 11:59 PM by VortecCPI.)
|
|
VortecCPI
Paul Becker
|
Posts: 751
Threads: 211
Joined: Apr 2017
|
|
Language - _('Unit') Versus _('Units')
We use _('Unit') in 20 scripts and _('Units') in 55 scripts.
Is this by design or has this somehow slipped in by legacy or mistake?
Can we (should we) unify these so one change to language manages the entire system?
https://www.linkedin.com/in/eclipsepaulbecker
|
|
01-18-2018, 02:03 AM,
(This post was last modified: 01-18-2018, 02:08 AM by VortecCPI.)
|
|
VortecCPI
Paul Becker
|
Posts: 751
Threads: 211
Joined: Apr 2017
|
|
RE: Language - _('Unit') Versus _('Units')
Also... In messages.po in (3) places we have "Units of Measure" while all the other strings have "Unit of Measure".
I know, I know... I am being nit-picky here...
https://www.linkedin.com/in/eclipsepaulbecker
|
|
01-19-2018, 09:03 PM,
(This post was last modified: 01-19-2018, 09:04 PM by afcouling.)
|
|
afcouling
Senior Member
|
Posts: 123
Threads: 16
Joined: Aug 2015
|
|
RE: Language - _('Unit') Versus _('Units')
Hi Paul,
It would be great to have some consistency here.
The singular form sounds better to me.
How would you go about 'unifying' this?
If you are willing, I recommend that you make the necessary changes, and submit the code to submissions@weberp.org, as per the instructions in the Wiki.
Please continue to be 'nit-picky'.
Andy.
https://www.linkedin.com/in/andrewcouling
|
|
01-19-2018, 10:30 PM,
(This post was last modified: 01-19-2018, 10:41 PM by VortecCPI.)
|
|
VortecCPI
Paul Becker
|
Posts: 751
Threads: 211
Joined: Apr 2017
|
|
RE: Language - _('Unit') Versus _('Units')
I have looked at ANSI and ASTM and there is no consistency. Sort of like "Bill of Material" and "Bill of Materials". Silly English language!
Since there are only 20 scripts using _('Unit') it seems to make more sense to change those to _('Units') and go from there.
I assume we just merge these together in messages.po?
https://www.linkedin.com/in/eclipsepaulbecker
|
|
01-19-2018, 10:41 PM,
|
|
afcouling
Senior Member
|
Posts: 123
Threads: 16
Joined: Aug 2015
|
|
RE: Language - _('Unit') Versus _('Units')
I have no experience with Gettext translations, so can't confirm, but I'm aware that
Poedit is a popular tool for maintaining language files.
Andy.
https://www.linkedin.com/in/andrewcouling
|
|
01-19-2018, 11:05 PM,
|
|
VortecCPI
Paul Becker
|
Posts: 751
Threads: 211
Joined: Apr 2017
|
|
RE: Language - _('Unit') Versus _('Units')
Same issue for "Bill of Material" and "Bill of Materials".
"Bill of Material" occurs in 10 scripts and "Bill of Materials" occurs in 16 scripts.
https://www.linkedin.com/in/eclipsepaulbecker
|
|
01-19-2018, 11:30 PM,
(This post was last modified: 01-19-2018, 11:34 PM by VortecCPI.)
|
|
VortecCPI
Paul Becker
|
Posts: 751
Threads: 211
Joined: Apr 2017
|
|
RE: Language - _('Unit') Versus _('Units')
I am no English Grammar expert but here is my take on it...
"Unit of Measure" is that which describes a line item's measure (e.g., "EA").
"Units of Measure" is a list comprised of various "Unit of Measure" (e.g., "DZ, EA, FT, GA, LB")
https://www.linkedin.com/in/eclipsepaulbecker
|
|
01-19-2018, 11:40 PM,
|
|
afcouling
Senior Member
|
Posts: 123
Threads: 16
Joined: Aug 2015
|
|
RE: Language - _('Unit') Versus _('Units')
Using UnitsOfMeasure.php as an example, in my opinion, the page title "Units of Measure" is correct, but the table column header should be "Unit of Measure".
It seems that if this is to be reviewed, it should be done script by script, rather than in one fell swoop.
#canofworms
Andy.
https://www.linkedin.com/in/andrewcouling
|
|
01-19-2018, 11:51 PM,
|
|
VortecCPI
Paul Becker
|
Posts: 751
Threads: 211
Joined: Apr 2017
|
|
RE: Language - _('Unit') Versus _('Units')
Agreed and while it adds little (or no) true value to webERP it does make it consistent.
Since we have a new release coming soon perhaps we should try to get some of this done?
https://www.linkedin.com/in/eclipsepaulbecker
|
|
|