1
0

contrib: mv locale-related scripts to contrib/locale/

This commit is contained in:
SomberNight
2025-04-10 17:45:21 +00:00
parent 1144d9b8ea
commit 31b176169a
11 changed files with 12 additions and 11 deletions

View File

@@ -136,7 +136,7 @@ break_legacy_easy_install
info "preparing electrum-locale."
(
"$CONTRIB/build_cleanlocale.sh"
"$CONTRIB/locale/build_cleanlocale.sh"
# we want the binary to have only compiled (.mo) locale files; not source (.po) files
rm -r "$PROJECT_ROOT/electrum/locale/locale"/*/electrum.po
)

View File

@@ -52,6 +52,6 @@ The differences are as follows:
found and used at runtime.
- the normal tarball includes compiled (.mo) locale files, the source-only tarball does not.
Both tarballs contain (.po) source locale files. If you are packaging for a Linux distro,
you probably want to compile the .mo locale files yourself (see `contrib/build_locale.sh`).
you probably want to compile the .mo locale files yourself (see `contrib/locale/build_locale.sh`).
- the normal tarball includes generated `*_pb2.py` files. These are created
using `protobuf-compiler` from `.proto` files (see `contrib/generate_payreqpb2.sh`)

View File

@@ -26,7 +26,7 @@ fi
info "preparing electrum-locale."
(
"$CONTRIB/build_cleanlocale.sh"
"$CONTRIB/locale/build_cleanlocale.sh"
# By default, include both source (.po) and compiled (.mo) locale files in the source dist.
# Set option OMIT_UNCLEAN_FILES=1 to exclude the compiled locale files
# see https://askubuntu.com/a/144139 (also see MANIFEST.in)