MuseScore/share/instruments
anatoly-os a3dd079093 Upgrade generateTs.py to work with Python 3
The changes are from https://github.com/musescore/MuseScore/pull/5142 without the Python 2 compatibility code.
2019-08-02 14:59:42 +02:00
..
CMakeLists.txt remove RCS IDs from (almost) all files 2018-11-02 23:53:21 +01:00
generateTs.py Upgrade generateTs.py to work with Python 3 2019-08-02 14:59:42 +02:00
instruments.xml Merge pull request #5232 from Jojo-Schmitz/horn 2019-08-01 11:12:19 +02:00
instrumentsxml.h Upgrade generateTs.py to work with Python 3 2019-08-02 14:59:42 +02:00
README.md Fix lupdate step to not put all translations into all ts files 2017-09-19 16:37:55 +02:00

Translation of the instrument list

  • generateTs.py parses instruments.xml and creates a fake instrumentsxml.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