snippet-update

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

snippet-update

Francisco Vila
Hello all,

trying to update the dozens of modified @lilypond headers everywhere,
I wonder: does make ISOLANG=ll snippet-update work?  I currently
obtain

   /usr/bin/python ../scripts/auxiliar/update-snippets.py user ES '*.itely'
  update-snippets.py

  Total: 0 snippets, 0 updated snippets.

when run from Documentation/
--
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com


Reply | Threaded
Open this post in threaded view
|

Re: snippet-update

Francisco Vila
2010/11/4 Francisco Vila <[hidden email]>:

> Hello all,
>
> trying to update the dozens of modified @lilypond headers everywhere,
> I wonder: does make ISOLANG=ll snippet-update work?  I currently
> obtain
>
>   /usr/bin/python ../scripts/auxiliar/update-snippets.py user ES '*.itely'
>  update-snippets.py
>
>  Total: 0 snippets, 0 updated snippets.
>
> when run from Documentation/

it seems 'user' is an old name for the manual, so I looked at the
script, saw this

 ref_dir, target_dir = sys.argv [1:3]

and then I manually issued

  /usr/bin/python ../scripts/auxiliar/update-snippets.py notation
es/notation '*.itely'

and worked.

Sorry,

--
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com


Reply | Threaded
Open this post in threaded view
|

Re: snippet-update

Francisco Vila
2010/11/4 Francisco Vila <[hidden email]>:

> and then I manually issued
>
>  /usr/bin/python ../scripts/auxiliar/update-snippets.py notation
> es/notation '*.itely'
>
> and worked.

However, please do not do this blindly.  The script ignores
changing-defaults.itely and reverts translation of some non-snippet
things as e.g. @seealso refs or random independent paragraphs of plain
text.  Use with care!

--
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com