[Sugar-devel] Translations: We need help from activity maintainers

Simon Schampijer simon at schampijer.de
Fri Sep 23 06:56:59 EDT 2011


On 09/23/2011 12:24 PM, Gonzalo Odiard wrote:
> Hello maintainers,
> You know pootle server is creating the pot files again,
> now a few activities have errors and need your help to enable the
> translators to do his work properly.
>
> The activities involved are Record, Browse, Distance, Speak,
>   hmouse, Kandid, jigsaw-puzzle, slider puzzle, mateton
>
> More information below
>
> Thanks
>
>   ####### Checking POT for browse (master) ######
> Already up-to-date.
> downloadmanager.py:344: warning: 'msgid' format string with unnamed
> arguments cannot be properly localized:
>                                  The translator cannot reorder the arguments.
>                                  Please consider using a format string with
> named arguments,
>                                  and a mapping instead of a tuple for the
> arguments.

Hmm, not sure I understand what to change exactly, can you (or someone 
else) show me what this means in code?

self.dl_jobject.metadata['title'] = _('Downloading %s from \n%s.') % \
                 (self._get_file_name(), self._source.spec)

Thanks,
    Simon


More information about the Sugar-devel mailing list