Feature request: Add ability to define words to ignore in spell check

Hi, It'd be great if you could add a value to config.pm that would allow us to define a list of words that the spell checker should ignore. Paul

Oops... I meant to add that those wishing to "hack" in such a feature now, can find the relevant code in Kernal/System/Spelling.pm: # -- # ignored words # -- my @Ignore = qw(com org de net Cc www Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Fwd DNS http CC ca html tm COM mmunity Co op https netscape webmail bcc jpg gif email Tel ie eg otrs suse redhat debian caldera php perl java unsubscribe); Simply add words followed by a space. I don't think it would be too difficult to add a variable within that list and have OTRS automatically exclude those as well. Paul
-----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Paul Sent: Thursday, December 04, 2003 1:55 AM To: otrs@otrs.org Subject: [otrs] Feature request: Add ability to define words to ignore inspell check
Hi,
It'd be great if you could add a value to config.pm that would allow us to define a list of words that the spell checker should ignore.
Paul
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/

Hi Paul, On Thu, Dec 04, 2003 at 02:03:44AM -0500, Paul wrote:
Oops...
I meant to add that those wishing to "hack" in such a feature now, can find the relevant code in Kernal/System/Spelling.pm:
# -- # ignored words # -- my @Ignore = qw(com org de net Cc www Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Fwd DNS http CC ca html tm COM mmunity Co op https netscape webmail bcc jpg gif email Tel ie eg otrs suse redhat debian caldera php perl java unsubscribe);
Simply add words followed by a space. I don't think it would be too difficult to add a variable within that list and have OTRS automatically exclude those as well.
We added a config option now. If OTRS 1.2.x (current cvs head) you will be able to defined a own ignore list: [Kernel/Config.pm] # SpellCheckerIgnore # (A list of ignored words.) $Self->{SpellCheckerIgnore} = ['www', 'webmail', 'https', 'http', 'html']; [...] Thanks!
Paul
Martin -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
participants (2)
-
Martin Edenhofer
-
Paul