Fix #243516: Untranslated strings, from Qt

Remove all Qt translations from the MuseScore repository
that are also part of Qt 5.4 and later, and deploy Qt's instead.
Also , as a side effect, deploy our Bulgarian translation for Qt
(seems a day one ommision and not needed for Qt-5.9.1 and later)

Simplify the whole process for adding languages and running lupdate

Should be good for master and 2.2
This commit is contained in:
Joachim Schmitz 2017-08-11 09:23:32 +02:00
parent a66d69ac75
commit 41b7906b2b
34 changed files with 44 additions and 155620 deletions

View file

@ -639,8 +639,6 @@ include(Packaging)
add_custom_target(lupdate
COMMAND ${PROJECT_SOURCE_DIR}/build/gen-qt-projectfile ${PROJECT_SOURCE_DIR} > mscore.pro
COMMAND Qt5::lupdate ${PROJECT_BINARY_DIR}/mscore.pro
COMMAND ${PROJECT_SOURCE_DIR}/build/gen-instruments-projectfile ${PROJECT_SOURCE_DIR}/share/instruments > instruments.pro
COMMAND Qt5::lupdate ${PROJECT_BINARY_DIR}/instruments.pro
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
)

View file

@ -1,74 +0,0 @@
#!/bin/sh
echo "TRANSLATIONS = \\"
echo " $1/../../share/locale/instruments_af.ts \\"
echo " $1/../../share/locale/instruments_ar.ts \\"
echo " $1/../../share/locale/instruments_ar_DZ.ts \\"
echo " $1/../../share/locale/instruments_ar_EG.ts \\"
echo " $1/../../share/locale/instruments_ar_SD.ts \\"
echo " $1/../../share/locale/instruments_ast.ts \\"
echo " $1/../../share/locale/instruments_be.ts \\"
echo " $1/../../share/locale/instruments_bg.ts \\"
echo " $1/../../share/locale/instruments_ca.ts \\"
echo " $1/../../share/locale/instruments_ca@valencia.ts \\"
echo " $1/../../share/locale/instruments_cs.ts \\"
echo " $1/../../share/locale/instruments_cy.ts \\"
echo " $1/../../share/locale/instruments_da.ts \\"
echo " $1/../../share/locale/instruments_de.ts \\"
echo " $1/../../share/locale/instruments_el.ts \\"
echo " $1/../../share/locale/instruments_en_GB.ts \\"
echo " $1/../../share/locale/instruments_en_US.ts \\"
echo " $1/../../share/locale/instruments_eo.ts \\"
echo " $1/../../share/locale/instruments_es.ts \\"
echo " $1/../../share/locale/instruments_et.ts \\"
echo " $1/../../share/locale/instruments_eu.ts \\"
echo " $1/../../share/locale/instruments_fa.ts \\"
echo " $1/../../share/locale/instruments_fi.ts \\"
echo " $1/../../share/locale/instruments_fo.ts \\"
echo " $1/../../share/locale/instruments_fr.ts \\"
echo " $1/../../share/locale/instruments_ga.ts \\"
echo " $1/../../share/locale/instruments_gd.ts \\"
echo " $1/../../share/locale/instruments_gl.ts \\"
echo " $1/../../share/locale/instruments_he.ts \\"
echo " $1/../../share/locale/instruments_hi_IN.ts \\"
echo " $1/../../share/locale/instruments_hr.ts \\"
echo " $1/../../share/locale/instruments_hu.ts \\"
echo " $1/../../share/locale/instruments_hy.ts \\"
echo " $1/../../share/locale/instruments_id.ts \\"
echo " $1/../../share/locale/instruments_it.ts \\"
echo " $1/../../share/locale/instruments_ja.ts \\"
echo " $1/../../share/locale/instruments_ka.ts \\"
echo " $1/../../share/locale/instruments_ko.ts \\"
echo " $1/../../share/locale/instruments_lt.ts \\"
echo " $1/../../share/locale/instruments_lv.ts \\"
echo " $1/../../share/locale/instruments_ml.ts \\"
echo " $1/../../share/locale/instruments_mn_MN.ts \\"
echo " $1/../../share/locale/instruments_nl.ts \\"
echo " $1/../../share/locale/instruments_nb.ts \\"
echo " $1/../../share/locale/instruments_nn.ts \\"
echo " $1/../../share/locale/instruments_pl.ts \\"
echo " $1/../../share/locale/instruments_pt.ts \\"
echo " $1/../../share/locale/instruments_pt_BR.ts \\"
echo " $1/../../share/locale/instruments_ro.ts \\"
echo " $1/../../share/locale/instruments_ru.ts \\"
echo " $1/../../share/locale/instruments_sk.ts \\"
echo " $1/../../share/locale/instruments_sl.ts \\"
echo " $1/../../share/locale/instruments_sr.ts \\"
echo " $1/../../share/locale/instruments_sr_RS.ts \\"
echo " $1/../../share/locale/instruments_sv.ts \\"
echo " $1/../../share/locale/instruments_th.ts \\"
echo " $1/../../share/locale/instruments_tr.ts \\"
echo " $1/../../share/locale/instruments_uk.ts \\"
echo " $1/../../share/locale/instruments_uz@Latn.ts \\"
echo " $1/../../share/locale/instruments_vi.ts \\"
echo " $1/../../share/locale/instruments_zh_CN.ts \\"
echo " $1/../../share/locale/instruments_zh_TW.ts"
echo "FORMS = \\"
uis=`find $1 -name "*.h"`
for a in $uis; do
echo " " $a \\;
done
echo
echo

