Discussion:
[Erp5-dev] [PATCH] Module's Translated Title takes value from Localiser/ui in breadcrumbs
Boris Kocherov
2008-09-26 10:27:57 UTC
Permalink
Module's titles which had the translation message in Localiser/content and Localiser/ui took the translation value from Localiser/content. Now it takes the translated value from Localiser/ui.
in opposite to [svn r17976]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: trunk.patch
Type: text/x-patch
Size: 3393 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080926/2b562026/attachment.bin>
Jean-Paul Smets
2008-09-26 10:48:05 UTC
Permalink
Hi,

This is not the appropriate way to do. If you want to define the
translation source of a translatable property, there is a configuration
available in each portal type. This configuration impacts the behaviour
of getTranslatedTitle (the accessor).

I agree that the translation of module title is more like UI (unlike
most documents which are usually content).

There could be a need to update some portal types to make sure this is
taken into account. (I do not know the precise status).

Regards,

JPS.
Post by Boris Kocherov
Module's titles which had the translation message in Localiser/content and Localiser/ui took the translation value from Localiser/content. Now it takes the translated value from Localiser/ui.
in opposite to [svn r17976]
------------------------------------------------------------------------
_______________________________________________
Erp5-dev mailing list
Erp5-dev at erp5.org
http://mail.nexedi.com/mailman/listinfo/erp5-dev
--
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
ERP5 Enterprise: Free / Open Source ERP for Critical Applications
http://www.erp5.com
ERP5 Express: Hosted Open Source ERP for small companies
http://www.myerp5.com
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
Boris Kocherov
2008-09-27 12:27:12 UTC
Permalink
I send corrected patch:
http://mail.nexedi.com/pipermail/erp5-dev/2008-September/002084.html
Post by Jean-Paul Smets
Hi,
This is not the appropriate way to do. If you want to define the
translation source of a translatable property, there is a configuration
available in each portal type. This configuration impacts the behaviour
of getTranslatedTitle (the accessor).
I agree that the translation of module title is more like UI (unlike
most documents which are usually content).
There could be a need to update some portal types to make sure this is
taken into account. (I do not know the precise status).
Regards,
JPS.
Post by Boris Kocherov
Module's titles which had the translation message in Localiser/content and Localiser/ui took the translation value from Localiser/content. Now it takes the translated value from Localiser/ui.
in opposite to [svn r17976]
------------------------------------------------------------------------
_______________________________________________
Erp5-dev mailing list
Erp5-dev at erp5.org
http://mail.nexedi.com/mailman/listinfo/erp5-dev
--
A specter is haunting Europe -- the specter of Communism.
Jean-Paul Smets
2008-09-26 10:48:15 UTC
Permalink
Hi,

This is not the appropriate way to do. If you want to define the
translation source of a translatable property, there is a configuration
available in each portal type. This configuration impacts the behaviour
of getTranslatedTitle (the accessor).

I agree that the translation of module title is more like UI (unlike
most documents which are usually content).

There could be a need to update some portal types to make sure this is
taken into account. (I do not know the precise status).

Regards,

JPS.
Post by Boris Kocherov
Module's titles which had the translation message in Localiser/content and Localiser/ui took the translation value from Localiser/content. Now it takes the translated value from Localiser/ui.
in opposite to [svn r17976]
------------------------------------------------------------------------
_______________________________________________
Erp5-dev mailing list
Erp5-dev at erp5.org
http://mail.nexedi.com/mailman/listinfo/erp5-dev
--
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
ERP5 Enterprise: Free / Open Source ERP for Critical Applications
http://www.erp5.com
ERP5 Express: Hosted Open Source ERP for small companies
http://www.myerp5.com
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
Boris Kocherov
2008-09-27 12:24:46 UTC
Permalink
Module's titles which had the translation message in Localiser/content and Localiser/ui took the translation value from Localiser/content. Now it takes the translated value from Localiser/ui.
Implemented through portal types updating.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: trunk.patch
Type: text/x-patch
Size: 116287 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080927/c1a8d014/attachment.bin>
Loading...