Changes

Line 49: Line 49:  
         #Add keyboard shortcut for customButton
 
         #Add keyboard shortcut for customButton
 
         customButton.props.accelerator = '<Alt>b'
 
         customButton.props.accelerator = '<Alt>b'
 +
 +
If you want to enable translators to override the shortcut, use the gettext syntax so that an entry in the POT file is generated (See [[Development_Team/Almanac/Internationalization]] for details):
 +
 +
        customButton.props.accelerator = _('<Alt>b')