View file

@ -1,76 +0,0 @@
@echo off
set OLD_DIR=%CD%
echo TRANSLATIONS = \
echo %1/../../share/locale/instruments_af.ts \
echo %1/../../share/locale/instruments_ar.ts \
echo %1/../../share/locale/instruments_ar_DZ.ts \
echo %1/../../share/locale/instruments_ar_EG.ts \
echo %1/../../share/locale/instruments_ar_SD.ts \
echo %1/../../share/locale/instruments_ast.ts \
echo %1/../../share/locale/instruments_be.ts \
echo %1/../../share/locale/instruments_bg.ts \
echo %1/../../share/locale/instruments_ca.ts \
echo %1/../../share/locale/instruments_ca@valencia.ts \
echo %1/../../share/locale/instruments_cs.ts \
echo %1/../../share/locale/instruments_cy.ts \
echo %1/../../share/locale/instruments_da.ts \
echo %1/../../share/locale/instruments_de.ts \
echo %1/../../share/locale/instruments_el.ts \
echo %1/../../share/locale/instruments_en_GB.ts \
echo %1/../../share/locale/instruments_en_US.ts \
echo %1/../../share/locale/instruments_eo.ts \
echo %1/../../share/locale/instruments_es.ts \
echo %1/../../share/locale/instruments_et.ts \
echo %1/../../share/locale/instruments_eu.ts \
echo %1/../../share/locale/instruments_fa.ts \
echo %1/../../share/locale/instruments_fi.ts \
echo %1/../../share/locale/instruments_fo.ts \
echo %1/../../share/locale/instruments_fr.ts \
echo %1/../../share/locale/instruments_ga.ts \
echo %1/../../share/locale/instruments_gd.ts \
echo %1/../../share/locale/instruments_gl.ts \
echo %1/../../share/locale/instruments_he.ts \
echo %1/../../share/locale/instruments_hi_IN.ts \
echo %1/../../share/locale/instruments_hr.ts \
echo %1/../../share/locale/instruments_hu.ts \
echo %1/../../share/locale/instruments_hy.ts \
echo %1/../../share/locale/instruments_id.ts \
echo %1/../../share/locale/instruments_it.ts \
echo %1/../../share/locale/instruments_ja.ts \
echo %1/../../share/locale/instruments_ka.ts \
echo %1/../../share/locale/instruments_ko.ts \
echo %1/../../share/locale/instruments_lt.ts \
echo %1/../../share/locale/instruments_lv.ts \
echo %1/../../share/locale/instruments_ml.ts \
echo %1/../../share/locale/instruments_mn_MN.ts \
echo %1/../../share/locale/instruments_nl.ts \
echo %1/../../share/locale/instruments_nb.ts \
echo %1/../../share/locale/instruments_nn.ts \
echo %1/../../share/locale/instruments_pl.ts \
echo %1/../../share/locale/instruments_pt.ts \
echo %1/../../share/locale/instruments_pt_BR.ts \
echo %1/../../share/locale/instruments_ro.ts \
echo %1/../../share/locale/instruments_ru.ts \
echo %1/../../share/locale/instruments_sk.ts \
echo %1/../../share/locale/instruments_sl.ts \
echo %1/../../share/locale/instruments_sr.ts \
echo %1/../../share/locale/instruments_sr_RS.ts \
echo %1/../../share/locale/instruments_sv.ts \
echo %1/../../share/locale/instruments_th.ts \
echo %1/../../share/locale/instruments_tr.ts \
echo %1/../../share/locale/instruments_uk.ts \
echo %1/../../share/locale/instruments_uz@Latn.ts \
echo %1/../../share/locale/instruments_vi.ts \
echo %1/../../share/locale/instruments_zh_CN.ts \
echo %1/../../share/locale/instruments_zh_TW.ts
cd /d %1
echo SOURCES = \
for /r %1 %%a in (*.h) do echo %%a \
echo.
echo.
cd /d %OLD_DIR%

