2025-04-10 17:37:54 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
2025-05-05 18:31:07 +00:00
|
|
|
CONTRIB_LOCALE="$(dirname "$(realpath "$0" 2> /dev/null || grealpath "$0")")"
|
2025-04-10 17:45:21 +00:00
|
|
|
CONTRIB="$CONTRIB_LOCALE"/..
|
2025-04-10 17:37:54 +00:00
|
|
|
PROJECT_ROOT="$CONTRIB"/..
|
|
|
|
|
|
|
|
|
|
cd "$PROJECT_ROOT"
|
|
|
|
|
git submodule update --init
|
|
|
|
|
|
|
|
|
|
LOCALE="$PROJECT_ROOT/electrum/locale/"
|
|
|
|
|
cd "$LOCALE"
|
|
|
|
|
git clean -ffxd
|
|
|
|
|
git reset --hard
|
2025-04-10 17:45:21 +00:00
|
|
|
"$CONTRIB_LOCALE/build_locale.sh" "$LOCALE/locale" "$LOCALE/locale"
|