Am Dienstag, 21. Februar 2017 um 21:10:24, schrieb Guillaume Munch 
<g...@lyx.org>
> Le 21/02/2017 à 19:28, Kornel Benko a écrit :
> > Am Dienstag, 21. Februar 2017 um 18:52:28, schrieb Guillaume Munch 
> > <g...@lyx.org>
> >> Le 21/02/2017 à 18:49, Kornel Benko a écrit :
> >>>
> >>> Could it be made translatable?
> >>>
> >>
> >> It should be already.
> >>
> >
> > It is nether in po-file nor in layouttranslations.
> > lyx_pot.py searches
> >     OutlinerName = 
> > re.compile(r'^[^#]*OutlinerName\s+(\S+|\"[^\"]*\")\s+(\S+|\"[^\"]*\")\s*$', 
> > re.IGNORECASE)
> > but it does not match the line
> >     OutlinerName tableau    "Tableaux" #no AddToToc (built-in)
> > It would match only
> >     OutlinerName tableau    "Tableaux"
> >
> >     Kornel
> >
> 
> Thanks for pointing out this issue. It should be fixed now.

Yes, thanks. 3 other strings in achemso.layout are (too) not translated.

chart, scheme, graph

The lines are
        InsetLayout scheme
        InsetLayout chart
        InsetLayout graph
The regex statement in lyx_pot.py:95 is
        InsetLayout = re.compile(r'^InsetLayout\s+\"?(.*)\"?\s*$', 
re.IGNORECASE)

It is matching probably, but at line 312 and 316 the output is only done
if the found string has form Flex:xxx or Caption:xxx

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to