Re: PloneTranslations po files moved to the locales folder

Vincent Fretin <[email protected]>
Newsgroups gmane.comp.web.zope.plone.internationalization
Message-ID <[email protected]>
On Wed, Jun 2, 2010 at 1:05 AM, Maurits van Rees
<m.van.rees-1kr/[email protected]> wrote:
> Op 01-06-10 15:44, Jan Ulrich Hasecke schreef:
>> On 31.05.10 21:25, Vincent Fretin wrote:
>>> Hi,
>>>
>>> Please update your Plone 4 translation: 3 added, 2 removed, 2 fuzzies
>>>
>>> Vincent
>>>
>>> ------------------------------------------------------------------------------
>>
>> I found this one
>>
>> #: CMFPlone/skins/plone_content/event_view.pt:45
>> msgid "event_when_differentday_optional_word_between_date_and_time"
>> msgstr ""
>>
>> there is no Default line and I am unable to find the line in the source
>> code.
>
> The line is there were reported in the comment; perhaps you need to do
> an svn up on Plone trunk?  See here:
> http://dev.plone.org/plone/browser/Plone/trunk/Products/CMFPlone/skins/plone_content/event_view.pt
> (currently indeed at line 45 as reported, and at line 60)
>
> Like the msgid says, this is an optional word; the English text is empty
> and I guess for most languages it is fine when it remains empty (which
> means reaching 100% translation coverage for that language will be
> unreachable).  The text is for the start/end date and time of events:
>
> Start Date <optional word> Start Time
> and:
> End Date <optional word> End Time
>
> It looks quite strange, and having this inside a very small
> metal:define-slot looks even stranger.
>
> The way event_when_sameday and event_when_differentday are setup looks
> saner to me.

You can put a space in msgstr and you will reach 100%.

I don't know what is the use of metal:define-slot here and really
don't know if it's really used.

I wrote the change which introduced the
event_when_differentday_optional_word_between_date_and_time,
It's the only way I found to not make this template much complex that
it is already.
I did the change when I rewrote event_view.pt in plone.app.event for
Plone 4.1 to support wholeday event.

Vincent

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.