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

            Bug ID: 90063
           Summary: duplicated attribute names in
                    svx/source/items/svxitems.src
           Product: LibreOffice
           Version: unspecified
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: tima...@gmail.com

In svx/source/items/svxitems.src there is the StringArray RID_ATTR_NAMES. There
are some attributes that share the same en-US label. 

        < "Indent"      ;               SID_ATTR_PARA_LRSPACE ; > ;
        < "Indent"      ;               SID_ATTR_LRSPACE ; > ;

        < "Spacing"     ;               SID_ATTR_PARA_ULSPACE ; > ;
        < "Spacing"     ;               SID_ATTR_ULSPACE ; > ;

        < "Blinking"    ;               SID_ATTR_CHAR_AUTOKERN ; > ;
        < "Blinking"        ;           SID_ATTR_FLASH ; > ;

        < "Scale"       ;               SID_ATTR_CHAR_SCALEWIDTH ; > ;
        < "Scale"           ;           SID_ATTR_ZOOM ; > ;

The l10ntools extract strings from this file, these duplicates result in
identical entries in the .pot file, which makes the .pot file invalid. This
could be fixed in l10ntools.

On the other hand, isn't it a problem on its own, that we have the same labels
for different attributes? This StringArray is used in Search dialog, where the
labels are deduplicated. So when the user searches for e.g. "Blinking", what
does LibreOffice do? Does it search for SID_ATTR_CHAR_AUTOKERN, or
SID_ATTR_FLASH, or both? 

I think that different attributes should have different names. But I don't know
what the difference is between the different attributes with the same labels.

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

Reply via email to