hi vincent
validators in Products.validation are now returning translated i18n-messages
instead of strings (1.6 branch, used in plonenext 3.3 by default).
when i run rebuild-pot.py plone there are a lot of unnecessary changes (~92)
in plone.pot
for example, the lines
#. Default: "Add to favorites"
#: CMFPlone/profiles/default/actions.xml
#: CMFPlone/migrations/v3_0/profiles/beta1_beta2/actions.xml
msgid "Add to favorites"
msgstr ""
will become
#. Default: "Add to favorites"
#: CMFPlone/migrations/v3_0/profiles/beta1_beta2/actions.xml
#: CMFPlone/profiles/default/actions.xml
msgid "Add to favorites"
msgstr ""
or
#. Default: "There are currently no items in this folder."
#: CMFPlone/skins/plone_content/folder_summary_view.pt:159
msgid "description_no_items_in_folder"
msgstr ""
will become
#. Default: "There are currently no items in this folder."
#: CMFPlone/skins/plone_content/folder_listing.pt:165
msgid "description_no_items_in_folder"
msgstr ""
do you check in a new version of plone.pot after extracting messageids, or
did you never have this problem?
any ideas why this could happen?
regards, fRiSi
Vincent Fretin wrote:
> Hi Harald,
>
> On Thu, Mar 19, 2009 at 12:14 AM, Harald Friessnegger
> <
[hidden email]> wrote:
>> hi there
>>
>> i'm planning to make Products.validation translateable and add a german
>> translation for it (see "Re: validators not translated (eg isEmail)" on
>> this list)
>>
>> according to hanno it's okay to use the i18n:domain plone for this.
> Ok.
>
>> how do i extract the new messages out of Products.validation into the
>> right pot file of Products.PloneTranslations? is there any helper script?
> I added Product.validation in the list of eggs for the plone domain in
> rebuild-pot.py
> I commited the procedure I use to synchronise Plone translations here:
>
https://svn.plone.org/svn/collective/PloneTranslations/trunk/utils/README.txt> But send me a mail if you need to regenerate or synchronize po files.
> It's my job. ;-)
> If I don't answer in 2 days, it's possible I'm in vacation, in this
> case feel free to follow the procedure.
>
>> is
https://svn.plone.org/svn/collective/PloneTranslations/trunk/ the
>> right version to work on, or should i create a branch?
> Right now, trunk is for Plone 3.2 and 3.3.
--
Webmeisterei GmbH - Büro für Netzfragen
Tel: +43 5572 908877, Fax: +43 5572 908877-66
Steinebach 18, A-6850 Dornbirn
http://www.webmeisterei.com------------------------------------------------------------------------------
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n