make some strings translatable
This commit is contained in:
parent
1a683098e9
commit
4b8f1137f6
|
@ -379,19 +379,19 @@ class PreferencesWindow:
|
|||
# (status, translated_status, message, enabled)
|
||||
model = gtk.ListStore(str, str, str, bool)
|
||||
self.default_msg_tree.set_model(model)
|
||||
col = gtk.TreeViewColumn('Status')
|
||||
col = gtk.TreeViewColumn(_('Status'))
|
||||
self.default_msg_tree.append_column(col)
|
||||
renderer = gtk.CellRendererText()
|
||||
col.pack_start(renderer, False)
|
||||
col.set_attributes(renderer, text = 1)
|
||||
col = gtk.TreeViewColumn('Default Message')
|
||||
col = gtk.TreeViewColumn(_('Default Message'))
|
||||
self.default_msg_tree.append_column(col)
|
||||
renderer = gtk.CellRendererText()
|
||||
col.pack_start(renderer, True)
|
||||
col.set_attributes(renderer, text = 2)
|
||||
renderer.connect('edited', self.on_default_msg_cell_edited)
|
||||
renderer.set_property('editable', True)
|
||||
col = gtk.TreeViewColumn('Enabled')
|
||||
col = gtk.TreeViewColumn(_('Enabled'))
|
||||
self.default_msg_tree.append_column(col)
|
||||
renderer = gtk.CellRendererToggle()
|
||||
col.pack_start(renderer, False)
|
||||
|
|
Loading…
Reference in New Issue