Skip to content
Snippets Groups Projects
Commit 359ff1c4 authored by SeeLook's avatar SeeLook :musical_note:
Browse files

Keep qtbase_pt - it is not available for CD/CI

- prepare_build
parent a2f2ee5c
Branches
No related tags found
No related merge requests found
Pipeline #8114 passed
......@@ -6,6 +6,7 @@ find_package(Qt5 COMPONENTS LinguistTools)
file(GLOB TS_FILES "nootka_*.ts")
list(APPEND TS_FILES "qtbase_sl.ts")
list(APPEND TS_FILES "qtbase_pt.ts")
#list(REMOVE_ITEM ${TS_FILES} "if_any")
......@@ -34,7 +35,7 @@ if(APPLE OR WIN32)
"${QT_TRANSLATIONS_DIR}/qtbase_hu.qm"
"${QT_TRANSLATIONS_DIR}/qtbase_it.qm"
"${QT_TRANSLATIONS_DIR}/qtbase_pl.qm"
"${QT_TRANSLATIONS_DIR}/qtbase_pt_BR.qm"
# "${QT_TRANSLATIONS_DIR}/qtbase_pt_BR.qm"
"${QT_TRANSLATIONS_DIR}/qtbase_ru.qm"
"${QT_TRANSLATIONS_DIR}/qtbase_uk.qm"
#"${QT_TRANSLATIONS_DIR}/qtbase_sl.qm"
......
This diff is collapsed.
......@@ -68,7 +68,6 @@ cp $TRANS_PATH/qtbase_fr.qm AppDir/usr/translations
cp $TRANS_PATH/qtbase_hu.qm AppDir/usr/translations
cp $TRANS_PATH/qtbase_it.qm AppDir/usr/translations
cp $TRANS_PATH/qtbase_pl.qm AppDir/usr/translations
cp $TRANS_PATH/qtbase_pt*.qm AppDir/usr/translations
cp $TRANS_PATH/qtbase_ru.qm AppDir/usr/translations
cp $TRANS_PATH/qtbase_uk.qm AppDir/usr/translations
......
......@@ -154,6 +154,7 @@ versionAtLeast(QT_VERSION, 5.15.0) {
LRELEASE_DIR = lang
EXTRA_TRANSLATIONS += $$files(lang/nootka_*.ts)
EXTRA_TRANSLATIONS += lang/qtbase_sl.ts
EXTRA_TRANSLATIONS += lang/qtbase_pt.ts
lang.path = /assets/lang
# HACK: create list of translated file names from the list of existing *.ts files.
......@@ -176,7 +177,6 @@ lang.files += $$system(ls $$TR_DIR/qtbase_fr.qm)
lang.files += $$system(ls $$TR_DIR/qtbase_hu.qm)
lang.files += $$system(ls $$TR_DIR/qtbase_it.qm)
lang.files += $$system(ls $$TR_DIR/qtbase_pl.qm)
lang.files += $$system(ls $$TR_DIR/qtbase_pt_BR.qm)
lang.files += $$system(ls $$TR_DIR/qtbase_ru.qm)
lang.files += $$system(ls $$TR_DIR/qtbase_uk.qm)
lang.CONFIG += no_check_exist
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment