GNOME Bugzilla – Bug 72015
FR: Décoding ROT13
Last modified: 2004-12-22 21:47:04 UTC
To write something with ROT13 is very easy with pan (Edit menu --> Rot13 selected text) On the other hand, to read an article which have only some words (or a phrase) in ROT13, require the 'translatation' of all the article by using "ROT13 article body" in the View Menu. Is it possible to add in the contextual menu, the ROT13 translation of a selected part of an article ?
This is a nice idea.
Created attachment 7623 [details] [review] patch to add this feature - apply with -p1
PS: I added the item to View menu, not contextual, to be coherent with the "Rot13 Article Body". I don't use a boolean to store rot13 state, since it could be applied to different parts of the body and does not stay from one article to another.
Colin: Actually we can kill two birds with one stone here: usually it's just a joke punchline or spoiler paragraph that's rot13ed, not the entire message. So we can replace the "rot13 article body" button with "rot13 selected text" and get rid of all the state settings in text.c. :) Jim: I've added a keyboard accelerator, rather than context menu button. http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=text.c&rev1=1.280&rev2=1.281&root=/cvs/gnome http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=text.h&rev1=1.61&rev2=1.62&root=/cvs/gnome http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=gui.c&rev1=1.465&rev2=1.466&root=/cvs/gnome
Created attachment 8041 [details] [review] backport patch to gtk1 (apply with -p1)
I'm preparing for the release of 0.12.0, which is the first stable release to contain these changes. If you'd like to be in the credits, please add a comment giving the name you'd like listed. Thanks!