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


Hi Cor, *,

On Sun, Dec 29, 2013 at 10:42 PM, Cor Nouws <oolst@nouenoff.nl> wrote:

It's possible to find a key-ID in Pootle through search in 'comments'.

The other way round... if I see a key-ID: is there a trick to find it in
the UI ?

Search it in pootle, and have a look at the context-line / the filepath.

That will give you at least the modue (writer,calc,....) and often
enough the name of the dialog.l

If it is a .ui file, then it is a new style (aka glade) dialog that
you can open in glade without having to click through the menus, if it
is an old dialog, you should get some idea by the filename as to what
functionality it corresponds to.

(I have some guidance of course from the Context of course, such as "
linetabpage.ui FT_CAP_STYLE label string.text" but that's still a puzzle..)

Nah, in this case it is relatively easy - as it is a glade dialog

So look for the file linetabpage.ui in your installation (either use
"find /path/to/lo -name linetabpage.ui" or "locate linetabpage.ui" or
whatever file search your system provides)

It also tells you that the string is a label, i.e. a textfield in the
dialog that is non-editable by the user, but only a description field.
The ID hints to having something to do with CAPs (i.e. ending graphics
of lines (as it is is in a dialog that is about lines (line tab page)
- if the latter is not clear/obvious, it will be once you open the
dialog itself.

So use
GLADE_CATALOG_SEARCH_PATH=/path/to/lo/share/glade glade
/path/to/lo/share/config/soffice.cfg/cui/ui/linetabpage.ui to open the
dialog in glade.

Click on the "Caps" label/textfield in the dialog. This will select
the UI-element in the hierarchy and lets you confirm that that label
really has the ID "FT_CAP_STYLE" and thus is the one you were looking
for.

Alternatively use Glade's widget-search box and search for
"FT_CAP_STYLE" - that does it the opposite way. you select the ID in
the hierarchy and it will highlight the element in the dialog.

Instead of using glade, you can also try to deduce what dialog that is
in LibreOffice.

It is about lines, thus open up Draw, draw a line, select it and use
contextmenu → Line. While this doesn't give you the exact element
directly, hopefully there will only be one element in that dialog that
has the value that is given in pootle as the source/translation text.

HTH,

ciao
Christian

-- 
To unsubscribe e-mail to: l10n+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/l10n/
All messages sent to this list will be publicly archived and cannot be deleted

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.