valentina_old/scripts/lupdate.sh
Roman Telezhynskyi 50247dfeac Remove qm files after run lupdate.
--HG--
branch : develop
2015-10-18 14:04:37 +03:00

14 lines
533 B
Bash
Executable File

#!/bin/sh
# Run this script if you want to find and update all strings in the code.
# lupdate doesn't work with recursive *.pro file and without direct pointing to correct *.pro file just update exists strings in code.
# Please, run this script from folder <root_folder>/scripts.
# Download last translations from transifex.com.
tx pull --mode=developer
# Update local strings
lupdate -recursive ../share/translations/translations.pro
lupdate -recursive ../share/translations/measurements.pro
rm -f -v ../share/translations/*.qm