tupdate make_locale doc references, and small nits - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 5ed6a68d8ccfd54cd2761e2962162c2310d7c05c DIR parent f1516d60ec3fb37f2faa885a177330dc2d657d6a HTML Author: SomberNight <somber.night@protonmail.com> Date: Wed, 3 Jul 2019 17:42:40 +0200 update make_locale doc references, and small nits Diffstat: M README.rst | 2 +- M contrib/build-linux/README.md | 10 ++-------- M contrib/build-wine/build-electrum-… | 7 +++---- M contrib/make_apk | 2 +- M contrib/make_tgz | 1 + M electrum/gui/kivy/Readme.md | 2 +- 6 files changed, 9 insertions(+), 15 deletions(-) --- DIR diff --git a/README.rst b/README.rst t@@ -75,7 +75,7 @@ Compile the protobuf description file:: Create translations (optional):: sudo apt-get install python-requests gettext - ./contrib/make_locale + ./contrib/pull_locale DIR diff --git a/contrib/build-linux/README.md b/contrib/build-linux/README.md t@@ -3,19 +3,13 @@ Source tarballs ✗ _This script does not produce reproducible output (yet!)._ -1. Build locale files - - ``` - contrib/make_locale - ``` - -2. Prepare python dependencies used by Electrum. +1. Prepare python dependencies used by Electrum. ``` contrib/make_packages ``` -3. Create source tarball. +2. Create source tarball. ``` contrib/make_tgz DIR diff --git a/contrib/build-wine/build-electrum-git.sh b/contrib/build-wine/build-electrum-git.sh t@@ -20,13 +20,12 @@ here="$(dirname "$(readlink -e "$0")")" pushd $WINEPREFIX/drive_c/electrum -# Load electrum-locale for this release -git submodule init -git submodule update - VERSION=`git describe --tags --dirty --always` info "Last commit: $VERSION" +# Load electrum-locale for this release +git submodule update --init + pushd ./contrib/deterministic-build/electrum-locale if ! which msgfmt > /dev/null 2>&1; then fail "Please install gettext" DIR diff --git a/contrib/make_apk b/contrib/make_apk t@@ -8,7 +8,7 @@ PACKAGES="$ROOT_FOLDER"/packages/ LOCALE="$ROOT_FOLDER"/electrum/locale/ if [ ! -d "$LOCALE" ]; then - echo "Run make_locale first!" + echo "Run pull_locale first!" exit 1 fi DIR diff --git a/contrib/make_tgz b/contrib/make_tgz t@@ -25,6 +25,7 @@ git submodule update --init dir="$ROOT_FOLDER"/electrum/$i/LC_MESSAGES mkdir -p $dir msgfmt --output-file=$dir/electrum.mo $i/electrum.po || true + cp $i/electrum.po "$ROOT_FOLDER"/electrum/$i/electrum.po done ) DIR diff --git a/electrum/gui/kivy/Readme.md b/electrum/gui/kivy/Readme.md t@@ -30,7 +30,7 @@ folder. 3. Build locale files ``` - $ ./contrib/make_locale + $ ./contrib/pull_locale ``` 4. Prepare pure python dependencies