1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-03 09:17:50 +03:00

add option to install stable translations

--fix the option to install trunk translations
This commit is contained in:
Michail Vourlakos 2017-11-05 12:44:56 +02:00
parent 592d7ed6da
commit ad32fc1056

View File

@ -13,7 +13,7 @@ fi
cd build cd build
if [ "$1" == "-translations" ] ; then if [ "$1" == "--translations" ] ; then
if [ -a po ] ; then if [ -a po ] ; then
sudo rm -fr po sudo rm -fr po
fi fi
@ -22,6 +22,15 @@ if [ "$1" == "-translations" ] ; then
fi fi
cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE_L10N_BRANCH=trunk -DKDE_L10N_AUTO_TRANSLATIONS=ON -DCMAKE_BUILD_TYPE=$build_type .. cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE_L10N_BRANCH=trunk -DKDE_L10N_AUTO_TRANSLATIONS=ON -DCMAKE_BUILD_TYPE=$build_type ..
make fetch-translations make fetch-translations
elif [ "$1" == "--translations-stable" ] ; then
if [ -a po ] ; then
sudo rm -fr po
fi
if [ -a locale ] ; then
sudo rm -fr locale
fi
cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE_L10N_BRANCH=stable -DKDE_L10N_AUTO_TRANSLATIONS=ON -DCMAKE_BUILD_TYPE=$build_type ..
make fetch-translations
else else
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=$build_type .. cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=$build_type ..
make make