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


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

Andras Timar <timar74@gmail.com> changed:

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

--- Comment #25 from Andras Timar <timar74@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.

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.