mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Merge #16982: build: Factor out qt translations from build system
4320bfc0c0d88633c84146f8d640f5b6e4596244 build: Factor out qt translations from build system (Wladimir J. van der Laan) Pull request description: Move qt translations to a separate make include file. This makes it easier to auto-generate this list from tooling (see bitcoin-core/bitcoin-maintainer-tools#36). ACKs for top commit: promag: ACK 4320bfc0c0d88633c84146f8d640f5b6e4596244. Tree-SHA512: 7133d0103bcf97672ae5aa40ba35d4b81331a8c179190031bbc887da6a5ccc929428e522938db43d87dbcbf9ad3b121dac1e6faf1daa5ae81d0b5fed7f053b5f
This commit is contained in:
parent
52d2004b0b
commit
783f502c86
@ -77,7 +77,7 @@ To assist in updating translations, we have created a script to help.
|
||||
1. `python contrib/devtools/update-translations.py`
|
||||
2. Update `src/qt/dash_locale.qrc` manually or via
|
||||
`ls src/qt/locale/*ts|xargs -n1 basename|sed 's/\(dash_\(.*\)\).ts/<file alias="\2">locale\/\1.qm<\/file>/'`
|
||||
3. Update `src/Makefile.qt.include` manually or via
|
||||
3. Update `src/Makefile.qt_locale.include` manually or via
|
||||
`ls src/qt/locale/*ts|xargs -n1 basename|sed 's/\(dash_\(.*\)\).ts/ qt\/locale\/\1.ts \\/'`
|
||||
4. `git add` new translations from `src/qt/locale/`
|
||||
|
||||
|
@ -7,28 +7,7 @@ bin_PROGRAMS += qt/dash-qt
|
||||
EXTRA_LIBRARIES += qt/libdashqt.a
|
||||
|
||||
# dash qt core #
|
||||
QT_TS = \
|
||||
qt/locale/dash_ar.ts \
|
||||
qt/locale/dash_bg.ts \
|
||||
qt/locale/dash_de.ts \
|
||||
qt/locale/dash_en.ts \
|
||||
qt/locale/dash_es.ts \
|
||||
qt/locale/dash_fi.ts \
|
||||
qt/locale/dash_fr.ts \
|
||||
qt/locale/dash_it.ts \
|
||||
qt/locale/dash_ja.ts \
|
||||
qt/locale/dash_ko.ts \
|
||||
qt/locale/dash_nl.ts \
|
||||
qt/locale/dash_pl.ts \
|
||||
qt/locale/dash_pt.ts \
|
||||
qt/locale/dash_ro.ts \
|
||||
qt/locale/dash_ru.ts \
|
||||
qt/locale/dash_sk.ts \
|
||||
qt/locale/dash_th.ts \
|
||||
qt/locale/dash_tr.ts \
|
||||
qt/locale/dash_vi.ts \
|
||||
qt/locale/dash_zh_CN.ts \
|
||||
qt/locale/dash_zh_TW.ts
|
||||
include Makefile.qt_locale.include
|
||||
|
||||
QT_FORMS_UI = \
|
||||
qt/forms/addressbookpage.ui \
|
||||
|
22
src/Makefile.qt_locale.include
Normal file
22
src/Makefile.qt_locale.include
Normal file
@ -0,0 +1,22 @@
|
||||
QT_TS = \
|
||||
qt/locale/dash_ar.ts \
|
||||
qt/locale/dash_bg.ts \
|
||||
qt/locale/dash_de.ts \
|
||||
qt/locale/dash_en.ts \
|
||||
qt/locale/dash_es.ts \
|
||||
qt/locale/dash_fi.ts \
|
||||
qt/locale/dash_fr.ts \
|
||||
qt/locale/dash_it.ts \
|
||||
qt/locale/dash_ja.ts \
|
||||
qt/locale/dash_ko.ts \
|
||||
qt/locale/dash_nl.ts \
|
||||
qt/locale/dash_pl.ts \
|
||||
qt/locale/dash_pt.ts \
|
||||
qt/locale/dash_ro.ts \
|
||||
qt/locale/dash_ru.ts \
|
||||
qt/locale/dash_sk.ts \
|
||||
qt/locale/dash_th.ts \
|
||||
qt/locale/dash_tr.ts \
|
||||
qt/locale/dash_vi.ts \
|
||||
qt/locale/dash_zh_CN.ts \
|
||||
qt/locale/dash_zh_TW.ts
|
Loading…
Reference in New Issue
Block a user