kapilt / getpaid

Automatically exported from code.google.com/p/getpaid
0 stars 0 forks source link

i18n domains need to cleaned up in PloneGetPaid product #226

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
We have i18n domains of: 
1 getpaid (in getpaid.core)
2 plonegetpaid (in PloneGetPaid)
3 plonegetpaid-plone (in PloneGetPaid)

I checked in updates for (1) as it is fine (thanks to help from Hanno and
Maurits's blog), but there seems to be some confusion around 2 and 3. 

The last one was intended for elements of the Plone UI that we are
modifying. For example, the items we add to the actions menu and links in
the personal bar such as "order history". All elements of the product that
only appear on GetPaid pages in the UI were intended for the "plonegetpaid"
domain. 

It seems these got mixed up somewhat, as the plonegetpaid-plone domain
should have very few items, though when I updated the .po files over 100
items were added. I noticed the plonegetpaid-plone domain used in the
checkout wizard and the address book, on a quick inspection. 

We need to review the code and update domains appropriately. 

Original issue reported on code.google.com by cjj.ifpe...@gmail.com on 14 Oct 2008 at 12:02

GoogleCodeExporter commented 8 years ago
while extending i18n.sh to update the plonegetpaid-plone po(t) files too
(see http://code.google.com/p/getpaid/source/detail?r=3661) i also noticed that 
all
msgids of the domain plonegetpaid get added to plonegetpaid-plone too.

however, the setup (eg in interfaces.py) looks fine to me.

from zope.i18nmessageid import MessageFactory
_ = MessageFactory('plonegetpaid') 
_(u"translate me")

i did not find the reason for the id "translate me" to shop up in 
plonegetpaid-plone.pot.

i checked the i18n.sh script if it accidentally sincs the plonegetpaid ids to 
the
plone files but that's not the case.

maybe i18ndude is buggy?

Original comment by haral...@gmx.at on 4 Jun 2010 at 10:21