lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LSR, updates and committishes


From: Francisco Vila
Subject: Re: LSR, updates and committishes
Date: Sun, 28 Jun 2009 17:33:19 +0200

2009/6/28 Till Paala <address@hidden>:
> If it is easy for you to somehow just update all German commitishes in
> input/texidocs, run makelsr.py, so that the changes get into the .ly files
> and commit the whole story I would be really greatful.

The current scheme of committishes on texidoc files makes hard to do
this automatically, because languages can be in any order into the
file. How can it be said what language it belongs? I suggest to mark
the line with the language code such as

%% es Translation of GIT committish: b2d431(...)
  texidoces = "..."

%% de Translation of GIT committish: 17633f (...)
 texidocde = "..."

or

%% Translation of GIT committish: b2d431(...) es
  texidoces = "..."


This way would be very easy for a translator to make a script that
batch updates the files.

What I did when there were hundredths of outdated files was to copy
them all to another directory, change all their committishes to the
updated one in all languages (which is temporally wrong for all but
for your language),  then call repeatedly the meld utility from a
script for all pairs of files (original and changed) as arguments, and
selecting with the mouse the correct one, then saving the file.

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]