After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 349075 - [HANDLER] Spanish dictionary (RAE) look up
[HANDLER] Spanish dictionary (RAE) look up
Status: RESOLVED WONTFIX
Product: deskbar-applet
Classification: Deprecated
Component: Modules
unspecified
Other Linux
: Low enhancement
: ---
Assigned To: Deskbar Applet Maintainer(s)
Deskbar Applet Maintainer(s)
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2006-07-28 11:32 UTC by Jaime Frutos Morales
Modified: 2011-07-10 02:23 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Spanish dictionary look up handler (1.78 KB, text/x-python)
2006-07-28 11:33 UTC, Jaime Frutos Morales
Details

Description Jaime Frutos Morales 2006-07-28 11:32:38 UTC
I've written a handler to look up Spanish words in the RAE's dictionary (the maximum Spanish language authority).

It just shows the definition's web page on the browser.
Comment 1 Jaime Frutos Morales 2006-07-28 11:33:23 UTC
Created attachment 69814 [details]
Spanish dictionary look up handler
Comment 2 Nelson Benitez 2006-07-28 12:48:49 UTC
Hi,
I have a bookmarklet for this same purpose and compare it with yours and have two suggestions:

- Have you try words with accents?, if they don't work maybe you have to encode[1] the word (my bookmarklet uses encode function)...

- Also I think we could use the 'TIPO_BUS=2' option to also match words similar to the one searched in case that is not found (e.g. search 'camion' and have 'camión' as an option instead of just a 'not found' page)

[1] http://developer.gnome.org/doc/API/2.0/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-utils.html#gnome-vfs-escape-string
Comment 3 Jaime Frutos Morales 2006-07-28 14:14:01 UTC
First of all, thanks for your suggestions Nelson.

I have tried words with accents and they work pretty well with my handler. No need to use the encode function.

I don't like the idea of using 'TIPO_BUS=2' option because it doesn't look up the word, just tells you if it exists and what words are similar to the one you wrote. You have to choose then the word from a list to read its definition. With this option, looking up a word isn't automatic, so I prefer not to use it.
Comment 4 Nelson Benitez 2006-07-28 23:31:46 UTC
Ok, seems I'd better suggested 'TIPO_BUS=3', that will look up the word and only show you the option list on a mispelled word, also this is the default option on rae's website...
Comment 5 Raphael Slinckx 2006-08-15 14:57:52 UTC
New handlers are not accepted in core distribution. You are free to keep this bug as a version tracker but users have to manually download and install the handlers (until newstuff manager)
Comment 6 Akhil Laddha 2011-07-10 02:23:33 UTC
deskbar-applet development has been stalled [1]. Maintainers don't have future development plan so i am closing the bugs as WONTFIX.

[1] http://mail.gnome.org/archives/desktop-devel-list/2011-June/msg00073.html