[schooltool-dev] SchoolTool translation

Jason Straw lists at misato.us
Wed Jun 13 08:40:14 EDT 2007


The new text needs translation.

-            tag = translate(_('overlaid from %s'), context=self.request)
+            tag = translate(_('from the calendar of ${calendar_owner}',
+                              mapping={'calendar_owner': event.__parent__.__parent__.title}),
+                            context=self.request)

Jason


Denis Melnikov wrote:
> So it doesn't need translation?
>
>   
>>>> overlaid from %s
>>>>
>>>>         
>> /home/jinty/src/schooltoolrepo/schooltool-0.11.x/src/schoolbel
>> l/app/browser/pdfcal.py:212
>>     
>>> This refers to the source of the event -- another way of saying it
>>> would be "this event comes from the %s calendar"
>>>       
>> Not sure about anything else, but this one is fixed already, 
>> I talked to
>> ignas about it when I saw the original post.
>>
>> Jason
>>     
>
>   



More information about the Schooltool-dev mailing list