[translations] snippets: new workflow for translated texidoc strings |
[ Thread Index |
Date Index
| More lilynet.net/translations Archives
]
- To: LilyPond Translation <translations@xxxxxxxxxxx>
- Subject: [translations] snippets: new workflow for translated texidoc strings
- From: Federico Bruni <fedelogy@xxxxxxxxx>
- Date: Sun, 05 Aug 2012 20:29:18 +0200
- Cc: Phil Holmes <email@xxxxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=PP9BKjc5dXfwk0UgxRsPko7XVWNiIzzV0ZPiR83Kr1s=; b=B9G3JEP+fa4/Pn0MtaFgB/99vWFCoE9egR/ECoIiQ4GXmibI2eYHj4CGSTjvq1bQam lm0LNBMKMQtKdfJ8vwq8rwgECZEqY1JcPUI3hlk3weTbjMSDii8h0FQHZ4Y+3BkztqTX jRwKBQkNR7H3Vv/R2t+OGHa+D6YilCE7hlNR1HVR/eD213y9NwP7GhkcMhtNBa9e6Sg8 y/yh5MsMp9UYoW6oZrwV6CCAf5I5shZpxiw4bnOl+cQxLKQciZKiowW7ek2ck9mYJuYu fRnjmQ36LYSPKiHr66vLlhgXBL5gyvcRndId4iOREcxLEOnj/CxxvO9s894TLOd/i2zE KZrA==
Hi translators,
I'm following up the request from Phil¹ to let you know about the new
way translation of snippets is handled.
IIUC, there's no more need to run makelsr.py to get the translated
strings into the snippets, as they are copied when the documentation is
builded.
This makes the maintenance of translation way much easier, as the
snippets will be marked as out-of-date only when there's a substantial
change.
I recommend to check the differences in the snippets, update the
committishes in .texidoc files and live happy with the new system :)
I know that most of you know how to do it, but as I've done it recently
I share my workflow with you.
First check the differences:
cd Documentation
make ISOLANG=LANG check-translation | less -R
You'll see that all the translated texidoc strings in the snippets have
been removed. Be sure to not miss any relevant change in the snippets,
specifically in "doctitle=" and "texidoc=".
Then update the committishes with the latest committish:
cd Documentation/LANG/texidocs
cat *.texidoc | grep %%
sed -i -r 's/[0-9a-z]{40}/NEW-COMMITTISH/' *.texidoc
cat *.texidoc | grep %%
Finally, enjoy the clean diff :-)
make ISOLANG=LANG check-translation | grep 'diff --git'
Hope I haven't said anything misleading.
Cheers
¹ http://code.google.com/p/lilypond/issues/detail?id=2629#c27
--
Federico