View file

@ -1,106 +1,11 @@
#!/bin/sh
echo "TRANSLATIONS = \\"
echo " $1/share/locale/mscore_en.ts \\"
echo " $1/share/locale/mscore_af.ts \\"
echo " $1/share/locale/mscore_ar.ts \\"
echo " $1/share/locale/mscore_ar_DZ.ts \\"
echo " $1/share/locale/mscore_ar_EG.ts \\"
echo " $1/share/locale/mscore_ar_SD.ts \\"
echo " $1/share/locale/mscore_ast.ts \\"
echo " $1/share/locale/mscore_be.ts \\"
echo " $1/share/locale/mscore_bg.ts \\"
echo " $1/share/locale/mscore_ca.ts \\"
echo " $1/share/locale/mscore_ca@valencia.ts \\"
echo " $1/share/locale/mscore_cs.ts \\"
echo " $1/share/locale/mscore_cy.ts \\"
echo " $1/share/locale/mscore_da.ts \\"
echo " $1/share/locale/mscore_de.ts \\"
echo " $1/share/locale/mscore_el.ts \\"
echo " $1/share/locale/mscore_en_GB.ts \\"
echo " $1/share/locale/mscore_en_US.ts \\"
echo " $1/share/locale/mscore_eo.ts \\"
echo " $1/share/locale/mscore_es.ts \\"
echo " $1/share/locale/mscore_et.ts \\"
echo " $1/share/locale/mscore_eu.ts \\"
echo " $1/share/locale/mscore_fa.ts \\"
echo " $1/share/locale/mscore_fi.ts \\"
echo " $1/share/locale/mscore_fo.ts \\"
echo " $1/share/locale/mscore_fr.ts \\"
echo " $1/share/locale/mscore_ga.ts \\"
echo " $1/share/locale/mscore_gd.ts \\"
echo " $1/share/locale/mscore_gl.ts \\"
echo " $1/share/locale/mscore_he.ts \\"
echo " $1/share/locale/mscore_hi_IN.ts \\"
echo " $1/share/locale/mscore_hr.ts \\"
echo " $1/share/locale/mscore_hu.ts \\"
echo " $1/share/locale/mscore_hy.ts \\"
echo " $1/share/locale/mscore_id.ts \\"
echo " $1/share/locale/mscore_it.ts \\"
echo " $1/share/locale/mscore_ja.ts \\"
echo " $1/share/locale/mscore_ka.ts \\"
echo " $1/share/locale/mscore_ko.ts \\"
echo " $1/share/locale/mscore_lt.ts \\"
echo " $1/share/locale/mscore_lv.ts \\"
echo " $1/share/locale/mscore_ml.ts \\"
echo " $1/share/locale/mscore_mn_MN.ts \\"
echo " $1/share/locale/mscore_nb.ts \\"
echo " $1/share/locale/mscore_nl.ts \\"
echo " $1/share/locale/mscore_nn.ts \\"
echo " $1/share/locale/mscore_pl.ts \\"
echo " $1/share/locale/mscore_pt_BR.ts \\"
echo " $1/share/locale/mscore_pt.ts \\"
echo " $1/share/locale/mscore_ro.ts \\"
echo " $1/share/locale/mscore_ru.ts \\"
echo " $1/share/locale/mscore_sk.ts \\"
echo " $1/share/locale/mscore_sl.ts \\"
echo " $1/share/locale/mscore_sr.ts \\"
echo " $1/share/locale/mscore_sr_RS.ts \\"
echo " $1/share/locale/mscore_sv.ts \\"
echo " $1/share/locale/mscore_th.ts \\"
echo " $1/share/locale/mscore_tr.ts \\"
echo " $1/share/locale/mscore_uk.ts \\"
echo " $1/share/locale/mscore_uz@Latn.ts \\"
echo " $1/share/locale/mscore_vi.ts \\"
echo " $1/share/locale/mscore_zh_CN.ts \\"
echo " $1/share/locale/mscore_zh_TW.ts \\"
echo " $1/share/locale/qt_ar.ts \\"
echo " $1/share/locale/qt_bg.ts \\"
echo " $1/share/locale/qt_ca.ts \\"
echo " $1/share/locale/qt_cs.ts \\"
echo " $1/share/locale/qt_da.ts \\"
echo " $1/share/locale/qt_de.ts \\"
echo " $1/share/locale/qt_el.ts \\"
echo " $1/share/locale/qt_es.ts \\"
echo " $1/share/locale/qt_eu.ts \\"
echo " $1/share/locale/qt_fa.ts \\"
echo " $1/share/locale/qt_fi.ts \\"
echo " $1/share/locale/qt_fr.ts \\"
echo " $1/share/locale/qt_gl.ts \\"
echo " $1/share/locale/qt_he.ts \\"
echo " $1/share/locale/qt_hu.ts \\"
echo " $1/share/locale/qt_id.ts \\"
echo " $1/share/locale/qt_it.ts \\"
echo " $1/share/locale/qt_ja.ts \\"
echo " $1/share/locale/qt_ko.ts \\"
echo " $1/share/locale/qt_lt.ts \\"
echo " $1/share/locale/qt_nb.ts \\"
echo " $1/share/locale/qt_nl.ts \\"
echo " $1/share/locale/qt_nl_BE.ts \\"
echo " $1/share/locale/qt_pl.ts \\"
echo " $1/share/locale/qt_pt.ts \\"
echo " $1/share/locale/qt_pt_BR.ts \\"
echo " $1/share/locale/qt_ro.ts \\"
echo " $1/share/locale/qt_ru.ts \\"
echo " $1/share/locale/qt_sk.ts \\"
echo " $1/share/locale/qt_sl.ts \\"
echo " $1/share/locale/qt_sv.ts \\"
echo " $1/share/locale/qt_tr.ts \\"
echo " $1/share/locale/qt_uk.ts \\"
echo " $1/share/locale/qt_vi.ts \\"
echo " $1/share/locale/qt_zh_CN.ts \\"
echo " $1/share/locale/qt_zh_TW.tsTW.ts"
uis=`find $1/share/locale/ -name "*.ts"`
for a in $uis; do
echo " " $a \\;
done
echo
echo "FORMS = \\"
uis=`find $1 -name "*.ui"`
@ -114,5 +19,8 @@ uis=`find $1 -name "*.cpp"`
for a in $uis; do
echo " " $a \\;
done
uis=`find $1/share/instruments -name "*.h"`
for a in $uis; do
echo " " $a \\;
echo
echo

