Hi,

I see that mnemonics checking (http://wiki.services.openoffice.org/wiki/Mnemonics_Localisation)

is not really successful yet. So I created a little script in AWK that reports which shortcuts are already assigned etc. If it doesn't complain, the shortcuts are perfect (it requires unique assignments).

You can find the script in CVS here:

http://pl.openoffice.org/source/browse/pl/apps/check_mnemonic.awk

How to use? Copy the wiki page for your language to a text file called foobar.txt and run the script:

gawk -f check_mnemonic.awk foobar.txt >report.txt

You can even edit the wiki page offline, the script accounts for edits.

Any comments welcome, although I must admit I won't have time to make it much smarter. I hope we'll have better mnemonics for 2.3.

By the way, in English (and other languages) there are some absurd shortcuts for commands which are by design disabled like "Can't undo" and "Can't restore". I would strongly recommend deleting shortcuts for such commands.

Regards,
Marcin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to