valentina/scripts/lupdate.sh

7 lines
387 B
Bash
Raw Normal View History

#!/bin/sh
# Run this script if you want find and update all string in 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.
lupdate -recursive ../share/translations/translations.pro
lupdate -recursive ../share/translations/measurements.pro