mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
add shortcut to update translations to makefile
This commit is contained in:
parent
22e8b7cd84
commit
a333e2024b
1 changed files with 13 additions and 0 deletions
13
Makefile
13
Makefile
|
@ -106,3 +106,16 @@ add-buildhash:
|
|||
@ver=$$(cat meta/version); \
|
||||
hash=$$(cat meta/buildhash); \
|
||||
rename "s/-$${ver}-/-$${ver}+$${hash}-/" dist/*-$$ver-*
|
||||
|
||||
|
||||
.PHONY: pull-i18n
|
||||
pull-i18n:
|
||||
(cd rslib/ftl && scripts/fetch-latest-translations)
|
||||
(cd qt/ftl && scripts/fetch-latest-translations)
|
||||
(cd qt/i18n && ./pull-git)
|
||||
|
||||
.PHONY: push-i18n
|
||||
push-i18n: pull-i18n
|
||||
(cd rslib/ftl && scripts/upload-latest-templates)
|
||||
(cd qt/ftl && scripts/upload-latest-templates)
|
||||
(cd qt/i18n && ./sync-po-git)
|
||||
|
|
Loading…
Reference in a new issue