#6874 LOW Never A: Web activity uses gettext on file name

Zarro Boogs per Child bugtracker at laptop.org
Thu Apr 10 15:42:07 EDT 2008


#6874: Web activity uses gettext on file name
-----------------------------+----------------------------------------------
 Reporter:  homunq           |       Owner:  erikos        
     Type:  defect           |      Status:  new           
 Priority:  low              |   Milestone:  Never Assigned
Component:  browse-activity  |     Version:                
 Keywords:                   |    Verified:  0             
 Blocking:                   |   Blockedby:                
-----------------------------+----------------------------------------------
 downloadmanager.py, line 142:
             alert.props.msg = _('%s'%(file_name))

 seems wrong - if you want to add the possibility of some text next to the
 file name it would be
             alert.props.msg = _('%s')%(file_name)

 and if you just want the file name it would be:
             alert.props.msg = file_name

 There is no case where you would want a downloaded file named, say,
 "Browse" to show up as "Navegar".

-- 
Ticket URL: <http://dev.laptop.org/ticket/6874>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list