diff --git a/doc/translation_process.md b/doc/translation_process.md index c5ac77d16f..cad2bc2447 100644 --- a/doc/translation_process.md +++ b/doc/translation_process.md @@ -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/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/` diff --git a/src/Makefile.qt.include b/src/Makefile.qt.include index cb0ab527a4..ad73c39ceb 100644 --- a/src/Makefile.qt.include +++ b/src/Makefile.qt.include @@ -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 \ diff --git a/src/Makefile.qt_locale.include b/src/Makefile.qt_locale.include new file mode 100644 index 0000000000..5373f7fa85 --- /dev/null +++ b/src/Makefile.qt_locale.include @@ -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