contrib: mv locale-related scripts to contrib/locale/
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
@@ -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`)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user