2015-08-02 19:39:29 +02:00
|
|
|
# Don't use this pro file for building project!!!
|
|
|
|
# I made this hack for creation one TS file for whole project.
|
|
|
|
# Because we have several libraries that also have strings for translation, have several TS files for each
|
|
|
|
# subproject annoying.
|
|
|
|
#
|
|
|
|
# Original idea "How to generate a single translation file for a large Qt project?"
|
|
|
|
# https://stackoverflow.com/questions/1829474/how-to-generate-a-single-translation-file-for-a-large-qt-project
|
|
|
|
|
|
|
|
TEMPLATE = app
|
|
|
|
DEPENDPATH += \
|
|
|
|
../../src/app/valentina \
|
|
|
|
../../src/app/tape \
|
2021-05-20 09:42:39 +02:00
|
|
|
../../src/app/puzzle \
|
2015-08-02 19:39:29 +02:00
|
|
|
../../src/libs/qmuparser \
|
|
|
|
../../src/libs/vpropertyexplorer \
|
|
|
|
../../src/libs/ifc \
|
|
|
|
../../src/libs/vobj \
|
|
|
|
../../src/libs/vlayout \
|
|
|
|
../../src/libs/vgeometry \
|
|
|
|
../../src/libs/vpatterndb \
|
|
|
|
../../src/libs/vmisc \
|
|
|
|
../../src/libs/vtools \
|
2016-07-15 12:47:32 +02:00
|
|
|
../../src/libs/vformat \
|
2021-01-30 20:29:48 +01:00
|
|
|
../../src/libs/fervor \
|
2023-06-27 13:15:21 +02:00
|
|
|
../../src/libs/vwidgets \
|
|
|
|
../../src/libs/vganalytics
|
2015-08-02 19:39:29 +02:00
|
|
|
|
|
|
|
include(../../src/app/valentina/valentina.pri)
|
|
|
|
include(../../src/app/tape/tape.pri)
|
2021-05-21 20:34:50 +02:00
|
|
|
include(../../src/app/puzzle/puzzle.pri)
|
2015-08-02 19:39:29 +02:00
|
|
|
include(../../src/libs/qmuparser/qmuparser.pri)
|
|
|
|
include(../../src/libs/vpropertyexplorer/vpropertyexplorer.pri)
|
|
|
|
include(../../src/libs/ifc/ifc.pri)
|
|
|
|
include(../../src/libs/vobj/vobj.pri)
|
|
|
|
include(../../src/libs/vlayout/vlayout.pri)
|
|
|
|
include(../../src/libs/vgeometry/vgeometry.pri)
|
|
|
|
include(../../src/libs/vpatterndb/vpatterndb.pri)
|
|
|
|
include(../../src/libs/vmisc/vmisc.pri)
|
|
|
|
include(../../src/libs/vtools/vtools.pri)
|
|
|
|
include(../../src/libs/vformat/vformat.pri)
|
2016-07-15 12:47:32 +02:00
|
|
|
include(../../src/libs/fervor/fervor.pri)
|
2021-01-30 20:29:48 +01:00
|
|
|
include(../../src/libs/vwidgets/vwidgets.pri)
|
2023-06-27 13:15:21 +02:00
|
|
|
include(../../src/libs/vganalytics/vganalytics.pri)
|
2015-08-02 19:39:29 +02:00
|
|
|
|
|
|
|
# Add here path to new translation file with name "valentina_*_*.ts" if you want to add new language.
|
2016-01-21 16:14:47 +01:00
|
|
|
# Same paths in variable INSTALL_TRANSLATIONS (translations.pri).
|
2015-08-02 19:39:29 +02:00
|
|
|
|
|
|
|
# File valentina.ts we use in transifex.com. It is empty translation file only with english inside. transifex.com use
|
2016-01-21 16:14:47 +01:00
|
|
|
# this file like base for new language. Don't add path to valentina.ts to INSTALL_TRANSLATIONS variable (translations.pri).
|
|
|
|
# When adding a translation here, also add it in the macx part (translations.pri).
|
|
|
|
|
|
|
|
LANGUAGES += \
|
|
|
|
uk_UA \
|
|
|
|
de_DE \
|
|
|
|
cs_CZ \
|
|
|
|
he_IL \
|
|
|
|
fr_FR \
|
|
|
|
it_IT \
|
|
|
|
nl_NL \
|
|
|
|
id_ID \
|
|
|
|
es_ES \
|
|
|
|
fi_FI \
|
|
|
|
ro_RO \
|
2016-03-08 19:27:25 +01:00
|
|
|
zh_CN \
|
2016-10-25 20:29:54 +02:00
|
|
|
pt_BR \
|
2017-09-11 15:57:49 +02:00
|
|
|
el_GR \
|
|
|
|
pl_PL
|
2016-01-21 16:14:47 +01:00
|
|
|
|
|
|
|
TRANSLATIONS += valentina.ts
|
|
|
|
|
|
|
|
for(lang, LANGUAGES) {
|
|
|
|
TRANSLATIONS += valentina_$${lang}.ts
|
|
|
|
}
|
|
|
|
|