26 lines
410 B
Bash
Executable File
26 lines
410 B
Bash
Executable File
#!/bin/sh
|
|
|
|
SDIR=$(realpath -e "$0")
|
|
SDIR=${SDIR%/*}
|
|
|
|
cd "$SDIR"
|
|
|
|
rsync -Lrtvz translationproject.org::tp/latest/VasEBoot/ po
|
|
|
|
autogenerated="en@quot en@hebrew de@hebrew en@cyrillic en@greek en@arabic en@piglatin de_CH"
|
|
|
|
|
|
for x in $autogenerated; do
|
|
rm -f "po/$x.po";
|
|
done
|
|
|
|
|
|
(
|
|
(
|
|
cd po && ls *.po| cut -d. -f1
|
|
for x in $autogenerated; do
|
|
echo "$x";
|
|
done
|
|
) | sort | uniq | xargs
|
|
) >po/LINGUAS
|