mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
update make_locale doc references, and small nits
This commit is contained in:
parent
f1516d60ec
commit
5ed6a68d8c
6 changed files with 9 additions and 15 deletions
|
@ -75,7 +75,7 @@ Compile the protobuf description file::
|
||||||
Create translations (optional)::
|
Create translations (optional)::
|
||||||
|
|
||||||
sudo apt-get install python-requests gettext
|
sudo apt-get install python-requests gettext
|
||||||
./contrib/make_locale
|
./contrib/pull_locale
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,19 +3,13 @@ Source tarballs
|
||||||
|
|
||||||
✗ _This script does not produce reproducible output (yet!)._
|
✗ _This script does not produce reproducible output (yet!)._
|
||||||
|
|
||||||
1. Build locale files
|
1. Prepare python dependencies used by Electrum.
|
||||||
|
|
||||||
```
|
|
||||||
contrib/make_locale
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Prepare python dependencies used by Electrum.
|
|
||||||
|
|
||||||
```
|
```
|
||||||
contrib/make_packages
|
contrib/make_packages
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Create source tarball.
|
2. Create source tarball.
|
||||||
|
|
||||||
```
|
```
|
||||||
contrib/make_tgz
|
contrib/make_tgz
|
||||||
|
|
|
@ -20,13 +20,12 @@ here="$(dirname "$(readlink -e "$0")")"
|
||||||
|
|
||||||
pushd $WINEPREFIX/drive_c/electrum
|
pushd $WINEPREFIX/drive_c/electrum
|
||||||
|
|
||||||
# Load electrum-locale for this release
|
|
||||||
git submodule init
|
|
||||||
git submodule update
|
|
||||||
|
|
||||||
VERSION=`git describe --tags --dirty --always`
|
VERSION=`git describe --tags --dirty --always`
|
||||||
info "Last commit: $VERSION"
|
info "Last commit: $VERSION"
|
||||||
|
|
||||||
|
# Load electrum-locale for this release
|
||||||
|
git submodule update --init
|
||||||
|
|
||||||
pushd ./contrib/deterministic-build/electrum-locale
|
pushd ./contrib/deterministic-build/electrum-locale
|
||||||
if ! which msgfmt > /dev/null 2>&1; then
|
if ! which msgfmt > /dev/null 2>&1; then
|
||||||
fail "Please install gettext"
|
fail "Please install gettext"
|
||||||
|
|
|
@ -8,7 +8,7 @@ PACKAGES="$ROOT_FOLDER"/packages/
|
||||||
LOCALE="$ROOT_FOLDER"/electrum/locale/
|
LOCALE="$ROOT_FOLDER"/electrum/locale/
|
||||||
|
|
||||||
if [ ! -d "$LOCALE" ]; then
|
if [ ! -d "$LOCALE" ]; then
|
||||||
echo "Run make_locale first!"
|
echo "Run pull_locale first!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ git submodule update --init
|
||||||
dir="$ROOT_FOLDER"/electrum/$i/LC_MESSAGES
|
dir="$ROOT_FOLDER"/electrum/$i/LC_MESSAGES
|
||||||
mkdir -p $dir
|
mkdir -p $dir
|
||||||
msgfmt --output-file=$dir/electrum.mo $i/electrum.po || true
|
msgfmt --output-file=$dir/electrum.mo $i/electrum.po || true
|
||||||
|
cp $i/electrum.po "$ROOT_FOLDER"/electrum/$i/electrum.po
|
||||||
done
|
done
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ folder.
|
||||||
3. Build locale files
|
3. Build locale files
|
||||||
|
|
||||||
```
|
```
|
||||||
$ ./contrib/make_locale
|
$ ./contrib/pull_locale
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Prepare pure python dependencies
|
4. Prepare pure python dependencies
|
||||||
|
|
Loading…
Add table
Reference in a new issue