aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.qt.include
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-04-15 13:14:20 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-04-20 15:48:48 +0300
commit2045e4cdd26920665300f21be5b08fe66bde4a41 (patch)
tree22a10a79c1091a65e92392dff2498066da2caa9b /src/Makefile.qt.include
parent585cbe22575306c05b156ea90faa9caa1add4c87 (diff)
downloadbitcoin-2045e4cdd26920665300f21be5b08fe66bde4a41.tar.xz
build: Use XLIFF file to provide more context to Transifex translators
Details: https://docs.transifex.com/formats/xliff
Diffstat (limited to 'src/Makefile.qt.include')
-rw-r--r--src/Makefile.qt.include2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.qt.include b/src/Makefile.qt.include
index 399a8430ef..a573247afa 100644
--- a/src/Makefile.qt.include
+++ b/src/Makefile.qt.include
@@ -356,6 +356,8 @@ $(srcdir)/qt/bitcoinstrings.cpp: FORCE
translate: $(srcdir)/qt/bitcoinstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_BASE_CPP) qt/bitcoin.cpp $(BITCOIN_QT_WINDOWS_CPP) $(BITCOIN_QT_WALLET_CPP) $(BITCOIN_QT_H) $(BITCOIN_MM)
@test -n $(LUPDATE) || echo "lupdate is required for updating translations"
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(LUPDATE) $^ -locations relative -no-obsolete -ts $(srcdir)/qt/locale/bitcoin_en.ts
+ @test -n $(LCONVERT) || echo "lconvert is required for updating translations"
+ $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(LCONVERT) -o $(srcdir)/qt/locale/bitcoin_en.xlf -i $(srcdir)/qt/locale/bitcoin_en.ts
$(QT_QRC_LOCALE_CPP): $(QT_QRC_LOCALE) $(QT_QM)
@test -f $(RCC)