Re: [LyX/master] Add tableaux to outliner
Am Dienstag, 21. Februar 2017 um 21:10:24, schrieb Guillaume Munch> Le 21/02/2017 à 19:28, Kornel Benko a écrit : > > Am Dienstag, 21. Februar 2017 um 18:52:28, schrieb Guillaume Munch > > > >> 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 signature.asc Description: This is a digitally signed message part.
Re: [LyX/master] Add tableaux to outliner
Le 21/02/2017 à 19:28, Kornel Benko a écrit : Am Dienstag, 21. Februar 2017 um 18:52:28, schrieb Guillaume MunchLe 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.
Re: [LyX/master] Add tableaux to outliner
Am Dienstag, 21. Februar 2017 um 18:52:28, schrieb Guillaume Munch> 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 signature.asc Description: This is a digitally signed message part.
Re: [LyX/master] Add tableaux to outliner
Le 21/02/2017 à 18:49, Kornel Benko a écrit : Could it be made translatable? It should be already.
Re: [LyX/master] Add tableaux to outliner
Am Dienstag, 21. Februar 2017 um 07:11:58, schrieb Juergen Spitzmueller> commit ed233663008608e5e32a3c675ade790ea63f0a24 > Author: Juergen Spitzmueller > Date: Tue Feb 21 07:11:23 2017 +0100 > > Add tableaux to outliner > --- > lib/layouts/linguistics.module |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/lib/layouts/linguistics.module b/lib/layouts/linguistics.module > index 0a0532c..091e5d4 100644 > --- a/lib/layouts/linguistics.module > +++ b/lib/layouts/linguistics.module > @@ -29,6 +29,8 @@ Counter subexamplei > LabelString "\theexamplei (\alph{subexamplei})" > End > > +OutlinerName tableau"Tableaux" #no AddToToc (built-in) > + > # single numbered example with covington.sty > Style Numbered_Example_(multiline) > LatexType Environment Could it be made translatable? Kornel signature.asc Description: This is a digitally signed message part.
Re: [LyX/master] Add tableaux to outliner
Le 21/02/2017 à 07:11, Juergen Spitzmueller a écrit : commit ed233663008608e5e32a3c675ade790ea63f0a24 Author: Juergen SpitzmuellerDate: Tue Feb 21 07:11:23 2017 +0100 Add tableaux to outliner --- +OutlinerName tableau"Tableaux" #no AddToToc (built-in) + Thanks, I missed that one.