View file

@ -3,105 +3,8 @@
set OLD_DIR=%CD%
echo TRANSLATIONS = \
echo %1/share/locale/mscore_en.ts \
echo %1/share/locale/mscore_af.ts \
echo %1/share/locale/mscore_ar.ts \
echo %1/share/locale/mscore_ar_DZ.ts \
echo %1/share/locale/mscore_ar_EG.ts \
echo %1/share/locale/mscore_ar_SD.ts \
echo %1/share/locale/mscore_ast.ts \
echo %1/share/locale/mscore_be.ts \
echo %1/share/locale/mscore_bg.ts \
echo %1/share/locale/mscore_ca.ts \
echo %1/share/locale/mscore_ca@valencia.ts \
echo %1/share/locale/mscore_cs.ts \
echo %1/share/locale/mscore_cy.ts \
echo %1/share/locale/mscore_da.ts \
echo %1/share/locale/mscore_de.ts \
echo %1/share/locale/mscore_el.ts \
echo %1/share/locale/mscore_en_GB.ts \
echo %1/share/locale/mscore_en_US.ts \
echo %1/share/locale/mscore_eo.ts \
echo %1/share/locale/mscore_es.ts \
echo %1/share/locale/mscore_et.ts \
echo %1/share/locale/mscore_eu.ts \
echo %1/share/locale/mscore_fa.ts \
echo %1/share/locale/mscore_fi.ts \
echo %1/share/locale/mscore_fo.ts \
echo %1/share/locale/mscore_fr.ts \
echo %1/share/locale/mscore_ga.ts \
echo %1/share/locale/mscore_gd.ts \
echo %1/share/locale/mscore_gl.ts \
echo %1/share/locale/mscore_he.ts \
echo %1/share/locale/mscore_hi_IN.ts \
echo %1/share/locale/mscore_hr.ts \
echo %1/share/locale/mscore_hu.ts \
echo %1/share/locale/mscore_hy.ts \
echo %1/share/locale/mscore_id.ts \
echo %1/share/locale/mscore_it.ts \
echo %1/share/locale/mscore_ja.ts \
echo %1/share/locale/mscore_ka.ts \
echo %1/share/locale/mscore_ko.ts \
echo %1/share/locale/mscore_lt.ts \
echo %1/share/locale/mscore_lv.ts \
echo %1/share/locale/mscore_ml.ts \
echo %1/share/locale/mscore_mn_MN.ts \
echo %1/share/locale/mscore_nb.ts \
echo %1/share/locale/mscore_nl.ts \
echo %1/share/locale/mscore_nn.ts \
echo %1/share/locale/mscore_pl.ts \
echo %1/share/locale/mscore_pt_BR.ts \
echo %1/share/locale/mscore_pt.ts \
echo %1/share/locale/mscore_ro.ts \
echo %1/share/locale/mscore_ru.ts \
echo %1/share/locale/mscore_sk.ts \
echo %1/share/locale/mscore_sl.ts \
echo %1/share/locale/mscore_sr.ts \
echo %1/share/locale/mscore_sr_RS.ts \
echo %1/share/locale/mscore_sv.ts \
echo %1/share/locale/mscore_th.ts \
echo %1/share/locale/mscore_tr.ts \
echo %1/share/locale/mscore_uk.ts \
echo %1/share/locale/mscore_uz@Latn.ts \
echo %1/share/locale/mscore_vi.ts \
echo %1/share/locale/mscore_zh_CN.ts \
echo %1/share/locale/mscore_zh_TW.ts \
echo %1/share/locale/qt_ar.ts \
echo %1/share/locale/qt_bg.ts \
echo %1/share/locale/qt_ca.ts \
echo %1/share/locale/qt_cs.ts \
echo %1/share/locale/qt_da.ts \
echo %1/share/locale/qt_de.ts \
echo %1/share/locale/qt_el.ts \
echo %1/share/locale/qt_es.ts \
echo %1/share/locale/qt_eu.ts \
echo %1/share/locale/qt_fa.ts \
echo %1/share/locale/qt_fi.ts \
echo %1/share/locale/qt_fr.ts \
echo %1/share/locale/qt_gl.ts \
echo %1/share/locale/qt_he.ts \
echo %1/share/locale/qt_hu.ts \
echo %1/share/locale/qt_id.ts \
echo %1/share/locale/qt_it.ts \
echo %1/share/locale/qt_ja.ts \
echo %1/share/locale/qt_ko.ts \
echo %1/share/locale/qt_lt.ts \
echo %1/share/locale/qt_nb.ts \
echo %1/share/locale/qt_nl.ts \
echo %1/share/locale/qt_nl_BE.ts \
echo %1/share/locale/qt_pl.ts \
echo %1/share/locale/qt_pt.ts \
echo %1/share/locale/qt_pt_BR.ts \
echo %1/share/locale/qt_ro.ts \
echo %1/share/locale/qt_ru.ts \
echo %1/share/locale/qt_sk.ts \
echo %1/share/locale/qt_sl.ts \
echo %1/share/locale/qt_sv.ts \
echo %1/share/locale/qt_tr.ts \
echo %1/share/locale/qt_uk.ts \
echo %1/share/locale/qt_vi.ts \
echo %1/share/locale/qt_zh_CN.ts \
echo %1/share/locale/qt_zh_TW.ts
for /r %1/share/locale/ %%a in (*.ts) do echo %%a \
echo.
cd /d %1
@ -111,6 +14,7 @@ echo.
echo SOURCES = \
for /r %1 %%a in (*.cpp) do echo %%a \
for /r %1/share/instruments %%a in (*.h) do echo %%a \
echo.
echo.

