[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: accelerator check
From:       Stephan Kulow <coolo () kde ! org>
Date:       2003-11-10 14:59:58
[Download RAW message or body]

On Monday 10 November 2003 15:51, Thomas Diehl wrote:
> Nachricht von Kevin Donnelly am Montag, 10. November 2003 15:50:
> 
> > Gosh - I didn't know about this.  One for the how-to.
> 
> Funny thing is: There was a pretty detailled explanation of this in the 
> original Howto but for reasons unknown one of the editors replaced it 
> with the (not even correct) remark: "Accelerator clashes can be checked 
> via KBabel as well. "
> 
> What bugs me with this routine, however: That it apparently can't be 
> really disabled. Even if I activate the box "Disable automatic 
> checks" (or whatever the original says) the box keeps popping up here. 
> Which is why I never keep the entry in kdeglobals for a long time.
> 
Well, fix them :)

For lazy guys, I'd suggest reading - I just wanted to do the marketing first :-)

/*

 HOWTO:

 This class allows translators (and application developers) to check for accelerator
 conflicts in menu and widgets. Put the following in your kdeglobals (or the config
 file for the application you're testing):

 [Development]
 CheckAccelerators=F12
 AutoCheckAccelerators=false
 AlwaysShowCheckAccelerators=false

 The checking can be either manual or automatic. To perform manual check, press
 the keyboard shortcut set to 'CheckAccelerators' (here F12). If automatic checking
 is enabled by setting 'AutoCheckAccelerators' to true, check will be performed every
 time the GUI changes. It's possible that in certain cases the check will be
 done also when no visible changes in the GUI happen or the check won't be done
 even if the GUI changed (in the latter case, use manual check ). Automatic
 checks can be anytime disabled by the checkbox in the dialog presenting
 the results of the check. If you set 'AlwaysShowCheckAccelerators' to true,
 the dialog will be shown even if the automatic check didn't find any conflicts,
 and all submenus will be shown, even those without conflicts.

 The dialog first lists the name of the window, then all results for all menus
 (if the window has a menubar) and then result for all controls in the active
 window (if there are any checkboxes etc.). For every submenu and all controls
 there are shown all conflicts grouped by accelerator, and a list of all used
 accelerators.
*/

-- 
There may be no I in TEAM, but a M and an E.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic