[Sugar-devel] Clock's es.po commented

Rafael Ortiz rafael at activitycentral.com
Wed May 23 22:16:06 EDT 2012


On Wed, May 23, 2012 at 7:30 PM, Chris Leonard <cjlhomeaddress at gmail.com>wrote:

> On Wed, May 23, 2012 at 4:14 PM, Rafael Ortiz
> <rafael at activitycentral.com> wrote:
> > Hello.
> >
> > I just noticed that es.po of clock has commented strings.
> >
> > http://git.sugarlabs.org/clock/mainline/blobs/master/po/es.po
> >
> > This is preventing proper es string visualization.
> >
> >
> > Cheers.
>
>
> I think Clock's problem dates to when the POT changed from:
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> #. TRANS: The format used when writing the time in full letters.
> #. You must take care to use a font size large enough so that kids can
> read it easily,
> #. but also small enough so that all times combination fit on the screen,
> even
> #. when the screen is rotated.
> #. Pango markup:
> http://www.pygtk.org/docs/pygtk/pango-markup-language.html
> #: clock.py:105
> #, python-format
> msgctxt "Write Time"
> msgid "<markup><span lang=\"en\" font_desc=\"Sans 20\">%s</span></markup>"
>
> to:
>
> #. TRANS: The format used when writing the time in full
> #. letters. You must take care to use a font size large enough
> #. so that kids can read it easily, but also small enough so
> #. that all times combination fit on the screen, even when the
> #. screen is rotated. Pango markup:
> #. http://www.pygtk.org/docs/pygtk/pango-markup-language.html
> #: clock.py:127
> msgid "Write Time"
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> #. TRANS: The format used to display the weekday and date (example:
> Tuesday 10/21/2008)
> #. We recommend to use the same font size as for the time display.
> #. See http://docs.python.org/lib/module-time.html for
> #. available strftime formats.
> #: clock.py:112
> #, no-python-format
> msgctxt "Write Date"
> msgid ""
> "<markup><span lang=\"en\" font_desc=\"Sans 20\"><span
> foreground=\"#B20008\">"
> "%A</span>, <span foreground=\"#5E008C\">%m</span>/<span
> foreground=\"#B20008"
> "\">%d</span>/<span foreground=\"#9A5200\">%Y</span></span></markup>"
>
> to:
>
> #. TRANS: The format used to display the weekday and date
> #. (example: Tuesday 10/21/2008) We recommend to use the same
> #. font size as for the time display. See
> #. http://docs.python.org/lib/module-time.html for available
> #: clock.py:135
> #, no-python-format
> msgid "Write Date"
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> #. TRANS: The format used to display the time for digital clock
> #. You can add AM/PM indicator or use 12/24 format, for example "%I:%M:%S
> %p".
> #. See http://docs.python.org/lib/module-time.html for
> #. available strftime formats
> #. If the display of the time is moving horizontally, it means that the
> glyphs
> #. of the digits used in the font don't have the same width. Try to use a
> #. Monospace font.
> #: clock.py:527
> #, no-python-format
> msgctxt "Digital Clock"
> msgid ""
> "<markup><span lang=\"en\" font_desc=\"Sans,Monospace Bold 48\"><span "
> "foreground=\"#005FE4\">%I</span>:<span foreground=\"#00B20D\">%M</span>:"
> "<span foreground=\"#E6000A\">%S</span>%p</span></markup>"
>
> to:
>
> #. TRANS: The format used to display the time for digital clock
> You can add AM/PM indicator or use 12/24 format, for example
> #. "%I:%M:%S %p". See
> #. http://docs.python.org/lib/module-time.html for available
> #. strftime formats If the display of the time is moving
> #. horizontally, it means that the glyphs of the digits used in
> #. the font don't have the same width. Try to use a Monospace
> #: clock.py:649
> #, no-python-format
> msgid "Digital Clock"
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> #. TRANS: The format of the font used to print hour numbers, from 1 to 12.
> #: clock.py:636
> #, python-format
> msgctxt "Hour Number"
> msgid "<markup><span lang=\"en\" font_desc=\"Sans Bold
> 20\">%d</span></markup>"
>
> to:
>
> #. TRANS: The format of the font used to print hour
> #. numbers, from 1 to 12.
> #: clock.py:772
> msgid "Hour Number
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
Pootle problem ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120523/37d5dadc/attachment.html>


More information about the Sugar-devel mailing list