Mailinglist Archive: yast-devel (191 mails)

< Previous Next >
Re: [yast-devel] make spellcheck / y2tool pot-spellcheck
  • From: Lukas Ocilka <lukas.ocilka@xxxxxxx>
  • Date: Mon, 31 Mar 2008 16:59:42 +0200
  • Message-id: <47F0FC5E.5000706@xxxxxxx>
Katarina Machalkova napsal(a):
Hi, yast hackers

In the light of bug #374628
(https://bugzilla.novell.com/show_bug.cgi?id=374628), just a quick reminder
that there is a tool that might help you not only to fix the typos Benji has
found, but also to locate some more misspelled words in your modules, or
inconsistent spelling in the texts ( e.g. ipv6 vs. IPv6)

Just run:
'make spellcheck' or
'y2tool pot-spellcheck'

in the root directory of your module. It will list all misspelled words in
the
strings of your module and suggest suitable alternatives.

It uses ispell (?) so it gets confused by or doesn't even know very technical
words such as 'smb', 'umount', 'strace', but in general it deals with typos
quite well. I've just found ~5 more not listed in the bug above in
yast2-network ...
Maybe I should use it to spellcheck on this e-mail, too ;-) :-D

Words 'smb', 'umount', 'strace', and some more have been just added to
YaST dictionary:

http://svn.opensuse.org/svn/yast/trunk/devtools/devtools/data/YaST2.dict.txt
(make install)

Bye
Lukas

< Previous Next >
List Navigation
References