"Bullets and Numbering" translation

Caolán McNamara caolanm at redhat.com
Fri Aug 7 11:53:43 UTC 2020


On Fri, 2020-08-07 at 14:03 +0900, himajin100000 wrote:
> Hi,
> 
> Does anyone  know the background behind why "Source string comment" 
> gives SVX_NUM_ARABIC for "A, B, C, ..." ?
> 
> https://translations.documentfoundation.org/translate/libo_ui-master/svxmessages/en/?offset=&q=+note%3AbBGa7+&sort_by=-priority%2Cposition&checksum=

The source is svx/inc/numberingtype.hrc and the strings are extracted
for translation by ./solenv/bin/hrcex which will run...

xgettext -C --add-comments --keyword=NC_:1c,2 --keyword=NNC_:1c,2,3 --
from-code=UTF-8 --no-wrap svx/inc/numberingtype.hrc -o -

on that .hrc. In the current numberingtypes.hrc the comments are
*after* the string so xgettext has put each comment with the following
translation, not the correct one which is the one before the comment.
It should have appeared as "1, 2, 3, ..." with a Source string comment
of SVX_NUM_ARABIC. 

https://gerrit.libreoffice.org/c/core/+/100309 will change the .hrc so
that the next time hrcex is used to extract the translations the
comments will get matched to the correct translation.



More information about the LibreOffice mailing list