mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Use transifex to translations
This commit is contained in:
25
Makefile
25
Makefile
@@ -29,6 +29,31 @@ cert_dir=$(HOME)/.nextcloud/certificates
|
||||
all: build
|
||||
build: deps
|
||||
|
||||
# L10N Rules
|
||||
|
||||
l10n-update-pot:
|
||||
php translationtool.phar create-pot-files
|
||||
|
||||
l10n-transifex-pull:
|
||||
tx pull -s -a
|
||||
|
||||
l10n-transifex-push:
|
||||
tx push -s -t
|
||||
|
||||
l10n-transifex-apply:
|
||||
php translationtool.phar convert-po-files
|
||||
|
||||
l10n-clean:
|
||||
rm -rf translationfiles
|
||||
rm -f translationtool.phar
|
||||
|
||||
l10n-deps:
|
||||
@echo "Checking transifex client."
|
||||
tx --version
|
||||
@echo "Downloading translationtool.phar"
|
||||
wget https://github.com/nextcloud/docker-ci/raw/master/translations/translationtool/translationtool.phar -O translationtool.phar
|
||||
|
||||
|
||||
# general
|
||||
deps:
|
||||
mkdir -p vendor
|
||||
|
||||
Reference in New Issue
Block a user