I think that would be out of my skills at this point but it does sound like a good idea. If I manage to figure something out I'll get it to you. <div><br></div><div>As for the explanation of why my search didn't come up with it, I did the following search (twice now) with grep:</div>
<div><br></div><div>grep -rl "Save with password" > password_code.txt</div><div><br></div><div>I would think that the grep would find the code regardless of the underscore. Still a bit confused about that, didn't get a chance last night to look into the other src file but hopefully tonight or this weekend. </div>
<div><br></div><div>Thanks for the input, I'm going to try to contribute a bit to code cleaning but it'll have to wait a couple weeks. </div><div><br></div><div>Glad to be of any service, my programming skills are "limited but expanding", no formal training so what I can help with will have to start near beginner level but hopefully soon enough expand.</div>
<div><br></div><div>Joel<br><br><div class="gmail_quote">On Thu, May 31, 2012 at 3:27 AM, Michael Meeks <span dir="ltr"><<a href="mailto:michael.meeks@suse.com" target="_blank">michael.meeks@suse.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Joel,<br>
<br>
On Wed, 2012-05-30 at 08:46 -0700, Joel Madero wrote:<br>
> I'll look into that second src file, I wonder how I missed it.<br>
<br>
I imagine it is the ~ which tags an accelerator (rendering the next<br>
character with an underline).<br>
<br>
> What grep command did you use and in what version of LO ?<br>
<br>
I use git grep, but Noel prolly uses something better.<br>
<br>
Incidentally, this reminds me of an easy-hack that would be wonderful<br>
if someone could do it.<br>
<br>
I'd love to have a small web service that goes from UI string to source<br>
code file. That of course would need to deal with the accelerator<br>
annoyances.<br>
<br>
It would need to find the UI resource name - and (with that) could<br>
easily backend that onto <a href="http://opengrok.libreoffice.org/" target="_blank">http://opengrok.libreoffice.org/</a><br>
<br>
I guess building an index of string -> 'FOO_MAGIC_ID_NAME' is what is<br>
needed - should be a small python script or somesuch. Kohei wrote a nice<br>
python .src file parser in the past which is here:<br>
<br>
<a href="http://cgit.freedesktop.org/libreoffice/build/tree/scratch/layout-src2xml/source/srcparser.py?h=libreoffice-3-4" target="_blank">http://cgit.freedesktop.org/libreoffice/build/tree/scratch/layout-src2xml/source/srcparser.py?h=libreoffice-3-4</a><br>
<br>
If no-one wants to take it, I'll create an easy-hack I guess :-)<br>
<br>
Great to have you around Joel - thanks for jumping in and helping out !<br>
<br>
Regards,<br>
<br>
Michael.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<a href="mailto:michael.meeks@suse.com">michael.meeks@suse.com</a> <><, Pseudo Engineer, itinerant idiot<br>
<br>
</font></span></blockquote></div><br></div>