Actually remove all unlisted translations.
This was SVN commit r17298.
This commit is contained in:
parent
229e850dba
commit
082af749f0
@ -4,6 +4,6 @@
|
||||
LANGS=("ca" "cs" "de" "en_GB" "es" "fr" "gd" "gl" "id" "it" "nl" "pl" "pt_PT" "pt_BR" "ru" "sk" "tr")
|
||||
|
||||
REGEX=$(printf "\|%s" "${LANGS[@]}")
|
||||
REGEX=".*/\("${REGEX:2}"\).[-A-Za-z0-9_.]\+\.po"
|
||||
REGEX=".*/\("${REGEX:2}"\)\.[-A-Za-z0-9_.]\+\.po"
|
||||
|
||||
find "$@" -name "*.po" | grep -v "$REGEX" | xargs rm
|
||||
|
Loading…
Reference in New Issue
Block a user