Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile « translations - github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7114824577c7471dd33271384eeb2fb0ff9773e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# Translation
#--------------------------------------
# pull all changes push none, intended for local testing
.PHONY: dry
dry:  l10n-remove-old l10n-read l10n-pull

# remove outdated translations
.PHONY: l10n-remove-old
l10n-remove-old:
	rm *.ts
	git checkout client_en.ts

# update the generated source translation
.PHONY: l10n-read
l10n-read:
	cd .. && lupdate src -no-obsolete -ts translations/client_en.ts

# push the changed from l10n-read
.PHONY: l10n-push
l10n-push:
	tx -d push -s --skip --no-interactive

# pull all translation from transifex
.PHONY: l10n-pull
l10n-pull:
	tx -d pull --force --skip --all --minimum-perc=75

# tx might apply changes to .tx/config, we don't want that
.PHONY: l10n-clean
l10n-clean:
	git checkout .tx/config