[Libreoffice-ux-advise] [Bug 101442] Hyperlink is terribly dated vocabulary

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Oct 15 07:23:48 UTC 2016


https://bugs.documentfoundation.org/show_bug.cgi?id=101442

Andras Timar <timar74 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timar74 at gmail.com

--- Comment #25 from Andras Timar <timar74 at gmail.com> ---
Hi Federico,

Let me document how you can find all occurrences of 'hyperlink' in the UI, it's
the detailed explanation of my comment 7. 

First of all, I assume you have the source tree checked out. 
1. make l10ntools.all
2. make translations
3. cd workdir/pot
4. grep -r msgid * | grep -v help | tr -d '_' | tr -d '~' | grep -i hyperlink
   a. you grep for en-US strings
   b. you ignore help for the time being
   c. you remove _ and ~ characters which are markers for access keys
   d. you grep for the word hyperlink

As of now, it gives 17 occurrences. One of them is not to be replaced, it is
the HYPERLINK spreadsheet function in formula module. You can open each pot
file, and find the hyperlink word. For example:
    vi sw/uiconfig/swriter/ui.pot
You will find:
    #. cEgTe
    #: notebookbar_groups.ui
    msgctxt ""
    "notebookbar_groups.ui\n"
    "hyperlink\n"
    "label\n"
    "string.text"
    msgid "Hyperlink"
    msgstr ""
Now you know, that you have to replace this string in
sw/uiconfig/swriter/ui/notebookbar_groups.ui. 

If you have time, you can go for the help, too. You will get 211 hits in
helpcontent2 and swext (providing that you configured LibreOffice building
--with-help, and you have the helpcontent2 submodule).
grep -r msgid * | grep help | tr -d '_' | tr -d '~' | grep -i hyperlink

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list