0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00
LibreWolf/scripts/generate-locales.sh
Malte Juergens 90513a5707
Fix locales
2024-09-13 21:43:41 +02:00

13 lines
466 B
Bash
Executable file

#!/usr/bin/bash
if [ ! -f browser/locales/shipped-locales ]; then
echo "ERROR: Run this script from the root of the LibreWolf source code"
exit 1
fi
echo "-> Downloading locales"
rm -rf browser/locales/l10n
curl -o browser/locales/l10n.zip "https://codeload.github.com/mozilla-l10n/firefox-l10n/zip/refs/heads/main"
unzip -qo browser/locales/l10n.zip -d browser/locales/
mv browser/locales/firefox-l10n-main browser/locales/l10n
rm -f browser/locales/l10n.zip