1
0

build: clarify which locale files are included

related: 2cb4e56be3
This commit is contained in:
SomberNight
2021-03-31 17:00:39 +02:00
parent 815cc5a1d8
commit c23fca37d4
5 changed files with 22 additions and 9 deletions

View File

@@ -109,6 +109,8 @@ info "preparing electrum-locale."
if ! which msgfmt > /dev/null 2>&1; then
fail "Please install gettext"
fi
# we want the binary to have only compiled (.mo) locale files; not source (.po) files
rm -rf "$PROJECT_ROOT/electrum/locale/"
for i in ./locale/*; do
dir="$PROJECT_ROOT/electrum/$i/LC_MESSAGES"
mkdir -p $dir