Changeset 4031

Show
Ignore:
Timestamp:
02/14/09 20:03:11 (4 years ago)
Author:
gpolo
Message:

Separate string interpolation from translatable string to not confuse gettext.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/umitGUI/MainWindow.py

    r3993 r4031  
    507507        log.debug("Insertion finished") 
    508508 
    509         dlg = HIGAlertDialog(self, message_format=_('Insertion finished!'), 
    510                              secondary_text=_("Scan has been added to the \ 
    511 inventory %s." % inventory_title)) 
     509        dlg = HIGAlertDialog(self, 
     510                message_format=_('Insertion finished!'), 
     511                secondary_text=( 
     512                    _("Scan has been added to the") + 
     513                    " %r " % inventory_title + 
     514                    _("inventory."))) 
    512515        dlg.run() 
    513516        dlg.destroy()