I guess glade provides hooks to internationalize the combobox values.

This commit is contained in:
Travis Shirk 2005-12-28 03:26:41 +00:00
parent 2b83445104
commit 1b4bc0dedd
1 changed files with 1 additions and 2 deletions

View File

@ -39,8 +39,7 @@ opt_int = [ 'integer', 0 ]
opt_str = [ 'string', 0 ]
opt_bool = [ 'boolean', 0 ]
opt_color = [ 'color', '^(#[0-9a-fA-F]{6})|()$' ]
opt_single_window_types = [('never', _('Never')), ('always', _('Always')),
('peracct', _('Per Account')), ('pertype', _('Per type'))]
opt_single_window_types = ['never', 'always', 'peracct', 'pertype']
class Config: