Add explicit language list to update_messages.sh

This commit is contained in:
Patrick Nicolas
2025-07-30 09:41:31 +02:00
parent 3648224f09
commit ce77a67354
2 changed files with 7 additions and 4 deletions
+5 -1
View File
@@ -27,7 +27,11 @@ xgettext \
sed -i 's/charset=CHARSET/charset=UTF-8/g' $WIVRN_CLIENT_POT $WIVRN_DASHBOARD_POT
LANGS="es fr it ja zh_TW pt_BR"
if [ "$#" -ge 1 ] ; then
LANGS="$@"
else
LANGS="$(ls -1 locale)"
fi
for i in $LANGS
do