#!/bin/bash SOURCE_PATHS=common/ui/ for BRANDING in brandings/*; do if [ -d $BRANDING ]; then if [ ! -d $BRANDING/ui ]; then echo "Warning: Could not find ui directory in $BRANDING" continue fi # echo "Adding source path $BRANDING/ui" SOURCE_PATHS="$SOURCE_PATHS $BRANDING/ui" fi done lupdate $SOURCE_PATHS -ts translations/*.ts -no-obsolete