[Bugs] #3668 Clock UNSP: Clock has translation issues

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Jun 11 16:11:46 EDT 2012


#3668: Clock has translation issues
------------------------------------------+---------------------------------
    Reporter:  manuq                      |          Owner:  garycmartin      
        Type:  defect                     |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  0.96             
   Component:  Clock                      |        Version:  Git as of bugdate
    Severity:  Unspecified                |       Keywords:  12.1.0           
Distribution:  Unspecified                |   Status_field:  Unconfirmed      
------------------------------------------+---------------------------------

Comment(by garycmartin):

 Replying to [comment:2 cjl]:
 > Previously strings like
 >
 > "Activity"
 > "Write Time"
 > "Write Date"
 > "Toolbar"
 > "Digital Clock"

 Looks like these are all related to having extra context, the context
 'Toolbar' is used for a number of the strings, seems like only the first
 one is getting into the generated .pot file. Tracing back through git,
 this happened in December 1st 2011 with commit 30726b. Wondering if this
 is a bug or change with current gettext. When I run ./setup genpot
 locally, it seems to have the same behaviour, perhaps the pot file was
 being manually edited before and genpot never worked:

 {{{
 #: clock.py:232 clock.py:263 clock.py:269 clock.py:275 clock.py:289
 #: clock.py:295 clock.py:306
 msgid "Toolbar"
 msgstr ""
 }}}

 >
 > were msgctxt comments.  Frequently, the msgid was some sort of markup.
 Then at some point, these msgctxt comments were changed to the msgids.
 This changed happened in the code and, in due course, was reflected in POT
 and then PO files.
 >
 > This obsoleted the former strings, causing them to be placed at the
 bottom of the PO file after #~ (PO file obsolete string comments).

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3668#comment:8>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list