Revision 860079
Go back to digest for 14th September 2008Features in KDE Base
COPY WIDGET TEXT:
You can copy widgets' texts to find them in translation files faster by middle-clicking them.
Put the following lines in ~/.kde4/share/config/kdeglobals (or in rc file for specific app):
[Development]
CopyWidgetText=true
CopyWidgetTextCommand=find_in_po_script "%1" "%2"
Where %1 gets replaced with program name and %2 - with text.
CopyWidgetTextCommand may be empty, in which case the text gets copied to clipboard.
Press Ctrl+MMB to get widget text w/o accelerator mark (&)
Note 1: I removed KDEUI_EXPORT because it's really an internal class. I checked and it doesn't break compatibility (at least gwenview ran w/o recompiling)
Note 2: I'm in the process of adding appropriate options to lokalize (DBUS calls?) and I already redesigned TM to allow quick finding of the texts via TM (instead of full-scanning all files each time)
File Changes
- /trunk/KDE/kdelibs/kdeui/shortcuts
- /kcheckaccelerators.cpp
- /kcheckaccelerators.h