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

            Bug ID: 102784
           Summary: Enhance removetooltip_markups.sh script, and add a
                    proper commit hook
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: UI
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: muhammet.k...@pardus.org.tr

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101
Firefox/37.0
Build Identifier: 

This is a spin off from tdf#101549

There were a number of glade .ui files that have tooltip_text and
tooltip_markup both set and both set to be translated, and tooltip_markup has
been removed to reduce translation burdens and because it has the exact same
text as tooltip_text. Where there is no matching tooltip_text, the
tooltip_markup was converted into tooltip_text.

Check this commit to see how the .ui files were changed:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=652c97b8216c03676bbee08f749e2164e8808c8d

The current script (bin/removetooltip_markups.sh) for this job goes through all
.ui files and removes the lines which contain the tooltip_markup string.

This task consists of two steps:

1. Enhance the current script so that it checks to confirm that a tooltip_text
entry is available and then remove tooltip_markup, but if tooltip_text isnt
available, it should rename tooltip_markup to tooltip_text.

2. Add a commit hook to prevent introduction of new tooltip_markup in .ui
files. It should warn the committer, and advise to use only tooltip_text where
necessary.

Reproducible: Always







Reset User Profile?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to