Drop legacy update-translation target
This commit is contained in:
parent
24eb401a0a
commit
f2ab8c8ea7
1 changed files with 0 additions and 10 deletions
10
Makefile
10
Makefile
|
@ -954,16 +954,6 @@ lockfile-check:
|
||||||
@git diff --exit-code --color=always package-lock.json \
|
@git diff --exit-code --color=always package-lock.json \
|
||||||
|| (code=$$?; echo "Please run 'npm install --package-lock-only' and commit the result"; exit $${code})
|
|| (code=$$?; echo "Please run 'npm install --package-lock-only' and commit the result"; exit $${code})
|
||||||
|
|
||||||
.PHONY: update-translations
|
|
||||||
update-translations:
|
|
||||||
mkdir -p ./translations
|
|
||||||
cd ./translations && curl -L https://crowdin.com/download/project/gitea.zip > gitea.zip && unzip gitea.zip
|
|
||||||
rm ./translations/gitea.zip
|
|
||||||
$(SED_INPLACE) -e 's/="/=/g' -e 's/"$$//g' ./translations/*.ini
|
|
||||||
$(SED_INPLACE) -e 's/\\"/"/g' ./translations/*.ini
|
|
||||||
mv ./translations/*.ini ./options/locale/
|
|
||||||
rmdir ./translations
|
|
||||||
|
|
||||||
.PHONY: generate-license
|
.PHONY: generate-license
|
||||||
generate-license:
|
generate-license:
|
||||||
$(GO) run build/generate-licenses.go
|
$(GO) run build/generate-licenses.go
|
||||||
|
|
Loading…
Reference in a new issue