a3dd079093
The changes are from https://github.com/musescore/MuseScore/pull/5142 without the Python 2 compatibility code. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
generateTs.py | ||
instruments.xml | ||
instrumentsxml.h | ||
README.md |
Translation of the instrument list
generateTs.py
parsesinstruments.xml
and creates a fakeinstrumentsxml.h
file- gen-instruments-projectfile creates a pro file for the translations, so we can run lupdate (to create/update the TS files) and lrelease on it (to generate the QM files)
- the QM files are loaded by MuseScore and the instruments are translated when the instruments.xml file is loaded
If instruments.xml is modified
- run
generateTs.py
and lupdate.sh - push the new file updated ts en_US file to transifex