~computer-janitor-hackers/computer-janitor/trunk

« back to all changes in this revision

Viewing changes to computerjanitorapp/gtk/ui.py

  • Committer: Daniel Holbach
  • Date: 2012-03-02 11:37:08 UTC
  • mfrom: (243.1.1 computer-janitor)
  • Revision ID: daniel.holbach@canonical.com-20120302113708-shxo3dlt7xr39i35
computerjanitorapp/gtk/ui.py: Mark context menu items for translation.
(LP: #643519.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
 
179
179
        :param treeview: The `TreeView` to attach the menu to.
180
180
        """
181
 
        select_all = Gtk.MenuItem(label='Select all')
 
181
        select_all = Gtk.MenuItem(label=_('Select all'))
182
182
        select_all.connect('activate', self.popup_menu_select_all, treeview)
183
 
        unselect_all = Gtk.MenuItem(label='Unselect all')
 
183
        unselect_all = Gtk.MenuItem(label=_('Unselect all'))
184
184
        unselect_all.connect('activate',
185
185
                             self.popup_menu_unselect_all, treeview)
186
186
        menu = Gtk.Menu()