Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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.

As for the explanation of why my search didn't come up with it, I did the
following search (twice now) with grep:

grep -rl "Save with password" > password_code.txt

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.

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.

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.

Joel

On Thu, May 31, 2012 at 3:27 AM, Michael Meeks <michael.meeks@suse.com>wrote:

Hi Joel,

On Wed, 2012-05-30 at 08:46 -0700, Joel Madero wrote:
I'll look into that second src file, I wonder how I missed it.

       I imagine it is the ~ which tags an accelerator (rendering the next
character with an underline).

 What grep command did you use and in what version of LO ?

       I use git grep, but Noel prolly uses something better.

       Incidentally, this reminds me of an easy-hack that would be
wonderful
if someone could do it.

       I'd love to have a small web service that goes from UI string to
source
code file. That of course would need to deal with the accelerator
annoyances.

       It would need to find the UI resource name - and (with that) could
easily backend that onto http://opengrok.libreoffice.org/

       I guess building an index of string -> 'FOO_MAGIC_ID_NAME' is what
is
needed - should be a small python script or somesuch. Kohei wrote a nice
python .src file parser in the past which is here:


http://cgit.freedesktop.org/libreoffice/build/tree/scratch/layout-src2xml/source/srcparser.py?h=libreoffice-3-4

       If no-one wants to take it, I'll create an easy-hack I guess :-)

       Great to have you around Joel - thanks for jumping in and helping
out !

       Regards,

               Michael.

--
michael.meeks@suse.com  <><, Pseudo Engineer, itinerant idiot



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.