]> git.donarmstrong.com Git - lilypond.git/commit
Improve Python scripts localization
authorJohn Mandereau <john.mandereau@gmail.com>
Wed, 13 Feb 2008 20:48:30 +0000 (21:48 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Wed, 13 Feb 2008 20:48:30 +0000 (21:48 +0100)
commit703ad9d9cf5b48abfbd14cac074859189f4cda81
tree832f100f5343dd73086978b03c1ed84d35c8e4af
parent4f74aa654a30dee376dd724708c1abd8d7141058
Improve Python scripts localization

* all scripts: add --help and --version options manually so they are
localized, and mark 'Bugs' for translation;

* musicxml2ly.py: use gettext from lilylib, uniformize option
descriptions (always start downcase and do not end with a period);

* musicexp.py, musicxml.py: use encoded writing to stderr and save
translation work by creating error and warning functions.
python/lilylib.py
python/musicexp.py
python/musicxml.py
scripts/abc2ly.py
scripts/convert-ly.py
scripts/etf2ly.py
scripts/lilypond-book.py
scripts/midi2ly.py
scripts/musicxml2ly.py