use Q_() to translate strings with a context. fixes #2726
This commit is contained in:
parent
c8203cb045
commit
65f0738de7
|
@ -21,6 +21,7 @@ import gobject
|
||||||
import os
|
import os
|
||||||
import common.config
|
import common.config
|
||||||
import common.sleepy
|
import common.sleepy
|
||||||
|
from common.i18n import Q_
|
||||||
|
|
||||||
import gtkgui_helpers
|
import gtkgui_helpers
|
||||||
import dialogs
|
import dialogs
|
||||||
|
@ -2635,7 +2636,7 @@ class ManageBookmarksWindow:
|
||||||
self.print_status_combobox = self.xml.get_widget('print_status_combobox')
|
self.print_status_combobox = self.xml.get_widget('print_status_combobox')
|
||||||
model = gtk.ListStore(str, str)
|
model = gtk.ListStore(str, str)
|
||||||
|
|
||||||
self.option_list = {'': _('Default'), 'all': _('?print_status:All'),
|
self.option_list = {'': _('Default'), 'all': Q_('?print_status:All'),
|
||||||
'in_and_out': _('Enter and leave only'), 'none': _('None')}
|
'in_and_out': _('Enter and leave only'), 'none': _('None')}
|
||||||
opts = self.option_list.keys()
|
opts = self.option_list.keys()
|
||||||
opts.sort()
|
opts.sort()
|
||||||
|
|
Loading…
Reference in New Issue