View file

@ -1,12 +1,12 @@
Translation of the instrument list
---
* `generateTs.py` parses `instruments.xml` and create a fake `instrumentsxml.h` file
* gen-instruments-projectfile creates a pro file for the translations, so we can run lupdate and lrelease on it
* the TS file is loaded by MuseScore and the instruments are translated when the instruments.xml file is loaded
* `generateTs.py` parses `instruments.xml` and creates a fake `instrumentsxml.h` file
* gen-qt-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
* push the new file updated ts en_US file to transifex

View file

@ -1,9 +1,8 @@
#=============================================================================
# Mscore
# Linux Music Score Editor
# $Id:$
#
# Copyright (C) 2002-2008 by Werner Schweer and others
# Copyright (C) 2002-2017 by Werner Schweer and others
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2.
@ -18,166 +17,32 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================
install(FILES
mscore_af.qm
mscore_ar.qm
mscore_ar_DZ.qm
mscore_ar_EG.qm
mscore_ar_SD.qm
mscore_ast.qm
mscore_be.qm
mscore_bg.qm
mscore_ca.qm
mscore_ca@valencia.qm
mscore_cs.qm
mscore_cy.qm
mscore_da.qm
mscore_de.qm
mscore_el.qm
mscore_en_GB.qm
mscore_en_US.qm
mscore_eo.qm
mscore_es.qm
mscore_et.qm
mscore_eu.qm
mscore_fa.qm
mscore_fi.qm
mscore_fo.qm
mscore_fr.qm
mscore_ga.qm
mscore_gd.qm
mscore_gl.qm
mscore_he.qm
mscore_hi_IN.qm
mscore_hr.qm
mscore_hu.qm
mscore_hy.qm
mscore_id.qm
mscore_it.qm
mscore_ja.qm
mscore_ka.qm
mscore_ko.qm
mscore_lt.qm
mscore_lv.qm
mscore_ml.qm
mscore_mn_MN.qm
mscore_nl.qm
mscore_nb.qm
mscore_nn.qm
mscore_pl.qm
mscore_pt.qm
mscore_pt_BR.qm
mscore_ro.qm
mscore_ru.qm
mscore_sk.qm
mscore_sl.qm
mscore_sr.qm
mscore_sr_RS.qm
mscore_sv.qm
mscore_th.qm
mscore_tr.qm
mscore_uk.qm
mscore_uz@Latn.qm
mscore_vi.qm
mscore_zh_CN.qm
mscore_zh_TW.qm
languages.xml
qt_ar.qm
qt_ca.qm
qt_cs.qm
qt_da.qm
qt_de.qm
qt_el.qm
qt_es.qm
qt_eu.qm
qt_fa.qm
qt_fi.qm
qt_fr.qm
qt_gl.qm
qt_he.qm
qt_hu.qm
qt_id.qm
qt_it.qm
qt_ja.qm
qt_ko.qm
qt_lt.qm
qt_nb.qm
qt_nl.qm
qt_nl_BE.qm
qt_pl.qm
qt_pt.qm
qt_pt_BR.qm
qt_ro.qm
qt_ru.qm
qt_sk.qm
qt_sv.qm
qt_tr.qm
qt_uk.qm
qt_vi.qm
qt_zh_CN.qm
qt_zh_TW.qm
instruments_af.qm
instruments_ar.qm
instruments_ar_DZ.qm
instruments_ar_EG.qm
instruments_ar_SD.qm
instruments_ast.qm
instruments_be.qm
instruments_bg.qm
instruments_ca.qm
instruments_ca@valencia.qm
instruments_cs.qm
instruments_cy.qm
instruments_da.qm
instruments_de.qm
instruments_el.qm
instruments_en_GB.qm
instruments_en_US.qm
instruments_eo.qm
instruments_es.qm
instruments_et.qm
instruments_eu.qm
instruments_fa.qm
instruments_fi.qm
instruments_fo.qm
instruments_fr.qm
instruments_ga.qm
instruments_gd.qm
instruments_gl.qm
instruments_he.qm
instruments_hi_IN.qm
instruments_hr.qm
instruments_hu.qm
instruments_hy.qm
instruments_id.qm
instruments_it.qm
instruments_ja.qm
instruments_ka.qm
instruments_ko.qm
instruments_lt.qm
instruments_lv.qm
instruments_ml.qm
instruments_mn_MN.qm
instruments_nl.qm
instruments_nb.qm
instruments_nn.qm
instruments_pl.qm
instruments_pt.qm
instruments_pt_BR.qm
instruments_ro.qm
instruments_ru.qm
instruments_sk.qm
instruments_sl.qm
instruments_sr.qm
instruments_sr_RS.qm
instruments_sv.qm
instruments_th.qm
instruments_tr.qm
instruments_uk.qm
instruments_uz@Latn.qm
instruments_vi.qm
instruments_zh_CN.qm
instruments_zh_TW.qm
DESTINATION ${Mscore_SHARE_NAME}${Mscore_INSTALL_NAME}locale
)
install(DIRECTORY ./
DESTINATION ${Mscore_SHARE_NAME}${Mscore_INSTALL_NAME}locale
FILES_MATCHING
REGEX ".*\\.qm")
if (MINGW)
install(DIRECTORY ${CROSSQT}/translations/
DESTINATION ${Mscore_SHARE_NAME}${Mscore_INSTALL_NAME}locale
FILES_MATCHING
REGEX "qt_.*\\.qm"
REGEX "qt_help_.*\\.qm" EXCLUDE
REGEX "qtbase_.*\\.qm"
REGEX "qtmultimedia_.*\\.qm"
REGEX "qtquick1_.*\\.qm"
REGEX "qtscript_.*\\.qm"
REGEX "qtxmlpatterns_.*\\.qm")
else (MINGW)
install(DIRECTORY ${QT_INSTALL_PREFIX}/translations/
DESTINATION ${Mscore_SHARE_NAME}${Mscore_INSTALL_NAME}locale
FILES_MATCHING
REGEX "qt_.*\\.qm"
REGEX "qt_help_.*\\.qm" EXCLUDE
REGEX "qtbase_.*\\.qm"
REGEX "qtmultimedia_.*\\.qm"
REGEX "qtquick1_.*\\.qm"
REGEX "qtscript_.*\\.qm"
REGEX "qtxmlpatterns_.*\\.qm")
endif (MINGW)

View file

@ -19,12 +19,6 @@ In [MuseScore source](https://github.com/musescore/MuseScore)
------
* Add the language in share/locale/languages.xml
* Add the language mscore_XX.qm in share/locale/CMakeLists.txt
* Add the language instruments_XX.qm in share/locale/CMakeLists.txt
* Add the language mscore_XX.ts to build/gen-qt-projectfile.bat and build/gen-instruments-projectfile
* Add the language instruments_XX.ts to build/gen-instruments-projectfile.bat and build/gen-qt-projectfile
* Add the share/locale/mscore_XX.ts file, tx pull can help (`tx pull -t language_code)
* Add the share/locale/instruments_XX.ts file, see above

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff